I am trying to compile firmware for ArduCopter (Pixhawk).
I tried Ubuntu (http://ardupilot.org/dev/docs/building-px4-for-linux-with-make.html), as well as Mac (http://ardupilot.org/dev/docs/building-px4-with-make-on-mac.html)
I have tried as explained in: https://www.youtube.com/watch?v=X0VsL-MxeJ8
I have also tried almost everything I could find out there to get this to compile, however I keep getting the following error: -
%%%%
%%%% Building px4io-v2_default in /home/yisong/ardupilot/modules/PX4Firmware/Build/px4io-v2_default.build/
%%%%
% PX4_BASE = /home/yisong/ardupilot/modules/PX4Firmware/
% GIT_DESC =
% CONFIG = px4io-v2_default
make[2]: Entering directory `/home/yisong/ardupilot/modules/PX4Firmware/Build/px4io-v2_default.build'
/home/yisong/ardupilot/modules/PX4Firmware/makefiles//toolchain_gnu-arm-eabi.mk:57: *** Unsupported version of arm-none-eabi-gcc, found: 4.8.3 instead of one in: 4.7.4 4.7.5 4.7.6 4.8.4 4.9.3. Stop.
make[2]: Leaving directory `/home/yisong/ardupilot/modules/PX4Firmware/Build/px4io-v2_default.build'
make[1]: *** [/home/yisong/ardupilot/modules/PX4Firmware/Build/px4io-v2_default.build/firmware.px4] Error 2
make[1]: Leaving directory `/home/yisong/ardupilot/modules/PX4Firmware'
make: *** [px4-io-v2] Error 2
I'd indeed be very grateful if someone could help me out. Thank you very much.
Replies