[En-Nut-Discussion] Cannot compile NutOs: context_gcc.c cannot be found

Manfred Kreidl manfred.kreidl at aon.at
Sat Nov 5 20:23:52 CET 2011


Hello,

I want to rebuild NutOS, but it was not possible. It seems that the source
file context_gcc.c cannot be found. But it is there. I have installed WINAVR
and Ethernut to the recommended default directories. I think the settings of
the Nut/OS Configurator are right. My desired platform is ethernut 2.0a. The
operating system I am working on is Windows 7 SP1.

 

Any idea what's going wrong? Here is the output of the Nut/OS Configurator:

 

20:05:29: Nut/OS Configurator Version 2.0.9

20:05:29: Linked to wxWidgets 2.8.9

20:05:29: Running on Windows NT 6.1 (build 7601, Service Pack 1)

20:05:29: Working in C:\ethernut-4.9

20:05:40: Loading nut/conf/repository.nut

20:05:40: Loading C:/ethernut-4.9/nut/conf/ethernut20a.conf

20:05:40: OK

20:06:58: Creating Makefiles for avr-gcc in nutbld

20:06:58: Creating header files in nutbld

20:06:58: OK

20:07:01: ----- Running 'make clean' -----

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

20:07:03: ----- 'make clean' terminated successfully -----

20:07:03: ----- Running 'make all' -----

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

process_begin: CreateProcess(NULL, avr-gcc -c -I../../nutbld/include
-I../../nut/include -DETHERNUT2 -D__HARVARD_ARCH__ -mmcu=atmega128 -Os
-ffunction-sections -fno-delete-null-pointer-checks -ffunction-sections
-Wall -Wstrict-prototypes -Werror -Wa,-a=avr/os/context_gcc.lst -o
avr/os/context_gcc.o ../../nut/arch/avr/os/context_gcc.c, ...) failed.

make (e=2): Das System kann die angegebene Datei nicht finden.

 

make[1]: *** [avr/os/context_gcc.o] Error 2

make: *** [all] Error 2

20:07:04: ----- 'make all' failed with error 2 -----

20:07:09: ----- Running 'make install' -----

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

process_begin: CreateProcess(NULL, avr-gcc -c -I../../nutbld/include
-I../../nut/include -DETHERNUT2 -D__HARVARD_ARCH__ -mmcu=atmega128 -Os
-ffunction-sections -fno-delete-null-pointer-checks -ffunction-sections
-Wall -Wstrict-prototypes -Werror -Wa,-a=avr/os/context_gcc.lst -o
avr/os/context_gcc.o ../../nut/arch/avr/os/context_gcc.c, ...) failed.

make (e=2): Das System kann die angegebene Datei nicht finden.

 

make[1]: *** [avr/os/context_gcc.o] Error 2

make: *** [install] Error 2

20:07:09: ----- 'make install' failed with error 2 -----




More information about the En-Nut-Discussion mailing list