<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>I'm trying to compile my first project
"nutos.c" and my compiler (avr-gcc 3.3.1) gives me this error:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Arial CE" size=2>avr-gcc -g -Wall -O5
-mmcu=atmega128 -c -o nutos.o nutos.c<BR>nutos.c: In function
`NutAppMain':<BR>nutos.c:40: warning: unused variable `i'<BR>avr-gcc -g -Wall
-O5 -mmcu=atmega128 -Wl,-Map,nutos.map -o nutos.elf nutos.o
<BR>c:\WinAVR\bin\..\lib\gcc-lib\avr\3.3.1\..\..\..\..\avr\lib\avr5\crtm128.o(.init9+0x0):
undefined reference to `main'<BR>make: *** [nutos.elf] Error 1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Arial CE" size=2>Can you help me?</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm using WinAVR 20030913 tool set and Ethernut
3.3.0 under W2k.</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>Thank you for any answer.</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>Michal</FONT></DIV></BODY></HTML>