This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Egcs-1.0.3a uses sys/cdefs.h, but doesn't have it.
- To: egcs at cygnus dot com
- Subject: Egcs-1.0.3a uses sys/cdefs.h, but doesn't have it.
- From: Pavel dot Roskin at ecsoft dot co dot uk
- Date: Mon, 20 Jul 1998 19:01:05 +0100
Hello!
I tried to compile egcs-1.0.3a on HP-UX 10.20. This machine has gcc-2.7.2.3
in /opt/gcc but without libg++. I also has a lot of libraries installed in
/home/proski/local. CONFIG_SITE = /home/proski/local/etc/config.site
defines prefix = /home/proski/local. Sources of egcs are placed into
/home/proski/local/src/egcs-1.0.3a. Directory
/home/proski/local/src/egcs-1.0.3a/libraries/libio/sys doesn't exist at
all. There was a file /home/proski/local/include/sys/cdefs.h as the error
happened, but then I removed it and reran configure and make. libio still
failed to compile with the same error message:
make[1]: Leaving directory
`/home/proski/local/src/egcs-1.0.3a/libraries/libiber
ty'
make[1]: Entering directory
`/home/proski/local/src/egcs-1.0.3a/libraries/libio'
test -z "" || \
/home/proski/local/src/egcs-1.0.3a/gcc/xgcc
-B/home/proski/local/src/egcs-1.0.
3a/gcc/ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++
builtinbuf.cc -o
pic/builtinbuf.o
/home/proski/local/src/egcs-1.0.3a/gcc/xgcc
-B/home/proski/local/src/egcs-1.0.3a
/gcc/ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++ builtinbuf.cc
In file included from streambuf.h:36,
from builtinbuf.h:32,
from builtinbuf.cc:29:
libio.h:59: sys/cdefs.h: No such file or directory
make[1]: *** [builtinbuf.o] Error 1
make[1]: Leaving directory
`/home/proski/local/src/egcs-1.0.3a/libraries/libio'
make: *** [all-target-libio] Error 2
Pavel Roskin
ECsoft
London, UK