This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems compiling gcc-3.0
- To: gcc-help at gcc dot gnu dot org
- Subject: Problems compiling gcc-3.0
- From: Steve Maughan <steve dot maughan at bigfoot dot com>
- Date: Mon, 23 Jul 2001 22:05:14 +0100 (BST)
Hi, I'm having problems compiling gcc-3.0... I'm not using any special
configure flags or anything, just a standard build. It says:
../../gcc-3.0/gcc/gcc.c: In function `execute':
../../gcc-3.0/gcc/gcc.c:2714: `prus' has an incomplete type
../../gcc-3.0/gcc/gcc.c:2715: `RUSAGE_CHILDREN' undeclared (first use in
this function)
../../gcc-3.0/gcc/gcc.c:2715: (Each undeclared identifier is reported
only once
../../gcc-3.0/gcc/gcc.c:2715: for each function it appears in.)
../../gcc-3.0/gcc/gcc.c:2716: invalid use of undefined type `struct
rusage'
[snip]
../../gcc-3.0/gcc/gcc.c: At top level:
../../gcc-3.0/gcc/gcc.c:214: storage size of `rus' isn't known
../../gcc-3.0/gcc/gcc.c:214: storage size of `prus' isn't known
make[1]: *** [gcc.o] Error 1
make[1]: Leaving directory `/usr/src/Compiler/object/gcc'
make: *** [all-gcc] Error 2
and fails there.
Also, I get a lot of these warnings:
>In file included from /usr/include/string.h:346,
> from ../../gcc-3.0/gcc/system.h:101,
> from c-parse.y:36:
>/usr/include/bits/string2.h: In function `__stpcpy_small':
>/usr/include/bits/string2.h:611: warning: pointer targets in return
>differ in signedness
...although it still compiles past these warnings.
Does anyone know what the problem is? I'm trying to compile it with
gcc-2.95.3.
--
Steve Maughan
Don't run away from your problems...
Riding is much faster.