[En-Nut-Discussion] Undefined symbols at compile time

Berns J. Buenaobra bbuenaobra at nip.upd.edu.ph
Sat Dec 13 14:17:16 CET 2003


Hello Harald:

Although I followed the instructions on the compiler environment I keep
getting this error somehow (see below):


C:\iccavr\bin\imakew -f basemon.mak
    iccavr -o basemon -LC:\iccavr\lib -g -ucrtatmega.o
-bfunc_lit:0x8c.0x20000 -dram_end:0x10ff -bdata:0x100.0x10ff
-dhwstk_size:30 -beeprom:1.4096 -fihx_coff -ucrtnut.o
c:\iccavr\lib\nutinit.o -S2 @basemon.lk   -lstudio -lnutpro -lnutfs
-lnutnet -lnutos -lnutdev -lnutcrt -lcatmega
!E basemon.o(346): multiple define: '_NutInit'
!ERROR file 'basemon.o': undefined symbol '_GetIP'
!ERROR file 'basemon.o': undefined symbol '_Delay'
!ERROR file 'basemon.o': undefined symbol '_SmscDetect'
!ERROR file 'basemon.o': undefined symbol '_DetectSpeed'
!ERROR file 'basemon.o': undefined symbol '_RealtekSend'
!ERROR file 'basemon.o': undefined symbol '_RealtekLoop'
!ERROR file 'basemon.o': undefined symbol '_RealtekTest'
!ERROR file 'basemon.o': undefined symbol '_inbuff'
!ERROR file 'basemon.o': undefined symbol '_XMemBankTest'
!ERROR file 'basemon.o': undefined symbol '_GetChar'
!ERROR file 'basemon.o': undefined symbol '_WebDemo'
!ERROR file 'basemon.o': undefined symbol '_GetLine'
!ERROR file 'basemon.o': undefined symbol '_hex2bin'
!ERROR file 'basemon.o': undefined symbol '_LoopSRAM'
!ERROR file 'basemon.o': undefined symbol '_XMemTest'
!ERROR file 'basemon.o': undefined symbol '_SmscSend'
!ERROR file 'basemon.o': undefined symbol '_RealtekDetect'
!ERROR file 'basemon.o': undefined symbol '_SmscLoop'
!ERROR file 'basemon.o': undefined symbol '_SmscTest'
C:\iccavr\bin\imakew.exe: Error code 1
Done: there are error(s). Exit code: 1

What can be wrong?

Thanks,

Berns B.





More information about the En-Nut-Discussion mailing list