building latest ( snapshot || cvs )
ADAM Sulmicki
adam@cfar.umd.edu
Sat Feb 26 09:14:00 GMT 2000
Hello,
I had been trying to build GCC from latest snapshot (20000221)
as well as from today's (2/26/00) cvs tree. In each time
I get exacatly the same error. I have checked gcc* mailing list
but I did not come by any other report of this, so I'm kind of
perplexed as I immagine my system is pretty much standard
Redhat 6.1 on x86, so someone else should have come by this
by now.
system info:
Red Hat Linux release 6.1 (Cartman)
Linux pepsi 2.3.42 #240 SMP Tue Feb 1 18:57:15 EST 2000 i686 unknown
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
gcc sources : either egcs-20000221 or cvs-2/28/00
build:
mkdir egcs.obj ; cd egcs.obj
../egcs/configure --enable-threads=posix --prefix=/usr/local/gcc
make bootstrap MAKE="make -j 2" -j 2
the error:
gcc -c -DIN_GCC -g -W -Wall -Wtraditional -DHAVE_CONFIG_H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include ../../egcs/gcc/diagnostic.c
../../egcs/gcc/gcc.c: In function `execute':
../../egcs/gcc/gcc.c:2588: `prus' has an incomplete type
../../egcs/gcc/gcc.c:2589: `RUSAGE_CHILDREN' undeclared (first use in this function)
../../egcs/gcc/gcc.c:2589: (Each undeclared identifier is reported only once
../../egcs/gcc/gcc.c:2589: for each function it appears in.)
../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2590: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2591: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2594: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
../../egcs/gcc/gcc.c:2595: invalid use of undefined type `struct rusage'
gcc -DIN_GCC -g -W -Wall -Wtraditional -DHAVE_CONFIG_H -I. -I../../egcs/
gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include \
-DTARGET_NAME=\"i686-pc-linux-gnu\" \
-c `echo ../../egcs/gcc/toplev.c | sed 's,^\./,,'`
../../egcs/gcc/gcc.c: At top level:
../../egcs/gcc/gcc.c:190: storage size of `rus' isn't known
../../egcs/gcc/gcc.c:190: storage size of `prus' isn't known
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory
`/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory
`/usr/src/Development/Languages/gcc/cvs/egcs.obj/gcc'
make: *** [bootstrap] Error 2
any hints?
Adam
More information about the Gcc-help
mailing list