Subject: Re: Compile of ssh problem (linking PIC code ..)
To: Richard Michael <rmichael@oci.utoronto.ca>
From: None <static@mail.velenje.cx>
List: port-pmax
Date: 01/29/2000 21:01:50
Use the SSH port in the pkgsrc tree, it patches it so this doesn't happen.

Claudio

> 
> 	I'm having trouble compiling ssh 1.2.27, and get this error from ld:
> 
> 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
> -Lgmp-2.0.2-ssh-2 -lgmp -Lzlib-1.0.4 -lz -L/usr/local/lib -lwrap -lcrypt
> -L/usr/local/lib  -lutil 
> /usr/bin/ld: mpn_add_n.o: linking PIC files with non-PIC files
> Bad value: failed to merge target specific data of file
> gmp-2.0.2-ssh-2/libgmp.a(mpn_add_n.o)
> 
> --
> More messages like that, and eventually:
> 
> collect2: ld returned 1 exit status
> *** Error code 1
> --
> 
> Cheers,
> Richard
>