Arduino: 1.8.1 (Windows XP), Board: "Arduino Duemilanove or Diecimila, ATmega328" sketch\PS2X_lib.cpp: In member function 'boolean PS2X::read_gamepad(boolean, byte)': sketch\PS2X_lib.cpp:92:53: warning: narrowing conversion of 'motor2' from 'byte {aka unsigned char}' to 'char' inside { } [-Wnarrowing] char dword[9] = {0x01,0x42,0,motor1,motor2,0,0,0,0}; ^ sketch\phoenix_driver_ssc32.cpp: In member function 'void ServoDriver::FindServoOffsets()': sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *apszLegs[] = {"RR","RM","RF", "LR", "LM", "LF"}; // Leg Order ^ sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:366:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:367:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *apszLJoints[] = {" Coxa", " Femur", " Tibia", " tArs"}; // which joint on the leg... ^ sketch\phoenix_driver_ssc32.cpp:367:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:367:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sketch\phoenix_driver_ssc32.cpp:367:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] C:\Program Files\Arduino\libraries\PS2X_lib\PS2X_lib.cpp: In member function 'boolean PS2X::read_gamepad(boolean, byte)': C:\Program Files\Arduino\libraries\PS2X_lib\PS2X_lib.cpp:92:53: warning: narrowing conversion of 'motor2' from 'byte {aka unsigned char}' to 'char' inside { } [-Wnarrowing] char dword[9] = {0x01,0x42,0,motor1,motor2,0,0,0,0}; ^ libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::NewButtonState()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::NewButtonState(unsigned int)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::ButtonPressed(unsigned int)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::ButtonReleased(unsigned int)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::Button(unsigned int)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::ButtonDataByte()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::Analog(unsigned char)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::readType()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::_gamepad_shiftinout(char)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::sendCommandString(unsigned char*, unsigned char)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::enableRumble()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::reconfig_gamepad()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::read_gamepad(bool, unsigned char)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::read_gamepad()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::enablePressures()' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::config_gamepad(unsigned char, unsigned char, unsigned char, unsigned char, bool, bool)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\PS2X_lib\PS2X_lib.cpp.o (symbol from plugin): In function `PS2X::NewButtonState()': (.text+0x0): multiple definition of `PS2X::config_gamepad(unsigned char, unsigned char, unsigned char, unsigned char)' sketch\PS2X_lib.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino Duemilanove or Diecimila. Invalid library found in C:\Documents and Settings\Twisted\My Documents\Arduino\libraries\Examples: C:\Documents and Settings\Twisted\My Documents\Arduino\libraries\Examples This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.