[En-Nut-Discussion] Error while building Nut/OS configuration

Faas, Hylke Hylke.Faas at echostar.com
Thu Jun 11 15:06:31 CEST 2009


Hi All,
 
we've got a Ethernut 3.0E to use in a embedded project, but we got some
startup problems.
I've been through all the manuals I can't build an OS.
When I do every thing exactly like in the flash movie (on nutwiki), I'll
get the following error:
 
../../nut/crt/setenv.c:195: error: conflicting types for 'unsetenv'
c:/program files/yagarto/lib/gcc/../../arm-elf/sys-include/stdlib.h:181:
error: previous declaration of 'unsetenv' was here
make[1]: *** [setenv.o] Error 1
 
The full output is shown at the end.
 
I work on a Windows XP Pro computer, but don't have administrater
privileges (I can't configure the Ethernet port by my self for example).

Does any one know if the configurtion tool needs administrater
privileges to run? 
For what purpose is the nutconfigure.exe, ms dos application that loads
a repository and a ethernut21b.conf and is finished after that?
Do I do something wrong or don't I have enough privileges? (or is it a
bug in ethernut 4.8.2?)
 
Kind regard,
Hylke Faas
 
 
Full error log:
 
10:02:48: Nut/OS Configurator Version 2.0.8
10:02:48: Linked to wxWidgets 2.8.9
10:02:48: Running on Windows XP (build 2600, Service Pack 2)
10:02:48: Working in C:\Program Files\ethernut-4.8.2
10:02:51: Loading nut/conf/repository.nut
10:02:51: Loading C:/Program
Files/ethernut-4.8.2/nut/conf/ethernut30e.conf
10:02:52: OK
10:03:08: Creating Makefiles for arm-gcc in ntbld
10:03:08: Creating header files in ntbld
10:03:09: OK
10:03:11: ----- Running 'make clean' -----
10:03:11: Located C:\Program
Files\ethernut-4.8.2\nut\tools\win32\make.exe
10:03:14: ----- 'make clean' terminated successfully -----
10:03:14: ----- Running 'make all' -----
10:03:14: Located C:\Program
Files\ethernut-4.8.2\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:195: error: conflicting types for 'unsetenv'
c:/program files/yagarto/lib/gcc/../../arm-elf/sys-include/stdlib.h:181:
error: previous declaration of 'unsetenv' was here
make[1]: *** [setenv.o] Error 1
make: *** [all] Error 2
10:03:45: ----- 'make all' failed with error 2 -----



More information about the En-Nut-Discussion mailing list