[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Trouble compiling avr-gcc in Fedora Core 2...
From: |
Mike Murphree |
Subject: |
[avr-gcc-list] Trouble compiling avr-gcc in Fedora Core 2... |
Date: |
Sun, 29 Aug 2004 19:16:12 -0500 |
I have compiled the AVR toolset on my PowerBook just fine, but can't
seem to get a good build on Fedora Core 2 (i386). Binutils-2.15
compiled fine, but I get the following for gcc-3.4.1:
make[1]: Entering directory
`/home/w4lna/download/avrtools/gcc-3.4.1/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall
-Wtraditional -pedantic fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional
-pedantic fibheap.c -o fibheap.o
In file included from fibheap.c:35:
../include/fibheap.h:63: warning: bit-field `degree' type invalid in ISO
C
../include/fibheap.h:64: warning: bit-field `mark' type invalid in ISO C
fibheap.c: In function `fibheap_union':
fibheap.c:166: warning: implicit declaration of function `free'
fibheap.c:171: warning: function `free' was previously declared within a
block
fibheap.c:187: warning: function `free' was previously declared within a
block
fibheap.c: In function `fibheap_extract_min':
fibheap.c:206: warning: function `free' was previously declared within a
block
fibheap.c: In function `fibheap_delete_node':
fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function)
fibheap.c:285: error: (Each undeclared identifier is reported only once
fibheap.c:285: error: for each function it appears in.)
fibheap.c: In function `fibheap_delete':
fibheap.c:297: warning: function `free' was previously declared within a
block
fibheap.c: In function `fibheap_consolidate':
fibheap.c:395: warning: implicit declaration of function `memset'
make[1]: *** [fibheap.o] Error 1
make[1]: Leaving directory
`/home/w4lna/download/avrtools/gcc-3.4.1/libiberty'
make: *** [all-libiberty] Error 2
address@hidden gcc-3.4.1]$
This looks like a configure problem and it is missing limits.h,
but has anyone else found a solution yet?
Thanks,
Mike
- [avr-gcc-list] Trouble compiling avr-gcc in Fedora Core 2...,
Mike Murphree <=