[En-Nut-Discussion] Unable to compile 'simple'

Harald Kipp harald.kipp at egnite.de
Thu Jan 26 18:32:08 CET 2006


Richard,

no big deal. This had been fixed in the CVS:
http://cvs.sourceforge.net/viewcvs.py/ethernut/nut/ChangeLog?view=markup
(See second entry of 2006-01-23)

While ICCAVR parses the list of libs several times, GCC does it once only.
Thus it may be required to add one or more libs more than once.

Here's the fixed Makefile
http://cvs.sourceforge.net/viewcvs.py/ethernut/nut/app/simple/Makefile?rev=1.6&view=auto

Harald

>C:/ethernut-4.1.3/nutbld/lib/libnutos.a(confos.o)(.text+0x1c): In function 
>`NutLoadConfig':
>: undefined reference to `NutNvMemLoad'
>C:/ethernut-4.1.3/nutbld/lib/libnutos.a(confos.o)(.text+0xd4): In function 
>`NutSaveConfig':
>: undefined reference to `NutNvMemSave'
>collect2: ld returned 1 exit status
>make: *** [simple.elf] Error 1




More information about the En-Nut-Discussion mailing list