[En-Nut-Discussion] Compiler problem

Julien CHAUSSEC Julien.Chaussec at ifremer.fr
Mon Aug 1 16:41:08 CEST 2005


Hi everybody,
When I want to compile a C file, i''ve got this response from the 
compiler( and I really don't know why):

 > "make.exe" all
avr-gcc douch_aff_ok.o -mmcu=atmega128 
-Wl,--defsym=main=0,-Map=douch_aff_ok.map,--cref 
-LC:/ethernut-3.9.7/nutbld/lib  C:/ethernut-3.9.7/nutbld/lib/nutinit.o 
-lnutdev -lnutnet -lnutpro -lnutnet -lnutfs -lnutos -lnutdev -lnutcrt 
-lnutos  -o douch_aff_ok.elf
C:/ethernut-3.9.7/nutbld/lib/nutinit.o(.text+0x12): In function `NutIdle':
: undefined reference to `NutAppMain'
C:/ethernut-3.9.7/nutbld/lib/nutinit.o(.text+0x14): In function `NutIdle':
: undefined reference to `NutAppMain'
make.exe: *** [douch_aff_ok.elf] Error 1

 > Process Exit Code: 2

Thanks a lot for your help.

Julien.Chaussec at ifremer.fr





More information about the En-Nut-Discussion mailing list