[uClibc]Compile Openshh with the uClibc error

BCBCHAT bcbchat at mail.taco-e.com.tw
Mon Sep 30 07:10:42 UTC 2002


I want to porting the openssh in my lessdisk linux(folppy-linux).

---------uClibc + Openssh ----------
my configure parameters=>
CC="i386-uclibc-gcc" LDFLAGS="--static" ./configure --with-zlib=/usr/inlude --with-ipv4-default
---------------------------------------
But i compile the openssh (using the i386-uclibc-gcc) ,i got error
messages:
------------------------------------------------------------------
sshconnect.o: In function `ssh_connect':
sshconnect.o(.text+0x667): undefined reference to `ntohs'
sshconnect.o: In function `check_host_key':
sshconnect.o(.text+0x1022): undefined reference to `ntohl'
sshconnect.o(.text+0x1087): undefined reference to `htonl'
./libssh.a(canohost.o): In function `get_remote_hostname':
canohost.o(.text+0xd3): undefined reference to `htonl'
./libssh.a(channels.o): In function `channel_decode_socks4':
channels.o(.text+0x19c3): undefined reference to `ntohs'
./libssh.a(packet.o): In function `packet_connection_is_ipv4':
packet.o(.text+0x443): undefined reference to `htonl'
openbsd-compat//libopenbsd-compat.a(rresvport.o): In function `rresvport_af':
rresvport.o(.text+0xeb): undefined reference to `htons'
rresvport.o(.text+0x1c2): undefined reference to `ntohs'
openbsd-compat//libopenbsd-compat.a(bindresvport.o): In function `bindresvport_sa':
bindresvport.o(.text+0x117): undefined reference to `ntohs'
bindresvport.o(.text+0x190): undefined reference to `htons'
/usr/local/ssl/lib/libcrypto.a(a_strnid.o): In function `ASN1_STRING_set_default_mask_asc':
a_strnid.o(.text+0x46): undefined reference to `__strtoul_internal'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
-----------------------------------------------------------------------
Have anyone can help me ?
Thanks in Advance.

-weber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20020930/f2b7bdab/attachment-0001.htm 


More information about the uClibc mailing list