[En-Nut-Discussion] Stdlib.h Setenv.c unsetenv previous declaration error

Kirsty Mackenzie kirstymac3 at tiscali.co.uk
Mon May 16 12:58:50 CEST 2011


Good morning,

I am attempting to build Nut/OS version 4.8.9 with Yagarto 4.2.1 & 
tools 20100703 for the Elektor Internet Radio. using eir10c.conf and 
the EIR / Ethernut wiki. 



With all settings as per the how to, except for the debugger which I 
set to arm-samba, the make all command fails as follows:



"...

arm-elf-ar: creating libnutc.a

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

C:/yagarto-4.2.1/arm-elf/include/stdlib.h:177: error: previous 
declaration of 'unsetenv' was here

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

make: *** [all] Error 2"



Could someone point me in the right direction please?



Best regards



Gregor Mackenzie



More information about the En-Nut-Discussion mailing list