> "make.exe" all -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 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: data_packet.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=data_packet.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/data_packet.o.d data_packet.c -o data_packet.o globals.h:92: warning: 'packet_limiter' defined but not used globals.h:96: warning: 'debug_mode' defined but not used Compiling: encoder.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=encoder.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/encoder.o.d encoder.c -o encoder.o globals.h:92: warning: 'packet_limiter' defined but not used globals.h:96: warning: 'debug_mode' defined but not used Compiling: gyro.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=gyro.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/gyro.o.d gyro.c -o gyro.o globals.h:92: warning: 'packet_limiter' defined but not used Compiling: main.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/main.o.d main.c -o main.o Compiling: serial_coms.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=serial_coms.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/serial_coms.o.d serial_coms.c -o serial_coms.o globals.h:92: warning: 'packet_limiter' defined but not used globals.h:96: warning: 'debug_mode' defined but not used Compiling: timer.c avr-gcc -c -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=timer.lst -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/timer.o.d timer.c -o timer.o globals.h:92: warning: 'packet_limiter' defined but not used globals.h:96: warning: 'debug_mode' defined but not used Linking: main.elf avr-gcc -mmcu=atmega16 -I. -gdwarf-2 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=data_packet.o -IC:\avrcode\avrlib -std=gnu99 -MD -MP -MF .dep/main.elf.d data_packet.o encoder.o gyro.o main.o serial_coms.o timer.o --output main.elf -Wl,-Map=main.map,--cref -lm main.o: In function `main': c:\first\frips\avr/main.c:176: undefined reference to `gyro_calibrated' make.exe: *** [main.elf] Error 1 > Process Exit Code: 2 > Time Taken: 00:02