%% 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:390: warning: overflow in implicit constant conversion /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde: In function 'void update_throttle_mode()': /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:1089: error: 'get_nav_throttle' was not declared in this scope /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:302: warning: statement has no effect /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:413: warning: comparison between signed and unsigned integer expressions /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:440: warning: comparison between signed and unsigned integer expressions /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:653: warning: unused variable 'temp' /root/apm/ardupilot-mega/ArduCopter/system.pde: In function 'void init_ardupilot()': /root/apm/ardupilot-mega/ArduCopter/system.pde:173: error: 'class AP_ADC_HIL' has no member named 'filter_result' autogenerated: At global scope: autogenerated:82: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated:83: warning: 'void send_message(byte)' declared 'static' but never defined autogenerated:84: warning: 'void send_message(byte, long int)' declared 'static' but never defined autogenerated:78: warning: 'void send_message(byte, const char*)' declared 'static' but never defined autogenerated:87: warning: 'void print_current_waypoints()' declared 'static' but never defined autogenerated:90: warning: 'void print_attitude()' declared 'static' but never defined autogenerated:86: warning: 'void print_control_mode()' declared 'static' but never defined autogenerated:88: warning: 'void print_position()' declared 'static' but never defined autogenerated:92: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined autogenerated:93: warning: 'void print_waypoints()' declared 'static' but never defined autogenerated:66: warning: 'long int convert_to_dec(float)' declared 'static' but never defined autogenerated:131: warning: 'void Log_Write_Raw()' declared 'static' but never defined autogenerated:135: warning: 'void Log_Write_Optflow()' declared 'static' but never defined autogenerated:137: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/Log.pde:738: warning: 'void Log_Write_Attitude()' defined but not used autogenerated:145: 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: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/ardupilot-mega/ArduCopter/navigation.pde:171: warning: 'int get_loiter_angle()' defined but not used autogenerated:251: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:252: warning: 'long int cross_track_test()' declared 'static' but never defined autogenerated:253: warning: 'void reset_crosstrack()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/navigation.pde:235: warning: 'long int get_altitude_above_home()' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:256: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:129: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:186: warning: 'void trim_yaw()' defined but not used autogenerated:265: warning: 'void readCommands()' declared 'static' but never defined autogenerated:266: warning: 'void parseCommand(char*)' declared 'static' but never defined autogenerated:267: warning: 'void ReadSCP1000()' declared 'static' but never defined autogenerated:268: warning: 'void init_barometer()' declared 'static' but never defined autogenerated:269: warning: 'long int read_baro_filtered()' declared 'static' but never defined autogenerated:270: warning: 'long int read_barometer()' declared 'static' but never defined autogenerated:271: warning: 'void read_airspeed()' declared 'static' but never defined autogenerated:272: warning: 'void zero_airspeed()' declared 'static' but never defined autogenerated:283: warning: 'void report_heli()' declared 'static' but never defined autogenerated:284: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:291: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:292: warning: 'int read_num_from_serial()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/system.pde:459: warning: 'void set_failsafe(boolean)' defined but not used autogenerated:306: warning: 'void init_optflow()' declared 'static' but never defined autogenerated:314: 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:358: warning: 'old_altitude' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:376: warning: 'abs_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:377: warning: 'ground_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:378: warning: 'ground_temperature' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:383: warning: 'baro_alt' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:456: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:470: warning: 'simple_WP' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:475: warning: 'new_location' defined but not used /root/apm/ardupilot-mega/ArduCopter/Attitude.pde:88: warning: 'int get_nav_throttle(long int)' 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 /root/apm/ardupilot-mega/ArduCopter/test.pde:32: warning: 'int8_t test_xbee(uint8_t, const Menu::arg*)' declared 'static' but never defined make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1