[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh on Debian/PPC



Hi!

Since there is no ssh package on ftp.de.debian.org for PowerPC, I tried to
compile it myself. Compilation runs fine, but linking gives the attached
errors. Any idea how to fix? Is there some lib missing? libgmp2 and
libgmp2-dev are installed, as are the other libs that are named in the
commandline.

bye, Georg

Warning:  Not bothering to configure gmp because Debian links against the
          installed shared libraries
make CFLAGS="-O2 -g -Wall"
make[1]: Entering directory `/home/gb/ssh-1.2.26'
rm -f ssh
gcc -pipe  -o ssh ssh.o sshconnect.o log-client.o readconf.o hostfile.o
readpass.o tildexpand.o clientloop.o canohost.o  idea.o rsa.o randoms.o
md5.o buffer.o emulate.o packet.o compress.o xmalloc.o ttymodes.o
newchannels.o bufaux.o authfd.o authfile.o crc32.o rsaglue.o cipher.o
des.o match.o arcfour.o mpaux.o userfile.o signals.o blowfish.o
deattack.o  \
        -lgmp2 /usr/lib/libz.so -lwrap -lnsl -lcrypt -L/usr/local/lib  -lutil 
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_hamdist'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_sub_n'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_cmp'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_mul_n'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mp_bases'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_gcd_1'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_sqrtrem'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_lshift'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_mul'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_mod_1'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_divrem'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_set_str'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_divmod_1'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_gcd'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_add_n'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_scan0'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_rshift'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_random2'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_scan1'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_perfect_square_p'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_mul_1'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_bdivmod'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_get_str'
/usr/bin/../lib/libgmp2.so: undefined reference to `__mpn_popcount'
collect2: ld returned 1 exit status
make[1]: *** [ssh] Error 1
make[1]: Leaving directory `/home/gb/ssh-1.2.26'
make: *** [build] Error 2

-- 
http://www.westfalen.de/hugo/



Reply to: