jens@fairtrade ~/devel/hr20/source $ LC_ALL=C make -------- begin -------- avr-gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0) 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. Compiling C: main.c avr-gcc -c -mmcu=atmega169 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=obj/main.lst -std=gnu99 -Wundef -MMD -MP -MF .dep/main.o.d main.c -o obj/main.o In file included from main.c:32: rtc.h:47: warning: parameter names (without types) in function declaration main.c:36: warning: type defaults to 'int' in declaration of 'reftemp' main.c:37: warning: type defaults to 'int' in declaration of 'reftemp_mem' main.c:52:2: warning: #warning "avr-libc >= version 1.6.0 recommended" main.c:53:2: warning: #warning "This code has not been tested with older versions." main.c: In function 'main': main.c:83: warning: implicit declaration of function 'setautomode' main.c:74: warning: unused variable 'ii' main.c: In function 'init': main.c:271: warning: unused variable 'i' main.c: At top level: main.c:376: warning: conflicting types for 'setautomode' main.c:83: warning: previous implicit declaration of 'setautomode' was here Compiling C: lcd.c avr-gcc -c -mmcu=atmega169 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=obj/lcd.lst -std=gnu99 -Wundef -MMD -MP -MF .dep/lcd.o.d lcd.c -o obj/lcd.o Compiling C: rtc.c avr-gcc -c -mmcu=atmega169 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=obj/rtc.lst -std=gnu99 -Wundef -MMD -MP -MF .dep/rtc.o.d rtc.c -o obj/rtc.o In file included from rtc.c:32: rtc.h:47: warning: parameter names (without types) in function declaration Linking: main.elf avr-gcc -mmcu=atmega169 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=obj/main.o -std=gnu99 -Wundef -MMD -MP -MF .dep/main.elf.d obj/main.o obj/lcd.o obj/rtc.o --output main.elf -Wl,-Map=main.map,--cref -lm /usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr5.x: No such file or directory make: *** [main.elf] Error 1