Arduino: 1.8.1 (Windows XP), Board: "Arduino Duemilanove or Diecimila, ATmega328" C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Documents and Settings\Twisted\My Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -ide-version=10801 -build-path C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Program Files\Arduino\BotBoarduino_CH3R_PS2\BotBoarduino_CH3R_PS2.ino C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Documents and Settings\Twisted\My Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -ide-version=10801 -build-path C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Program Files\Arduino\BotBoarduino_CH3R_PS2\BotBoarduino_CH3R_PS2.ino Using board 'diecimila' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr Detecting libraries used... "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp" -o "nul" "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp" -o "nul" "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp" -o "nul" Using cached library dependencies for file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\PS2_controller.cpp Using cached library dependencies for file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\phoenix_driver_ssc32.cpp Using cached library dependencies for file: C:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib\PS2X_lib.cpp Using cached library dependencies for file: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp Generating function prototypes... "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp" -o "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\preproc\ctags_target_for_gcc_minus_e.cpp" Compiling sketch... "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp" -o "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp.o" Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\PS2_controller.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\phoenix_driver_ssc32.cpp.o Compiling libraries... Compiling library "PS2X_lib" Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\libraries\PS2X_lib\PS2X_lib.cpp.o Compiling library "SoftwareSerial" Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\libraries\SoftwareSerial\SoftwareSerial.cpp.o Compiling core... Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring_pulse.S.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\WInterrupts.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\hooks.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring_analog.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring_digital.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring_pulse.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\wiring_shift.c.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\CDC.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\HardwareSerial.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\HardwareSerial0.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\HardwareSerial1.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\HardwareSerial2.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\HardwareSerial3.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\IPAddress.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\PluggableUSB.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\Print.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\Stream.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\Tone.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\USBCore.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\WMath.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\WString.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\abi.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\main.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\new.cpp.o Using previously compiled file: C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\core\core.a Linking everything together... "C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804/BotBoarduino_CH3R_PS2.ino.elf" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\BotBoarduino_CH3R_PS2.ino.cpp.o" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\PS2_controller.cpp.o" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\sketch\phoenix_driver_ssc32.cpp.o" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\libraries\PS2X_lib\PS2X_lib.cpp.o" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804/core\core.a" "-LC:\DOCUME~1\Twisted\LOCALS~1\Temp\arduino_build_942804" -lm collect2.exe: error: ld returned 5 exit status Using library PS2X_lib in folder: C:\Documents and Settings\Twisted\My Documents\Arduino\libraries\PS2X_lib (legacy) Using library SoftwareSerial at version 1.0 in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial exit status 1 Error compiling for board Arduino Duemilanove or Diecimila.