fail to build ssh

Amine SALHI amine.salhi at gmail.com
Fri Apr 27 00:37:39 EST 2007


hi everybody,
when trying to cross compile openssh-4.6 i got the following error :
---------------------
/opt/sparc-linux/bin/sparc-linux-ld -o ssh ssh.o readconf.o clientloop.o
sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/
-L/opt/sparc-linux/lib
-L/usr/src/SparcV8Linux/zlib-1.2.3-L/opt/sparc-linux/sparc-linux/sys-include/
-lssh -lopenbsd-compat -lresolv
-lcrypto -lutil -lz -lnsl  -ldl -lcrypt
/opt/sparc-linux/bin/sparc-linux-ld.real: AVERTISSEMENT: ne peut trouver le
symbole d'entrée _start; utilise par défaut 0000000000012200
readconf.o(.text+0x1014): In function `process_config_line':
/usr/src/SparcV8Linux/openssh-4.6p1/readconf.c:527: undefined reference to
`__muldi3'
readconf.o(.text+0x1028):/usr/src/SparcV8Linux/openssh-4.6p1/readconf.c:529:
undefined reference to `__divdi3'
./libssh.a(packet.o)(.text+0xab4): In function `set_newkeys':
/usr/src/SparcV8Linux/openssh-4.6p1/packet.c:670: undefined reference to
`__ashldi3'
/opt/sparc-linux/lib/libcrypto.a(bn_div.o)(.text+0x264): In function
`BN_div':
: undefined reference to `__udivdi3'
/opt/sparc-linux/lib/libcrypto.a(bn_word.o)(.text+0x264): In function
`BN_mod_word':
: undefined reference to `__umoddi3'
/opt/sparc-linux/lib/libcrypto.a(b_print.o)(.text+0x3c4): In function
`fmtint':
: undefined reference to `__umoddi3'
/opt/sparc-linux/lib/libcrypto.a(b_print.o)(.text+0x3fc): In function
`fmtint':
: undefined reference to `__udivdi3'
make: *** [ssh] Erreur 1
-------------------
i have cross-compiled OpenSSL and istalled it but it didn't resolv the
problem
any suggestion?
thx


More information about the openssh-unix-dev mailing list