[En-Nut-Discussion] make problem
krakora
Michal.Krakora at e4t.cz
Fri Oct 17 12:43:53 CEST 2003
Hi!
I'm trying to compile my first project "nutos.c" and my compiler (avr-gcc 3.3.1) gives me this error:
avr-gcc -g -Wall -O5 -mmcu=atmega128 -c -o nutos.o nutos.c
nutos.c: In function `NutAppMain':
nutos.c:40: warning: unused variable `i'
avr-gcc -g -Wall -O5 -mmcu=atmega128 -Wl,-Map,nutos.map -o nutos.elf nutos.o
c:\WinAVR\bin\..\lib\gcc-lib\avr\3.3.1\..\..\..\..\avr\lib\avr5\crtm128.o(.init9+0x0): undefined reference to `main'
make: *** [nutos.elf] Error 1
Can you help me?
I'm using WinAVR 20030913 tool set and Ethernut 3.3.0 under W2k.
Thank you for any answer.
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20031017/bd60501d/attachment-0001.html>
More information about the En-Nut-Discussion
mailing list