[En-Nut-Discussion] Installing WinAVR 20070525

Alexander Baranov baranov at intech21.com
Fri Jun 13 20:04:22 CEST 2008

Hello All.
While replacing WinAVR2005 to WinAVR 20070525 and compiling my program I've got:

c:/ethernut-4.2.1/nutbld/lib\libnutarch.a(eeprom.o): In function `OnChipNvMemLoad':
eeprom.c:(.text+0x6): undefined reference to `eeprom_read_block'
c:/ethernut-4.2.1/nutbld/lib\libnutarch.a(eeprom.o): In function `OnChipNvMemSave':
eeprom.c:(.text+0x2c): undefined reference to `eeprom_read_byte'
eeprom.c:(.text+0x3a): undefined reference to `eeprom_write_byte'
make.exe: *** [pyotr_new.elf] Error 1

I'm almost sure that I saw this question in some posts. Could somebody remind the answer? I tried to reinsert "- lnutarch: to different places of LIBS string but it did not help.

Alexander Baranov

More information about the En-Nut-Discussion mailing list