[En-Nut-Discussion] Problem with stdlib.h on Linux
Robert Mutke
robert.mutke at gmail.com
Fri Feb 4 15:09:15 CET 2005
Hello,
First time writing to you and I have a problem with building ethernut
on Linux. The problem is with an avr-libc file and I can't find a
solution for that.
This is the output of make for 'pro' module:
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=dhcpc.lst -D__HARVARD_ARCH__ -I../include dhcpc.c -o
dhcpc.o
In file included from dhcpc.c:157:
/usr/lib/gcc/avr/3.4.1/../../../../avr/include/stdlib.h:369: error:
parse error before numeric constant
the same happens for 'dev'.
I've got PLD Linux and I've installed:
crossavr-binutils-2.14.90.0.8-1
crossavr-gcc-3.4.1-2
crossavr-gcc-c++-3.4.1-2
crossavr-libc-1.0.5-1
Hope you can help!
Cheers,
Robert
More information about the En-Nut-Discussion
mailing list