[En-Nut-Discussion] Complilation errors

William Basser wbasser at gmail.com
Mon Dec 6 14:22:23 CET 2010


I have just downloaded the latest Ethernut 4.9, and am attempting to build
it for Atmel Sam7X.  I used the standard config file.

Using WinARM-20060606, which is GCC 4.1.1 and Newlib 1.14.0

Compilation log is as follows:

08:19:43: Nut/OS Configurator Version 2.0.9

08:19:43: Linked to wxWidgets 2.8.9

08:19:43: Running on Windows XP (build 2600, Service Pack 3)

08:19:43: Working in C:\ethernut-4.9

08:19:52: Loading nut/conf/repository.nut

08:19:52: Loading C:/ethernut-4.9/nut/conf/at91sam7x-ek.conf

08:19:52: OK

08:20:06: Creating Makefiles for arm-gcc in nutbld-sam7x-gcc

08:20:06: Creating header files in nutbld-sam7x-gcc

08:20:07: OK

08:20:08: ----- Running 'make clean' -----

08:20:08: Located C:\ethernut-4.9\nut\tools\win32\make.exe

08:20:15: ----- 'make clean' terminated successfully -----

08:20:15: ----- Running 'make all' -----

08:20:15: Located C:\ethernut-4.9\nut\tools\win32\make.exe

arm-elf-ar: creating libnutarch.a

arm-elf-ar: creating libnutos.a

arm-elf-ar: creating libnutdev.a

arm-elf-ar: creating libnutc.a

../../nut/crt/setenv.c:168: error: conflicting types for 'unsetenv'

c:\winarm-20060606\bin\../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/include/stdlib.h:177:
error: previous declaration of 'unsetenv' was here

make[1]: *** [setenv.o] Error 1

make: *** [all] Error 2

08:20:39: ----- 'make all' failed with error 2 -----



Any ideas would be greatly appreciated.

Also, Has anyone ported Ethernut to the Rowley Cross Works environment?



More information about the En-Nut-Discussion mailing list