avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] problem compiling gcc 3.2 for avr target


From: Chris Baugher
Subject: [avr-gcc-list] problem compiling gcc 3.2 for avr target
Date: Sun, 1 Sep 2002 18:20:33 -0500 (CDT)

Hi,
I know this is kinda vague but I'm trying to compile gcc 3.2 for the avr,
but it stops with errors.  I already installed the latest binutils and
that went fine.  So for gcc I do:

./configure --target=avr --enable-languages=c
make

and it stops here:

/usr/include/bits/string2.h:611: warning: pointer targets in return differ
in signedness
./gcc.c: In function `execute':
./gcc.c:2844: `prus' has an incomplete type
./gcc.c:2845: `RUSAGE_CHILDREN' undeclared (first use in this function)
./gcc.c:2845: (Each undeclared identifier is reported only once
./gcc.c:2845: for each function it appears in.)
./gcc.c:2846: invalid use of undefined type `struct rusage'
./gcc.c:2846: invalid use of undefined type `struct rusage'
./gcc.c:2847: invalid use of undefined type `struct rusage'
./gcc.c:2847: invalid use of undefined type `struct rusage'
./gcc.c:2850: invalid use of undefined type `struct rusage'
./gcc.c:2850: invalid use of undefined type `struct rusage'
./gcc.c:2851: invalid use of undefined type `struct rusage'
./gcc.c:2851: invalid use of undefined type `struct rusage'
./gcc.c: At top level:
./gcc.c:268: storage size of `rus' isn't known
./gcc.c:268: storage size of `prus' isn't known
make[1]: *** [gcc.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.2/gcc'
make: *** [all-gcc] Error 2
fluke:/usr/local/src/gcc-3.2#


Oh, and I'm running linux 2.4.14.  Any ideas?

Thanks

Chris|

avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]