[En-Nut-Discussion] Compile errors under Debian Lenny AMD64
Matthias Barmeier
barmeier at barmeier.com
Tue Oct 28 16:04:36 CET 2008
Hi,
I tried hard, but I am not able to compile the Nut/OS.
I tried 4.6.4 where I get:
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Werror -Wstrict-prototypes -Wa,-ahlms=httpd_p.lst -D__HARVARD_ARCH__
-DNUT_CPU_FREQ=14745600 -DETHERNUT2 -I../include httpd_p.c -o httpd_p.o
make[1]: *** Keine Regel vorhanden, um das Target »httpdopt.o«,
benötigt von »libnutpro.a«, zu erstellen. Schluss.
make[1]: Leaving directory
`/home/barmeier/Desktop/myBuilds/ethernut-4.6.4/pro'
make: *** [all] Fehler 2
barmeier at kobayashi:~/Desktop/myBuilds/ethernut-4.6.4/lib$
After this I tried 4.5.3 and 4.4.1 but they give me:
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Werror -Wstrict-prototypes -Wa,-ahlms=wlandrv.lst -D__HARVARD_ARCH__
-DNUT_CPU_FREQ=14745600 -DETHERNUT2 -I../include avr/dev/wlandrv.c -o
avr/dev/wlandrv.o
cc1: warnings being treated as errors
avr/dev/wlandrv.c: In function ‘RxThread’:
avr/dev/wlandrv.c:1005: error: array subscript is above array bounds
make[1]: *** [avr/dev/wlandrv.o] Fehler 1
make[1]: Leaving directory
`/home/barmeier/Desktop/myBuilds/ethernut-4.5.3/arch'
make: *** [all] Fehler 2
Any help ??
Ciao
Matze
More information about the En-Nut-Discussion
mailing list