[En-Nut-Discussion] ethernut-4.4.0.exe problem to compile.

Paulo Silva psilva at opensoftware-br.com
Fri Sep 28 15:51:01 CEST 2007


Hi all,

I am having problem to compile ethernut version 4.4, as I never had any problem to compile ethernut until version 4.4, I am going to explain it now.

I lunched Nut/os configurator, choose olimex-sam7-ex256 conf. file,I did settings configuration, and with no one alteration I try to build Nut/Os, and found the error below. I could follow the error and try to fix it, but I think this is not an error in the files,as no one has complain about this since this version was released, maybe this is an environmet mistake or something like this, so I ask to all, Has anybody an ideia what can doing that?

10:35:05: Nut/OS Configurator Version 1.4.3
10:35:05: Linked to wxWidgets 2.8.3
10:35:05: Running on Windows Server 2003 (build 3790)
10:35:05: Working in c:\MeusProgramas\ethernut-4.4.0
10:35:27: Loading nut/conf/repository.nut
10:35:27: Loading C:/MeusProgramas/ethernut-4.4.0/nut/conf/olimex-sam7-ex256.conf
10:35:27: OK
10:36:02: Creating Makefiles for arm-gcc in nutbld_arm
10:36:02: Creating header files in nutbld_arm
10:36:02: OK
10:36:03: ----- Running 'make clean' -----
10:36:03: Located C:\MeusProgramas\ethernut-4.4.0\nut\tools\win32\make.exe
10:36:05: ----- 'make clean' terminated successfully -----
10:36:05: ----- Running 'make all' -----
10:36:05: Located C:\MeusProgramas\ethernut-4.4.0\nut\tools\win32\make.exe
In file included from ../../nut/arch/arm/os/context.c:92:
../../nut/include/sys/thread.h:157: error: expected specifier-qualifier-list before 'uptr_t'
../../nut/include/sys/thread.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
../../nut/include/sys/thread.h:206: error: expected ')' before 'timer'
../../nut/include/sys/thread.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetThreadByName'
../../nut/arch/arm/os/context.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
../../nut/arch/arm/os/context.c: In function 'NutThreadSwitch':
../../nut/arch/arm/os/context.c:162: error: 'NUTTHREADINFO' has no member named 'td_sp'
../../nut/arch/arm/os/context.c:178: error: 'NUTTHREADINFO' has no member named 'td_sp'
../../nut/arch/arm/os/context.c:156: error: memory input 0 is not directly addressable
../../nut/arch/arm/os/context.c:170: error: memory input 0 is not directly addressable
../../nut/arch/arm/os/context.c: At top level:
../../nut/arch/arm/os/context.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NutThreadCreate'
make[1]: *** [arm/os/context.o] Error 1
make: *** [all] Error 2
10:36:07: ----- 'make all' failed with error 2 -----

Regards

Paulo







More information about the En-Nut-Discussion mailing list