"Hung Tseng(曾弘)" <hung_ts...@clientron.com> writes: > Step 1 Build code : > > ./configure --prefix=$(pwd)/buildout --host=aarch64-none-linux-gnu > --disable-clients --disable-ipv6 --disable-ncurses > > make -j4 > > make install > > ps : aarch64-none-linux-gnu is our cross compiler > > > > Step 2: CP "inetutils-2.5/buildout/libexec/telnetd" to our target board > > > > Step 3: execute it on our target board > > root@Gemini:/usr/bin# ./telnetd --help > > ./telnetd: line 1: syntax error: unexpected "(" > > root@Gemini:/usr/bin#
Strange, looks like you somehow copied the libtool variant of telnetd. Can you confirm that telnetd is a binary for your architecture? With 'file telnetd' or similar? /Simon
signature.asc
Description: PGP signature