[En-Nut-Discussion] Error compiling Ethernut-4.2.1 on OSX

Henk Kampman henk.kampman at secondmove.com
Fri Jun 29 13:32:13 CEST 2007


Here is what I get after entering "make install"

Vigor14:~/Downloads/ethernut-4.2.1/lib henk$ make install

make -C ../arch install
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall - 
Werror -Wstrict-prototypes -Wa,-ahlms=context_gcc.lst - 
D__HARVARD_ARCH__ -DNUT_CPU_FREQ=14745600 -DETHERNUT2   -I../include   
avr/os/context_gcc.c -o avr/os/context_gcc.o
avr/os/context_gcc.c:94:20: error: string.h: No such file or directory
In file included from ../include/arch/avr.h:90,
                  from ../include/compiler.h:70,
                  from ../include/sys/types.h:158,
                  from ../include/sys/atom.h:99,
                  from avr/os/context_gcc.c:96:
../include/arch/avr/gcc.h:57:20: error: avr/io.h: No such file or  
directory
../include/arch/avr/gcc.h:58:27: error: avr/interrupt.h: No such file  
or directory
../include/arch/avr/gcc.h:60:24: error: avr/signal.h: No such file or  
directory
../include/arch/avr/gcc.h:62:24: error: avr/eeprom.h: No such file or  
directory
../include/arch/avr/gcc.h:63:26: error: avr/pgmspace.h: No such file  
or directory
..... etc


any ideas?

Henk



More information about the En-Nut-Discussion mailing list