ardupilot/Tools/ArdupilotMegaPlanner/Firmware/APM2HIL-1280.build.log

446 lines
40 KiB
Plaintext

%%%% Making all in ArduCopterMega/ %%%%
make[1]: Entering directory `/root/apm/Sketchbook/trunk/ArduCopterMega'
%% ArduCopterMega.cpp
%% ArduCopterMega.o
In file included from /root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:53:
/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/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/ardupilotmega.h:14,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/mavlink.h:9,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.h:83,
from /root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:68:
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h: In function 'uint8_t put_bitfield_n_by_index(int32_t, uint8_t, uint8_t, uint8_t, uint8_t*, uint8_t*)':
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h:808: warning: comparison between signed and unsigned integer expressions
/root/apm/Sketchbook/trunk/ArduCopterMega/system.pde: In function 'void init_compass()':
/root/apm/Sketchbook/trunk/ArduCopterMega/system.pde:458: warning: unused variable 'junkbool'
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde: At global scope:
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:1486: warning: 'void tuning()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:1591: warning: 'void point_at_home_yaw()' defined but not used
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined
autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined
autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined
autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined
autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined
autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined
autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined
autogenerated:89: warning: 'void print_position()' declared 'static' but never defined
autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined
autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined
autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined
autogenerated:135: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduCopterMega/commands.pde:127: warning: 'void decrement_WP_index()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/commands.pde:148: warning: 'Location get_LOITER_home_wp()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/commands_logic.pde:429: warning: 'bool verify_loiter_unlim()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/control_modes.pde:40: warning: 'void update_servo_switches()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/events.pde:49: warning: 'void low_battery_event()' defined but not used
autogenerated:207: warning: 'void heli_init_swash()' declared 'static' but never defined
autogenerated:208: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined
autogenerated:209: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined
autogenerated:232: warning: 'void debug_motors()' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:67: warning: 'void calc_loiter_nav2()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:91: warning: 'void calc_rate_nav2(int, int)' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:257: warning: 'void calc_altitude_smoothing_error()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:330: warning: 'void reset_crosstrack()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:335: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/navigation.pde:356: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/radio.pde:155: warning: 'void throttle_failsafe(uint16_t)' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/radio.pde:212: warning: 'void trim_yaw()' defined but not used
autogenerated:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:271: warning: 'void parseCommand(char*)' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduCopterMega/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/sensors.pde:78: warning: 'void read_airspeed()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/sensors.pde:83: warning: 'void zero_airspeed()' defined but not used
autogenerated:284: warning: 'void report_gains()' declared 'static' but never defined
autogenerated:289: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:290: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:298: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined
autogenerated:299: warning: 'int read_num_from_serial()' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduCopterMega/system.pde:420: warning: 'void set_failsafe(boolean)' defined but not used
autogenerated:313: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:321: warning: 'void fake_out_gps()' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduCopterMega/test.pde:1098: warning: 'void print_motor_out()' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:294: warning: 'rate_yaw_flag' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:296: warning: 'did_clear_yaw_control' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:303: warning: 'timer_light' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:322: warning: 'nav_gain_scaler' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:324: warning: 'last_ground_speed' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:339: warning: 'simple_bearing_is_set' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:356: warning: 'distance_error' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:388: warning: 'baro_alt_offset' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:397: warning: 'landing_distance' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:420: warning: 'set_throttle_cruise_flag' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:437: warning: 'next_wp_index' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:447: warning: 'repeat_forever' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:448: warning: 'undo_event' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:454: warning: 'condition_rate' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:473: warning: 'optflow_offset' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:474: warning: 'new_location' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:485: warning: 'imu_health' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:488: warning: 'gcs_messages_sent' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:493: warning: 'GCS_buffer' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:494: warning: 'display_PID' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/ArduCopterMega.pde:517: warning: 'elapsedTime' defined but not used
/root/apm/Sketchbook/trunk/ArduCopterMega/control_modes.pde:46: warning: 'trim_timer' defined but not used
%% libraries/APM_BMP085/APM_BMP085.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/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28:
/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined
/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of |
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of &
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of |
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of &
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function
%% libraries/AP_OpticalFlow/AP_OpticalFlow.o
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i'
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()':
/root/apm/Sketchbook/trunk/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function
%% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarLV.o
%% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o
%% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o
%% libraries/AP_RangeFinder/RangeFinder.o
%% libraries/DataFlash/DataFlash.o
In file included from /root/apm/Sketchbook/trunk/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
/root/apm/Sketchbook/trunk/libraries/DataFlash/DataFlash.cpp: In member function 'void DataFlash_Class::Init()':
/root/apm/Sketchbook/trunk/libraries/DataFlash/DataFlash.cpp:59: warning: unused variable 'tmp'
%% libraries/FastSerial/BetterStream.o
%% libraries/FastSerial/FastSerial.o
%% libraries/FastSerial/vprintf.o
%% libraries/GCS_MAVLink/GCS_MAVLink.o
In file included from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/ardupilotmega.h:14,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/mavlink.h:9,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.h:83,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.cpp:6:
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h: In function 'uint8_t put_bitfield_n_by_index(int32_t, uint8_t, uint8_t, uint8_t, uint8_t*, uint8_t*)':
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h:808: warning: comparison between signed and unsigned integer expressions
%% libraries/ModeFilter/ModeFilter.o
%% libraries/PID/PID.o
%% libraries/RC_Channel/RC_Channel.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 <util/delay.h>."
%% 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 <util/delay.h>."
/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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
%% arduino/core.a
%% ArduCopterMega.elf
%% ArduCopterMega.eep
%% ArduCopterMega.hex
make[1]: Leaving directory `/root/apm/Sketchbook/trunk/ArduCopterMega'
%%%% Making all in ArduPilotMega/ %%%%
make[1]: Entering directory `/root/apm/Sketchbook/trunk/ArduPilotMega'
%% ArduPilotMega.cpp
%% ArduPilotMega.o
In file included from /root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:32:
/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/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/ardupilotmega.h:14,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/mavlink.h:9,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.h:83,
from /root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:46:
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h: In function 'uint8_t put_bitfield_n_by_index(int32_t, uint8_t, uint8_t, uint8_t, uint8_t*, uint8_t*)':
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h:808: warning: comparison between signed and unsigned integer expressions
autogenerated: At global scope:
autogenerated:25: warning: 'bool print_log_menu()' declared 'static' but never defined
autogenerated:28: warning: 'void get_log_boundaries(byte, int&, int&)' declared 'static' but never defined
autogenerated:29: warning: 'int find_last_log_page(int)' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduPilotMega/Log.pde:745: warning: 'void Log_Write_Attitude(int, int, uint16_t)' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/Log.pde:746: warning: 'void Log_Write_Control_Tuning()' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/Log.pde:747: warning: 'void Log_Write_Raw()' defined but not used
autogenerated:40: warning: 'void Log_Read_Current()' declared 'static' but never defined
autogenerated:41: warning: 'void Log_Read_Control_Tuning()' declared 'static' but never defined
autogenerated:42: warning: 'void Log_Read_Nav_Tuning()' declared 'static' but never defined
autogenerated:43: warning: 'void Log_Read_Performance()' declared 'static' but never defined
autogenerated:44: warning: 'void Log_Read_Cmd()' declared 'static' but never defined
autogenerated:45: warning: 'void Log_Read_Startup()' declared 'static' but never defined
autogenerated:46: warning: 'void Log_Read_Attitude()' declared 'static' but never defined
autogenerated:47: warning: 'void Log_Read_Mode()' declared 'static' but never defined
autogenerated:48: warning: 'void Log_Read_GPS()' declared 'static' but never defined
autogenerated:49: warning: 'void Log_Read_Raw()' declared 'static' but never defined
autogenerated:50: warning: 'void Log_Read(int, int)' declared 'static' but never defined
autogenerated:63: warning: 'void add_altitude_data(long unsigned int, long int)' declared 'static' but never defined
autogenerated:64: warning: 'void recalc_climb_rate()' declared 'static' but never defined
autogenerated:65: warning: 'void print_climb_debug_info()' declared 'static' but never defined
autogenerated:126: warning: 'void low_battery_event()' declared 'static' but never defined
autogenerated:149: warning: 'void init_barometer()' declared 'static' but never defined
autogenerated:150: warning: 'long int read_barometer()' declared 'static' but never defined
autogenerated:152: warning: 'void zero_airspeed()' declared 'static' but never defined
autogenerated:154: warning: 'void report_batt_monitor()' declared 'static' but never defined
autogenerated:155: warning: 'void report_radio()' declared 'static' but never defined
autogenerated:156: warning: 'void report_gains()' declared 'static' but never defined
autogenerated:157: warning: 'void report_xtrack()' declared 'static' but never defined
autogenerated:158: warning: 'void report_throttle()' declared 'static' but never defined
autogenerated:159: warning: 'void report_imu()' declared 'static' but never defined
autogenerated:160: warning: 'void report_compass()' declared 'static' but never defined
autogenerated:161: warning: 'void report_flight_modes()' declared 'static' but never defined
autogenerated:162: warning: 'void print_PID(PID*)' declared 'static' but never defined
autogenerated:163: warning: 'void print_radio_values()' declared 'static' but never defined
autogenerated:164: warning: 'void print_switch(byte, byte)' declared 'static' but never defined
autogenerated:165: warning: 'void print_done()' declared 'static' but never defined
autogenerated:166: warning: 'void print_blanks(int)' declared 'static' but never defined
autogenerated:167: warning: 'void print_divider()' declared 'static' but never defined
autogenerated:168: warning: 'int8_t radio_input_switch()' declared 'static' but never defined
autogenerated:169: warning: 'void zero_eeprom()' declared 'static' but never defined
autogenerated:170: warning: 'void print_enabled(bool)' declared 'static' but never defined
autogenerated:171: warning: 'void print_accel_offsets()' declared 'static' but never defined
autogenerated:172: warning: 'void print_gyro_offsets()' declared 'static' but never defined
autogenerated:183: warning: 'void print_hit_enter()' declared 'static' but never defined
autogenerated:184: warning: 'void test_wp_print(Location*, byte)' declared 'static' but never defined
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:211: warning: 'comma' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:213: warning: 'flight_mode_strings' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:318: warning: 'airspeed_raw' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:319: warning: 'airspeed_pressure' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:323: warning: 'abs_pressure' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/ArduPilotMega.pde:334: warning: 'landing_distance' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/Log.pde:742: warning: 'int8_t process_logs(uint8_t, const Menu::arg*)' defined but not used
/root/apm/Sketchbook/trunk/ArduPilotMega/planner.pde:19: warning: 'int8_t planner_mode(uint8_t, const Menu::arg*)' defined but not used
%% libraries/APM_BMP085/APM_BMP085.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_RangeFinder/AP_RangeFinder_MaxsonarLV.o
%% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o
%% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o
%% libraries/AP_RangeFinder/RangeFinder.o
%% libraries/DataFlash/DataFlash.o
In file included from /root/apm/Sketchbook/trunk/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
/root/apm/Sketchbook/trunk/libraries/DataFlash/DataFlash.cpp: In member function 'void DataFlash_Class::Init()':
/root/apm/Sketchbook/trunk/libraries/DataFlash/DataFlash.cpp:59: warning: unused variable 'tmp'
%% libraries/FastSerial/BetterStream.o
%% libraries/FastSerial/FastSerial.o
%% libraries/FastSerial/vprintf.o
%% libraries/GCS_MAVLink/GCS_MAVLink.o
In file included from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/ardupilotmega.h:14,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/mavlink.h:9,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.h:83,
from /root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/GCS_MAVLink.cpp:6:
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h: In function 'uint8_t put_bitfield_n_by_index(int32_t, uint8_t, uint8_t, uint8_t, uint8_t*, uint8_t*)':
/root/apm/Sketchbook/trunk/libraries/GCS_MAVLink/include/ardupilotmega/../protocol.h:808: warning: comparison between signed and unsigned integer expressions
%% libraries/ModeFilter/ModeFilter.o
%% libraries/PID/PID.o
%% libraries/RC_Channel/RC_Channel.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 <util/delay.h>."
%% 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 <util/delay.h>."
/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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
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 <util/delay.h>."
%% arduino/core.a
%% ArduPilotMega.elf
%% ArduPilotMega.eep
%% ArduPilotMega.hex
make[1]: Leaving directory `/root/apm/Sketchbook/trunk/ArduPilotMega'