Skip to content

Instantly share code, notes, and snippets.

@vmayoral
Created March 28, 2014 11:13
Show Gist options
  • Save vmayoral/9830397 to your computer and use it in GitHub Desktop.
Save vmayoral/9830397 to your computer and use it in GitHub Desktop.
ArduCopter Linux HAL compilation in Mac OS
make linux
HAL_BOARD=HAL_BOARD_LINUX TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="ac364c93"
building /var/folders/qq/dy7sx4q919q_t9v9my7pxjm40000gn/T/ArduCopter.build/ArduCopter.cpp
%% ArduCopter.cpp
%% ArduCopter.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/ArduCopter.pde:83:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
autogenerated:15: warning: 'void update_optical_flow()' declared 'static' but never defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/GCS_Mavlink.pde:281: warning: 'void send_simstate(mavlink_channel_t)' defined but not used
autogenerated:57: warning: 'void send_servo_out(mavlink_channel_t)' declared 'static' but never defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/Log.pde:248: warning: 'void Log_Write_Optflow()' defined but not used
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/Log.pde:524: warning: 'void Log_Write_Data(uint8_t, int16_t)' defined but not used
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/Log.pde:581: warning: 'void Log_Write_Data(uint8_t, uint32_t)' defined but not used
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/Log.pde:600: warning: 'void Log_Write_Data(uint8_t, float)' defined but not used
autogenerated:98: warning: 'void Log_Write_IMU()' declared 'static' but never defined
autogenerated:99: warning: 'void Log_Write_GPS()' declared 'static' but never defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/compat.pde:8: warning: 'void mavlink_delay(uint32_t)' defined but not used
autogenerated:245: warning: 'void heli_init()' declared 'static' but never defined
autogenerated:246: warning: 'int16_t get_pilot_desired_collective(int16_t)' declared 'static' but never defined
autogenerated:247: warning: 'void check_dynamic_flight()' declared 'static' but never defined
autogenerated:248: warning: 'void heli_update_landing_swash()' declared 'static' but never defined
autogenerated:249: warning: 'void heli_update_rotor_speed_targets()' declared 'static' but never defined
autogenerated:250: warning: 'bool heli_acro_init(bool)' declared 'static' but never defined
autogenerated:251: warning: 'void heli_acro_run()' declared 'static' but never defined
autogenerated:252: warning: 'bool heli_stabilize_init(bool)' declared 'static' but never defined
autogenerated:253: warning: 'void heli_stabilize_run()' declared 'static' but never defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/motors.pde:548: warning: 'void servo_write(uint8_t, uint16_t)' defined but not used
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/ArduCopter/navigation.pde:65: warning: 'void reset_nav_params()' defined but not used
%% libraries/AC_AttitudeControl/AC_AttitudeControl.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_AttitudeControl.h:9,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_AttitudeControl.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_AttitudeControl.h:9,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.h:9,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_AttitudeControl/AC_PosControl.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_PosControl.h:5,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_AttitudeControl/AC_PosControl.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_Fence/AC_Fence.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_Fence/AC_Fence.h:6,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_Fence/AC_Fence.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_PID/AC_P.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_PID/AC_P.cpp:6:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_PID/AC_PID.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_PID/AC_PID.cpp:6:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_Sprayer/AC_Sprayer.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_Sprayer/AC_Sprayer.h:24,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_Sprayer/AC_Sprayer.cpp:4:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_WPNav/AC_Circle.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_WPNav/AC_Circle.h:5,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_WPNav/AC_Circle.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AC_WPNav/AC_WPNav.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_WPNav/AC_WPNav.h:5,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AC_WPNav/AC_WPNav.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_ADC/AP_ADC.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC.h:4,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC.cpp:21:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_ADC/AP_ADC_ADS7844.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC_ADS7844.cpp:58:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_ADC/AP_ADC_HIL.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC.h:4,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC_HIL.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC_HIL.cpp:2:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC/AP_ADC.h:4,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h:5,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.cpp:2:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_AHRS/AP_AHRS.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS.cpp:17:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_AHRS/AP_AHRS_DCM.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS_DCM.cpp:24:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_AHRS/AP_AHRS_NavEKF.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_AHRS/AP_AHRS_NavEKF.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Airspeed/AP_Airspeed.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Airspeed/AP_Airspeed.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Airspeed/AP_Airspeed_I2C.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Airspeed/AP_Airspeed_I2C.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Airspeed/AP_Airspeed_PX4.o
%% libraries/AP_Airspeed/AP_Airspeed_analog.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Airspeed/AP_Airspeed_analog.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Airspeed/Airspeed_Calibration.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Airspeed/Airspeed_Calibration.cpp:10:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Baro/AP_Baro.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Baro/AP_Baro_BMP085.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro_BMP085.cpp:48:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Baro/AP_Baro_HIL.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/Filter/LowPassFilter.h:26,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/Filter/Filter.h:11,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro.h:7,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro_HIL.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Baro/AP_Baro_MS5611.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/Filter/LowPassFilter.h:26,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/Filter/Filter.h:11,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro.h:7,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro_MS5611.h:7,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Baro/AP_Baro_MS5611.cpp:46:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Baro/AP_Baro_PX4.o
%% libraries/AP_BattMonitor/AP_BattMonitor.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_BattMonitor/AP_BattMonitor.h:6,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_BattMonitor/AP_BattMonitor.cpp:2:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_BoardConfig/AP_BoardConfig.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_BoardConfig/AP_BoardConfig.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Camera/AP_Camera.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Camera/AP_Camera.h:10,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Camera/AP_Camera.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Common/c++.o
%% libraries/AP_Compass/AP_Compass_HIL.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/Compass.h:6,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/AP_Compass_HIL.h:5,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/AP_Compass_HIL.cpp:25:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Compass/AP_Compass_HMC5843.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/AP_Compass_HMC5843.cpp:27:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Compass/AP_Compass_PX4.o
%% libraries/AP_Compass/Compass.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/Compass.h:6,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/Compass.cpp:3:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Compass/Compass_learn.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/Compass.h:6,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Compass/Compass_learn.cpp:2:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Curve/AP_Curve.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Curve/AP_Curve.h:9,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Curve/AP_Curve.cpp:2:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_Declination/AP_Declination.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Declination/AP_Declination.cpp:27:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_EPM/AP_EPM.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_EPM/AP_EPM.h:17,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_EPM/AP_EPM.cpp:11:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_406.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_SIRF.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_406.h:27,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_406.cpp:24:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_Auto.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_Auto.cpp:7:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_Glitch.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_Glitch.cpp:5:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_HIL.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/GPS.h:12,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_HIL.h:26,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_HIL.cpp:25:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_MTK.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/GPS.h:12,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_MTK.h:28,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_MTK.cpp:28:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_MTK19.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/GPS.h:12,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_MTK19.h:26,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_MTK19.cpp:27:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_NMEA.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_NMEA.cpp:32:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_SIRF.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_SIRF.h:25,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_SIRF.cpp:22:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/AP_GPS_UBLOX.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/DataFlash/DataFlash.h:9,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/AP_GPS_UBLOX.cpp:24:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_GPS/GPS.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_GPS/GPS.cpp:5:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_HAL/UARTDriver.o
%% libraries/AP_HAL/Util.o
%% libraries/AP_HAL_AVR/AnalogIn_ADC.o
%% libraries/AP_HAL_AVR/AnalogIn_Common.o
%% libraries/AP_HAL_AVR/GPIO.o
%% libraries/AP_HAL_AVR/HAL_AVR_APM1_Class.o
%% libraries/AP_HAL_AVR/HAL_AVR_APM2_Class.o
%% libraries/AP_HAL_AVR/I2CDriver.o
%% libraries/AP_HAL_AVR/RCInput_APM1.o
%% libraries/AP_HAL_AVR/RCInput_APM2.o
%% libraries/AP_HAL_AVR/RCOutput_APM1.o
%% libraries/AP_HAL_AVR/RCOutput_APM2.o
%% libraries/AP_HAL_AVR/SPIDeviceManager_APM1.o
%% libraries/AP_HAL_AVR/SPIDeviceManager_APM2.o
%% libraries/AP_HAL_AVR/SPIDevice_SPI0.o
%% libraries/AP_HAL_AVR/SPIDevice_SPI2.o
%% libraries/AP_HAL_AVR/SPIDevice_SPI3.o
%% libraries/AP_HAL_AVR/Scheduler.o
%% libraries/AP_HAL_AVR/Scheduler_Timer.o
%% libraries/AP_HAL_AVR/Semaphores.o
%% libraries/AP_HAL_AVR/Storage.o
%% libraries/AP_HAL_AVR/UARTDriver.o
%% libraries/AP_HAL_AVR/memcheck.o
%% libraries/AP_HAL_AVR_SITL/AnalogIn.o
%% libraries/AP_HAL_AVR_SITL/HAL_AVR_SITL_Class.o
%% libraries/AP_HAL_AVR_SITL/RCInput.o
%% libraries/AP_HAL_AVR_SITL/RCOutput.o
%% libraries/AP_HAL_AVR_SITL/SITL_State.o
%% libraries/AP_HAL_AVR_SITL/Scheduler.o
%% libraries/AP_HAL_AVR_SITL/Storage.o
%% libraries/AP_HAL_AVR_SITL/UARTDriver.o
%% libraries/AP_HAL_AVR_SITL/sitl_barometer.o
In file included from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Math/AP_Math.h:8,
from /Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_AVR_SITL/sitl_barometer.cpp:10:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_Common/AP_Common.h:31: warning: unknown option after '#pragma GCC diagnostic' kind
%% libraries/AP_HAL_AVR_SITL/sitl_compass.o
%% libraries/AP_HAL_AVR_SITL/sitl_gps.o
%% libraries/AP_HAL_AVR_SITL/sitl_ins.o
%% libraries/AP_HAL_Empty/AnalogIn.o
%% libraries/AP_HAL_Empty/GPIO.o
%% libraries/AP_HAL_Empty/HAL_Empty_Class.o
%% libraries/AP_HAL_Empty/I2CDriver.o
%% libraries/AP_HAL_Empty/PrivateMember.o
%% libraries/AP_HAL_Empty/RCInput.o
%% libraries/AP_HAL_Empty/RCOutput.o
%% libraries/AP_HAL_Empty/SPIDriver.o
%% libraries/AP_HAL_Empty/Scheduler.o
%% libraries/AP_HAL_Empty/Semaphores.o
%% libraries/AP_HAL_Empty/Storage.o
%% libraries/AP_HAL_Empty/UARTDriver.o
%% libraries/AP_HAL_FLYMAPLE/AnalogIn.o
%% libraries/AP_HAL_FLYMAPLE/AnalogSource.o
%% libraries/AP_HAL_FLYMAPLE/GPIO.o
%% libraries/AP_HAL_FLYMAPLE/HAL_FLYMAPLE_Class.o
%% libraries/AP_HAL_FLYMAPLE/I2CDriver.o
%% libraries/AP_HAL_FLYMAPLE/RCInput.o
%% libraries/AP_HAL_FLYMAPLE/RCOutput.o
%% libraries/AP_HAL_FLYMAPLE/SPIDriver.o
%% libraries/AP_HAL_FLYMAPLE/Scheduler.o
%% libraries/AP_HAL_FLYMAPLE/Semaphores.o
%% libraries/AP_HAL_FLYMAPLE/Storage.o
%% libraries/AP_HAL_FLYMAPLE/UARTDriver.o
%% libraries/AP_HAL_Linux/AnalogIn.o
%% libraries/AP_HAL_Linux/GPIO.o
%% libraries/AP_HAL_Linux/HAL_Linux_Class.o
%% libraries/AP_HAL_Linux/I2CDriver.o
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:13:27: error: linux/i2c-dev.h: No such file or directory
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:15:23: error: linux/i2c.h: No such file or directory
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp: In member function 'bool Linux::LinuxI2CDriver::set_address(uint8_t)':
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:58: error: 'I2C_SLAVE' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp: At global scope:
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:101: error: '__s32' does not name a type
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp: In member function 'virtual uint8_t Linux::LinuxI2CDriver::writeRegister(uint8_t, uint8_t, uint8_t)':
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:117: error: aggregate 'i2c_smbus_data data' has incomplete type and cannot be defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:119: error: 'I2C_SMBUS_WRITE' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:120: error: 'I2C_SMBUS_BYTE_DATA' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:120: error: '_i2c_smbus_access' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp: In member function 'virtual uint8_t Linux::LinuxI2CDriver::readRegister(uint8_t, uint8_t, uint8_t*)':
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:159: error: aggregate 'i2c_smbus_data v' has incomplete type and cannot be defined
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:160: error: 'I2C_SMBUS_READ' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:161: error: 'I2C_SMBUS_BYTE_DATA' was not declared in this scope
/Users/victor/Dropbox/Erle_Robotics/Autopilot/ardupilot/libraries/AP_HAL_Linux/I2CDriver.cpp:161: error: '_i2c_smbus_access' was not declared in this scope
make: *** [/var/folders/qq/dy7sx4q919q_t9v9my7pxjm40000gn/T/ArduCopter.build/libraries/AP_HAL_Linux/I2CDriver.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment