%% ArduCopter.cpp %% ArduCopter.o In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:77: /root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': /root/apm/ardupilot-mega/ArduCopter/Parameters.h:407: warning: overflow in implicit constant conversion /root/apm/ardupilot-mega/ArduCopter/GCS_Mavlink.pde: In function 'bool mavlink_try_send_message(mavlink_channel_t, ap_message, uint16_t)': /root/apm/ardupilot-mega/ArduCopter/GCS_Mavlink.pde:299: warning: enumeration value 'MSG_RAW_IMU1' not handled in switch /root/apm/ardupilot-mega/ArduCopter/GCS_Mavlink.pde:299: warning: enumeration value 'MSG_RAW_IMU2' not handled in switch /root/apm/ardupilot-mega/ArduCopter/GCS_Mavlink.pde:299: warning: enumeration value 'MSG_RAW_IMU3' not handled in switch /root/apm/ardupilot-mega/ArduCopter/heli.pde: In function 'void heli_init_swash()': /root/apm/ardupilot-mega/ArduCopter/heli.pde:64: warning: comparisons like X<=Y<=Z do not have their mathematical meaning /root/apm/ardupilot-mega/ArduCopter/heli.pde: In function 'int heli_get_scaled_throttle(int)': /root/apm/ardupilot-mega/ArduCopter/heli.pde:205: warning: unused variable 'scaled_throttle' /root/apm/ardupilot-mega/ArduCopter/setup.pde: In function 'int8_t setup_heli(uint8_t, const Menu::arg*)': /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'max_tail' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'min_tail' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'max_coll' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'min_coll' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'max_pitch' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/setup.pde:467: warning: 'max_roll' may be used uninitialized in this function /root/apm/ardupilot-mega/ArduCopter/Attitude.pde: At global scope: /root/apm/ardupilot-mega/ArduCopter/Attitude.pde:179: warning: 'int alt_hold_velocity()' defined but not used /root/apm/ardupilot-mega/ArduCopter/Attitude.pde:209: warning: 'int get_angle_boost(int)' defined but not used autogenerated:51: warning: 'void send_raw_imu1(mavlink_channel_t)' declared 'static' but never defined autogenerated:52: warning: 'void send_raw_imu2(mavlink_channel_t)' declared 'static' but never defined autogenerated:53: warning: 'void send_raw_imu3(mavlink_channel_t)' declared 'static' but never defined autogenerated:105: warning: 'void Log_Write_Raw()' declared 'static' but never defined autogenerated:109: warning: 'void Log_Write_Optflow()' declared 'static' but never defined autogenerated:111: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined autogenerated:90: warning: 'void Log_Write_Attitude2()' declared 'static' but never defined autogenerated:91: warning: 'void Log_Read_Attitude2()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/Log.pde:835: warning: 'void Log_Write_Attitude()' defined but not used autogenerated:121: warning: 'void decrement_WP_index()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:432: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:215: warning: 'void debug_motors()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/navigation.pde:95: warning: 'void calc_loiter2(int, int)' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:213: warning: 'int get_loiter_angle()' defined but not used autogenerated:237: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:238: warning: 'long int cross_track_test()' declared 'static' but never defined autogenerated:239: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:241: warning: 'long int get_alt_distance(Location*, Location*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/radio.pde:134: warning: 'void throttle_failsafe(uint16_t)' defined but not used autogenerated:250: warning: 'void ReadSCP1000()' declared 'static' but never defined autogenerated:251: warning: 'void init_barometer()' declared 'static' but never defined autogenerated:252: warning: 'long int read_baro_filtered()' declared 'static' but never defined autogenerated:253: warning: 'long int read_barometer()' declared 'static' but never defined autogenerated:254: warning: 'void read_airspeed()' declared 'static' but never defined autogenerated:255: warning: 'void zero_airspeed()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/system.pde:456: warning: 'void set_failsafe(boolean)' defined but not used autogenerated:290: warning: 'void init_optflow()' declared 'static' but never defined autogenerated:297: warning: 'void fake_out_gps()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:277: warning: 'heli_servo_min' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:277: warning: 'heli_servo_max' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:347: warning: 'old_altitude' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:348: warning: 'old_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:366: warning: 'abs_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:367: warning: 'ground_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:368: warning: 'ground_temperature' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:373: warning: 'baro_alt' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:389: warning: 'angle_boost' defined but not used /root/apm/ardupilot-mega/ArduCopter/GCS_Mavlink.pde:1727: warning: 'void gcs_send_text_fmt(const prog_char_t*, ...)' defined but not used /root/apm/ardupilot-mega/ArduCopter/test.pde:13: warning: 'int8_t test_adc(uint8_t, const Menu::arg*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/test.pde:26: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085_hil.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o %% libraries/AP_ADC/AP_ADC_ADS7844.o %% libraries/AP_ADC/AP_ADC.o %% libraries/AP_ADC/AP_ADC_HIL.o %% libraries/AP_Common/AP_Common.o %% libraries/AP_Common/AP_Loop.o %% libraries/AP_Common/AP_MetaClass.o %% libraries/AP_Common/AP_Var.o %% libraries/AP_Common/AP_Var_menufuncs.o %% libraries/AP_Common/c++.o %% libraries/AP_Common/menu.o %% libraries/AP_Compass/AP_Compass_HIL.o %% libraries/AP_Compass/AP_Compass_HMC5843.o %% libraries/AP_Compass/Compass.o %% libraries/AP_DCM/AP_DCM.o %% libraries/AP_DCM/AP_DCM_HIL.o %% libraries/AP_GPS/AP_GPS_406.o %% libraries/AP_GPS/AP_GPS_Auto.o %% libraries/AP_GPS/AP_GPS_HIL.o %% libraries/AP_GPS/AP_GPS_IMU.o %% libraries/AP_GPS/AP_GPS_MTK16.o %% libraries/AP_GPS/AP_GPS_MTK.o %% libraries/AP_GPS/AP_GPS_NMEA.o %% libraries/AP_GPS/AP_GPS_SIRF.o %% libraries/AP_GPS/AP_GPS_UBLOX.o %% libraries/AP_GPS/GPS.o %% libraries/AP_IMU/AP_IMU_Oilpan.o %% libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.o In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition %% libraries/AP_OpticalFlow/AP_OpticalFlow.o %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o %% libraries/AP_Relay/AP_Relay.o %% libraries/DataFlash/DataFlash.o In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp:35: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition %% libraries/FastSerial/BetterStream.o %% libraries/FastSerial/FastSerial.o %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o %% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o %% libraries/FastSerial/ultoa_invert.o %% libraries/SPI/SPI.o In file included from /usr/local/share/arduino/libraries/SPI/SPI.cpp:12: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition %% libraries/Wire/Wire.o %% libraries/Wire/utility/twi.o cc1: warning: command line option "-Wno-reorder" is valid for C++/ObjC++ but not for C %% arduino/HardwareSerial.o In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:28: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." %% arduino/main.o %% arduino/Print.o %% arduino/Tone.o /usr/local/share/arduino/hardware/arduino/cores/arduino/Tone.cpp:93: warning: only initialized variables can be placed into program memory area %% arduino/WMath.o %% arduino/WString.o In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:26: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:84: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:85: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:86: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:87: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:88: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:89: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:90: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:91: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:93: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:94: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:95: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:100: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:101: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:102: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:103: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:104: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:105: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:106: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:107: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:109: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:110: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:111: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:116: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:117: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:118: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:119: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:120: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:121: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:122: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:123: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:125: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:126: warning: initialization makes integer from pointer without a cast /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:127: warning: initialization makes integer from pointer without a cast In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/WInterrupts.c:34: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_analog.c:27: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring.c:25: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_digital.c:27: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_pulse.c:25: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_shift.c:25: /usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." %% arduino/core.a %% ArduCopter.elf %% ArduCopter.eep %% ArduCopter.hex