Re: bug report from Taiwan

Simon Josefsson via Bug reports for the GNU Internet utilities <[email protected]> Sat, 29 Jun 2024 21:05:08 +0200
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
"Hung Tseng(曾弘)" <[email protected]> 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 (application/pgp-signature, 255 B)
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZoBa5BQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFonL2AP9nS5bs/WV4uVzzQW0eUg+zMqhk0HXN
WQWFGUlpLYs9QwD/VDgXbQMH/xfD8uY9ZJeSK0YYFtrwbXckrAVgoavvuw4=
=OOsg
-----END PGP SIGNATURE-----