make: Entering directory `c:/bootloader' -------- begin -------- avr-gcc (GCC) 4.2.2 (WinAVR 20071221) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linking: stk500boot.elf avr-gcc -mmcu=atmega168 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -mno-tablejump -Wall -Wstrict-prototypes -Wa,-adhlns=stk500boot.o -std=gnu99 -MD -MP -MF .dep/stk500boot.elf.d stk500boot.o --output stk500boot.elf -v -Wl,-Map=stk500boot.map,--cref -lm -Wl,--section-start=.text=3800 -nostartfiles -nodefaultlibs Using built-in specs. Target: avr Configured with: ../gcc-4.2.2/configure --enable-win32-registry=WinAVR-20071221 --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR --target=avr --enable-languages=c,c++,objc,ada --with-dwarf2 --disable-nls --enable-doc --disable-shared --disable-libada Thread model: single gcc version 4.2.2 (WinAVR 20071221) c:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/bin/ld.exe -m avr5 -Tdata 0x800100 -o stk500boot.elf -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/avr5 -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/avr5 -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/lib/avr5 -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/lib/avr5 -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2 -Lc:/winavr-20071221/bin/../lib/gcc -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2 -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/lib -Lc:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/lib stk500boot.o -Map=stk500boot.map --cref -lm --section-start=.text=3800 stk500boot.o: In function `eeprom_read_word': c:/winavr-20071221/bin/../avr/include/avr/eeprom.h:209: undefined reference to `__eeprom_read_word_1F2021' c:/winavr-20071221/bin/../avr/include/avr/eeprom.h:209: undefined reference to `__eeprom_read_word_1F2021' stk500boot.o: In function `eeprom_write_word': c:/winavr-20071221/bin/../avr/include/avr/eeprom.h:302: undefined reference to `__eeprom_write_word_1F2021' stk500boot.o: In function `eeprom_write_word': C:\Bootloader/stk500boot.c:334: undefined reference to `__eeprom_write_word_1F2021' make: *** [stk500boot.elf] Error 1 make: Leaving directory `c:/bootloader'