This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
problem with the installation of gcc 3.0.1
- To: gcc-bugs at gcc dot gnu dot org
- Subject: problem with the installation of gcc 3.0.1
- From: Valerio Filippini <Valerio dot Filippini at pv dot infn dot it>
- Date: Fri, 24 Aug 2001 09:52:28 +0200 (MET DST)
Dear all,
I downloaded the version 3.0.1 and I followed the instructions for
installing the new compiler.
No problem with the 'configure' step.
The 'make bootstrap' step gives this error after a few minutes of work:
gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.0.1/gcc -I../../gcc-3.0.1/gcc/. -I../../gcc-3.0.1/gcc/config -I../../gcc-3.0.1/gcc/../i
nclude \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.0.1\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../
../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc-3.0.1/gcc/gcc.c)
../../gcc-3.0.1/gcc/gcc.c: In function `execute':
../../gcc-3.0.1/gcc/gcc.c:2714: `prus' has an incomplete type
../../gcc-3.0.1/gcc/gcc.c:2715: `RUSAGE_CHILDREN' undeclared (first use in this function)
../../gcc-3.0.1/gcc/gcc.c:2715: (Each undeclared identifier is reported only once
../../gcc-3.0.1/gcc/gcc.c:2715: for each function it appears in.)
../../gcc-3.0.1/gcc/gcc.c:2716: invalid use of undefined type `struct rusage' ../../gcc-3.0.1/gcc/gcc.c:2716: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc-3.0.1/gcc/gcc.c: At top level:
../../gcc-3.0.1/gcc/gcc.c:214: storage size of `rus' isn't known
../../gcc-3.0.1/gcc/gcc.c:214: storage size of `prus' isn't known
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory `/wrk/gcc3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/wrk/gcc3/gcc'
make: *** [bootstrap] Error 2
I had the same problem a few weeks ago with the version 3.0 of gcc.
This is the configuration of my computer:
lunix kernel (output of uname -a):
Linux chooyu.pv.infn.it 2.4.2 #8 SMP Fri Apr 20 12:33:20 CEST 2001 i686 unknown
gcc compiler (ouput of gcc -v):
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Last year I made an installation of gcc 2.95 with success, but we decided
to wait for gcc 3.0 before changing the compiler.
Thank you for any help.
valerio filippini
INFN Pavia
tel +39-0382507423
fax +39-0382423241