What steps will reproduce the problem?
1.git clone https://code.google.com/p/ardupilot-mega/
2.mkdir build/
3.cd build/ && cmake .. -DBOARD=mega -DPORT=/dev/ttyUSB0
Error:
make
[ 1%] Building CXX object
CMakeFiles/mega_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/Hardwa
reSerial.cpp.obj
/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"
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp: In
constructor 'HardwareSerial::HardwareSerial(ring_buffer*, ring_buffer*,
volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*,
volatile uint8_t*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:278:72:
warning: declaration of 'tx_buffer' shadows a global declaration [-Wshadow]
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:59:15:
warning: shadowed declaration is here [-Wshadow]
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:278:72:
warning: declaration of 'rx_buffer' shadows a global declaration [-Wshadow]
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:58:15:
warning: shadowed declaration is here [-Wshadow]
make[2]: ***
[CMakeFiles/mega_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/Hardw
areSerial.cpp.obj] Error 1
make[1]: *** [CMakeFiles/mega_CORE.dir/all] Error 2
make: *** [all] Error 2
Distro:Mandriva linux
Name : arduino
Version : 1.0
Original issue reported on code.google.com by nobodyd...@gmail.com on 27 Feb 2012 at 2:02
Original issue reported on code.google.com by
nobodyd...@gmail.com
on 27 Feb 2012 at 2:02