I was given an Arduino Mega2560 as a birthday present and I haven't been able to use because it always gives an error when compiling code for this specific board. My UnoR3 works fine but as soon as I change the board to Mega2560 and try to compile even the blink example I get this error:
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:91:41: error: attempt to use poisoned "SIG_USART0_RECV"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:101:15: error: attempt to use poisoned "SIG_USART0_RECV"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:132:15: error: attempt to use poisoned "SIG_USART1_RECV"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:145:15: error: attempt to use poisoned "SIG_USART2_RECV"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:158:15: error: attempt to use poisoned "SIG_USART3_RECV"
I'm using a Fedora17 laptop. All updates. And the Arduino 1.0.1 IDE.
Googling the error it seems it happened before and was supposed to have been fixed but I still get it.
First time posting an error/bug. Please let me know if there is a better place for this