[En-Nut-Discussion] Nut/OS Compile Failure for AT91SAM7X256

Coleman Brumley cbrumley at polarsoft.biz
Wed Jun 20 19:00:22 CEST 2007


Hello.

I'm trying to compile Nut/OS on Windows XP SP2 and I'm receiving the
following errors:

10:36:22: Creating Makefiles for arm-gcc in C:/ethernut-4.2.1/nutbld
10:36:22: Creating header files in C:/ethernut-4.2.1/nutbld
10:36:22: OK
10:36:23: ----- Running 'make clean' -----
10:36:23: Located c:\ethernut-4.2.1\nut\tools\win32\make.exe
10:36:24: ----- 'make clean' terminated successfully -----
10:36:24: ----- Running 'make all' -----
10:36:24: Located c:\ethernut-4.2.1\nut\tools\win32\make.exe
C:/ethernut-4.2.1/nut/arch/arm/os/context.c:89:20: error: string.h: No such
file or directory
cc1.exe: warnings being treated as errors
C:/ethernut-4.2.1/nut/arch/arm/os/context.c: In function 'NutThreadCreate':
C:/ethernut-4.2.1/nut/arch/arm/os/context.c:271: warning: implicit
declaration of function 'memcpy'
C:/ethernut-4.2.1/nut/arch/arm/os/context.c:271: warning: incompatible
implicit declaration of built-in function 'memcpy'
make[1]: *** [arm/os/context.o] Error 1
make: *** [all] Error 2
10:36:25: ----- 'make all' failed with error 2 -----

I'm using the arm-elf-gcc compiler in YAGARTO and have my Tools Paths set as
follows:

c:\ethernut-4.2.1\nut\tools\win32;C:\SAM Studio 0.2\yagarto\bin;

I've followed the windows install directions at
http://www.ethernut.de/en/documents/wininstall.html

And, then I followed the AT91SAM7X-EK directions at
http://www.ethernut.de/en/documents/at91sam7x256.html

Do you have any idea what may be wrong?

- Coleman




More information about the En-Nut-Discussion mailing list