[En-Nut-Discussion] cant compile todays cvs nutos

Tim Lapawa lists at lapawa.net
Sat Feb 26 18:33:28 CET 2005


Hello together,
Iam not able to compile the current cvs version from nutOS.
my linux avr-gcc  version 3.4.3 spits out some error messages about the os/arch/avr_nutinit.c file.

make -C os
make[1]: Entering directory `/home/tim/AVR/ethernut.sf.net/nut/os'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes -Wa,-ahlms=nutinit.lst -D__HARVARD_ARCH__ -I../mod/include -I../include nutinit.c -o nutinit.o
In file included from nutinit.c:114:
arch/avr_nutinit.c:436: warning: return type defaults to `int'
arch/avr_nutinit.c:436: warning: conflicting types for 'NutInitSP'
arch/avr_nutinit.c:434: warning: previous declaration of 'NutInitSP' was here
make[1]: *** [nutinit.o] Fehler 1
make[1]: Leaving directory `/home/tim/AVR/ethernut.sf.net/nut/os'
make: *** [all] Fehler 2

Perhaps the avr-gcc -v  output helps, too:
 avr-gcc -v
Reading specs from /usr/local/lib/gcc/avr/3.4.3/specs
Configured with: ../configure --target=avr --enable-languages=c,c+ --disable-nls : (reconfigured) ../configure --target=avr --enable-languages=c,c++ --disable-nls
Thread model: single
gcc version 3.4.3


Is it a fault in the nutinit.c or am I missing something?

Greetings
  Tim



-- 
                \\\///   
  Tim Lapawa    (o  -)   tim at lapawa.net
-------------oo0-(_)-0oo----------------------
   ,ooo0                 Where do you want
  (     )         0ooo,     to go tomorrow?
---\   (---------(     )----------------------
    \ _ )         )   / 
                 ( _ / 



More information about the En-Nut-Discussion mailing list