Subject: linking PIC files with non-PIC files (ssh package)
To: None <port-pmax@netbsd.org>
From: Tracy J. Di Marco White <gendalia@iastate.edu>
List: port-pmax
Date: 04/26/1999 23:34:39
This is using 1.4_ALPHA, I'me installing 1.4_BETA in the morning, but
I expect nothng should change much.  Is there something I should set
for this to work?

cc -pipe -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -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 -L/usr/lib -lz  -L/usr/pkg/lib -lrsaref -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)
/usr/bin/ld: mpn_lshift.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_lshift.o)
/usr/bin/ld: mpn_mul_1.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_mul_1.o)
/usr/bin/ld: mpn_rshift.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_rshift.o)
/usr/bin/ld: mpn_sub_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_sub_n.o)
/usr/bin/ld: mpn_submul_1.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_submul_1.o)
/usr/bin/ld: mpn_addmul_1.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_addmul_1.o)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu