Subject: Re: 1.4 compilers / ssh
To: Bill Anderson <anderson@wks.uts.ohio-state.edu>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 06/15/1999 10:15:39
Bill Anderson wrote:

> I'm trying to compile ssh (1.2.26 and/or 1.2.27) in NetBSD-1.4, but i keep
> getting the following errors:
> 
> 
> /usr/bin/ld: mpn_XXXX.o: linking PIC files with non-PIC files
> Bad value: failed to merge target data of file gmp-2.0.2-ssh-2/libgmp.a
> (mnp_XXXX.o)
> ...
> collect2: ld returned 1 exit status
> *** Error code 1

You're building from the distribution and not the ssh package?  Look
at patches "patch-am" and "patch-ap" in the NetBSD ssh package (on
ftp.NetBSD.ORG in pub/NetBSD/packages/pkgsrc/security/ssh/patches).

Simon.