Subject: Re: Building netbsd-3 on Current fails
To: Mark Weinem <mark.weinem@onlinehome.de>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 07/24/2006 13:08:40
--eheScQNz3K90DVRs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 20, 2006 at 12:33:29AM +0200, Mark Weinem wrote:
>=20
> Hi,
>=20
> I need some help howto build netbsd-3 on current.
>=20
> This is on i386/NetBSD 3.99.21 from 07.10.
> CVS checkout of netbsd-3 is from 07.18.
>=20
> Here is the error message:
>=20
> *** Failed target:  app.o
> *** Failed command: cc -DHAVE_CONFIG_H -I.
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas -I. -D_GNU_SOURCE
> -I. -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas -I../bfd
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas/config
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas/../include
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas/..
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas/../bfd
> -I/usr/src/tools/binutils/../../gnu/dist/binutils/gas/../intl -I../intl
> -DLOCALEDIR=3D"\"/usr/src/../tools/share/locale\"" -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes -O -c
> /usr/src/tools/binutils/../../gnu/dist/binutils/gas/app.c
> *** Error code 1

Unfortunately the important part was just above the text you posted, where=
=20
the compiler said what was wrong. Everything else is just a sequence of=20
Makefiles complaining about what was wrong.

Off the top of my head, I expect the problem is that you're using gcc4=20
which dislikes the old gas source. I ran into this, but I've forgotten how=
=20
I hacked around it.

Take care,

Bill

--eheScQNz3K90DVRs
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFExSjIWz+3JHUci9cRAro/AJ9ArhuYr2MIQ5Nm+pNJmWDUF57RVQCfQm88
9M0IxZx8JOz6po0RCnAhJMM=
=1A5M
-----END PGP SIGNATURE-----

--eheScQNz3K90DVRs--