fail to build ssh

Darren Tucker dtucker at zip.com.au
Sun Apr 29 11:53:30 EST 2007


Amine SALHI wrote:
> 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
[...]
> /usr/src/SparcV8Linux/openssh-4.6p1/readconf.c:527: undefined reference to
> `__muldi3'

These are gcc internal functions that are in libgcc, and the linker
doesn't know to look there.  Try using gcc to do the linking instead (eg
LD=sparc-linux-gcc or similar) instead.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list