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

John Paul Arul johnpaul at inventionlabs.in
Mon May 16 13:17:22 CEST 2011


download yagarto 4.5.2 and install it.. will wil not get the error....

On Mon, May 16, 2011 at 4:28 PM, Kirsty Mackenzie
<kirstymac3 at tiscali.co.uk>wrote:

> 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
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



-- 
Regards,
J. John Paul Arul,



More information about the En-Nut-Discussion mailing list