[En-Nut-Discussion] at91eb40a build fails

Harald Kipp harald.kipp at egnite.de
Thu Sep 12 14:17:45 CEST 2013

Even more. Building applications for at91eb40a-arm-gcc-bld.conf fails with

arm-none-eabi-gcc -c -I../../at91eb40a-arm-gcc-bld/include
-I../.././nut/include  -DAT91EB40A  -MD -MP -mcpu=arm7tdmi
-mthumb-interwork -Os -Wall -Wstrict-prototypes -Werror
-Wa,-a=nutinit.lst  -o nutinit.o ../.././nut/os/nutinit.c
In file included from ../.././nut/os/../arch/arm/os/nutinit.c:45:0,
                 from ../.././nut/os/nutinit.c:76:
../.././nut/include/dev/board.h:258:0: error: "BOARDNAME" redefined
../.././nut/include/dev/board.h:256:0: note: this is the location of the
previous definition
cc1.exe: all warnings being treated as errors
make[1]: *** [nutinit.o] Error 1
make[1]: Leaving directory
make: *** [all] Error 2

I think I'd be able to fix this, but I'm current busy on another problem
with avrlib's prog_char change. So, if your time allows, may be you can
have a look.



More information about the En-Nut-Discussion mailing list