Subject: Re: needing gcc lib (when building openssh)
To: Jan Schaumann <jschauma@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/23/2003 12:47:25
On Tue, 23 Sep 2003, Jan Schaumann wrote:

> > ld -o scp scp.o progressmeter.o -L. -Lopenbsd-compat/ -L/usr/lib -L/usr/lib  -L/usr/lib -Wl,-R/usr/lib -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto -lcrypt
> > /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08049218
> > scp.o(.text+0x15ac): In function `bwlimit':

> If you bring back the line
>
> LD="${CC}" in the Makefile, it will compile fine.

Thank you. It built now.

Can you add it back? (Or why was it removed?)

By the way, I have been seeing the following a lot:

  cc: unrecognized option '-R/usr/lib'

Does that matter?

   Jeremy C. Reed
   http://www.reedmedia.net/