Subject: Compilation fails in cgraphunit.c
To: None <current-users@netbsd.org>
From: Michael Smith <smithm@netapps.com.au>
List: current-users
Date: 10/31/2006 21:09:34
--Sig_.Ppj9_b7Iwy7+REo2AWpjZj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

#   compile  backend/cgraphunit.o
/home/src/obj/tooldir.NetBSD-4.99.3-i386/bin/i386--netbsdelf-gcc -O2
-Werror    -I. -I/home/src/gnu/usr.bin/gcc4/backend/../arch/i386
-DIN_GCC -DHAVE_CONFIG_H -I/home/src/gnu/dist/gcc4/gcc
-I/home/src/gnu/dist/gcc4/gcc/.
-I/home/src/gnu/dist/gcc4/gcc/../include
-I/home/src/gnu/dist/gcc4/gcc/../libcpp/include
-DTARGET_NAME=3D\"i386--netbsdelf\" -DLOCALEDIR=3D\"/usr/share/locale\"
-DNETBSD_NATIVE -DENABLE_SHARED_LIBGCC   -nostdinc
-isystem /home/src/obj/destdir.i386/usr/include
-c    /home/src/gnu/dist/gcc4/gcc/cgraphunit.c -o
cgraphunit.o=20

/home/src/gnu/dist/gcc4/gcc/cgraphunit.c:1546:27: error:
gt-cgraphunit.h: No such file or directory

$ cvs annotate -r1.1.1.2 gnu/dist/gcc4/gcc/cgraphunit.c
1.1.1.2      (mrg      21-Oct-06): #include "gt-cgraphunit.h"

So presumably there needs to be:

-I ./tools/gcc/obj/build/gcc

...in there somewhere.

I have updated from cvs a couple of times on the assumption that somebody w=
ill see the problem and fix it. If it has been raised on current-users in t=
he last couple of days I apologise. I have only subscribed in the last few =
minutes.
--=20
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting          | Internet Services

--Sig_.Ppj9_b7Iwy7+REo2AWpjZj
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFRyDjMwOm8xWiKf4RAtXqAJ0WWPe/5ZYCos0KdPkbFFQIIoZQbACfbaaL
6R3DOVs2spNEdkcfLMAKXKs=
=FQuj
-----END PGP SIGNATURE-----

--Sig_.Ppj9_b7Iwy7+REo2AWpjZj--