Makefile:132: warning: overriding recipe for target 'serial' Makefile:115: warning: ignoring old recipe for target 'serial' mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/realloc /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/realloc.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/realloc.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/malloc /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/malloc.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/avr-libc/malloc.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_digital /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_digital.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_digital.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_analog /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_analog.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_analog.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_shift /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_shift.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_shift.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_pulse /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_pulse.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/wiring_pulse.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WInterrupts /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-gcc -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WInterrupts.c -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WInterrupts.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/new /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/new.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/new.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WString /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WString.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WString.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Stream /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.o /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.cpp: In member function ‘bool Stream::find(char*)’: /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.cpp:78: warning: deprecated conversion from string constant to ‘char*’ mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Print /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Print.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/Print.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.o /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp: In function ‘void store_char(unsigned char, ring_buffer*)’: /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:98: warning: comparison between signed and unsigned integer expressions /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp: In function ‘void __vector_18()’: /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:127: warning: unused variable ‘c’ /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp: In member function ‘void HardwareSerial::begin(long unsigned int, byte)’: /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:368: warning: unused variable ‘current_config’ /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp: In member function ‘virtual size_t HardwareSerial::write(uint8_t)’: /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:467: warning: comparison between signed and unsigned integer expressions mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WMath /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WMath.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/WMath.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/main /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/main.cpp -o obj/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino/main.o mkdir -p obj/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM/EEPROM /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c /home/marius/Downloads/arduino-1.0.6/libraries/EEPROM/EEPROM.cpp -o obj/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM/EEPROM.o cp motor.ino obj/motor.ino.cpp /home/marius/Downloads/arduino-1.0.6/hardware/tools/avr/bin/avr-g++ -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/cores/arduino -I/home/marius/Downloads/arduino-1.0.6/hardware/arduino/variants/standard -I/home/marius/Downloads/arduino-1.0.6/libraries/EEPROM -c obj/motor.ino.cpp -o obj/motor.o -I. In file included from obj/motor.ino.cpp:117: ./crc.h:12: warning: only initialized variables can be placed into program memory area obj/motor.ino.cpp: In function ‘void eeprom_update_16(int, uint16_t)’: obj/motor.ino.cpp:259: error: ‘eeprom_update_word’ was not declared in this scope obj/motor.ino.cpp: In function ‘void position(uint16_t)’: obj/motor.ino.cpp:512: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:513: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:515: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:516: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:518: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:519: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:564: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:565: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:568: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:569: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:571: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:572: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp: In function ‘void detach()’: obj/motor.ino.cpp:662: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:663: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:668: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:669: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:670: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:671: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp: In function ‘void engage()’: obj/motor.ino.cpp:737: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:738: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:739: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:740: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp: In function ‘void __vector_13()’: obj/motor.ino.cpp:1016: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:1018: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:1024: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:1026: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:1032: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:1034: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:1037: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:1040: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:1042: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:1044: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:1047: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:1050: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp: In function ‘void __vector_11()’: obj/motor.ino.cpp:1063: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp:1064: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:1066: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:1067: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp: In function ‘void __vector_12()’: obj/motor.ino.cpp:1074: error: ‘PD3’ was not declared in this scope obj/motor.ino.cpp:1075: error: ‘PB1’ was not declared in this scope obj/motor.ino.cpp:1077: error: ‘PB2’ was not declared in this scope obj/motor.ino.cpp:1078: error: ‘PD2’ was not declared in this scope obj/motor.ino.cpp: In function ‘void loop()’: obj/motor.ino.cpp:1250: error: ‘PD0’ was not declared in this scope obj/motor.ino.cpp:1315: warning: comparison between signed and unsigned integer expressions obj/motor.ino.cpp:1326: warning: comparison between signed and unsigned integer expressions obj/motor.ino.cpp:1350: warning: comparison between signed and unsigned integer expressions obj/motor.ino.cpp:1351: warning: comparison between signed and unsigned integer expressions obj/motor.ino.cpp:1371: warning: comparison between signed and unsigned integer expressions make: *** [Makefile:66: obj/motor.o] Error 1