Subject: Re: needing gcc lib (when building openssh)
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-pkg
Date: 09/23/2003 15:28:23
--v9Ux+11Zm5mwPlX6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

"Jeremy C. Reed" <reed@reedmedia.net> wrote:
> When building pkgsrc/security/openssh under Linux using gcc3-c-3.3.1, I
> received:
>=20
> =3D=3D=3D> Checking for vulnerabilities in openssh-3.7.1.1

I just updated openssh to 3.7.1.2, FYI.

> =3D=3D=3D> Building for openssh-3.7.1.1
> (cd openbsd-compat && bmake)
> ld -o scp scp.o progressmeter.o -L. -Lopenbsd-compat/ -L/usr/lib -L/usr/l=
ib  -L/usr/lib -Wl,-R/usr/lib -lssh -lopenbsd-compat -lutil -lz -lnsl -lcry=
pto -lcrypt
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0804=
9218
> scp.o(.text+0x15ac): In function `bwlimit':

Blame Grant! :)

If you bring back the line

LD=3D"${CC}" in the Makefile, it will compile fine.

-Jan

--=20
http://www.netbsd.org -
         Multiarchitecture OS, no hype required.

--v9Ux+11Zm5mwPlX6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE/cJ7XfFtkr68iakwRAtQdAJ48PZ7po6STUoCc4FUsw+PbYK7KXwCgjghg
VlEAdZqnAqnKjGiXxY1oFqI=
=QKxD
-----END PGP SIGNATURE-----

--v9Ux+11Zm5mwPlX6--