%% 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:1088: 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:301: 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:412: 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:439: 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:652: warning: unused variable 'temp' 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:135: warning: 'void Log_Write_Optflow()' declared 'static' but never defined 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:431: 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:166: 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:230: warning: 'long int get_altitude_above_home()' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:251: 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 /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used autogenerated:269: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used 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:449: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:455: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'simple_WP' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:474: 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:32: warning: 'int8_t test_xbee(uint8_t, const Menu::arg*)' declared 'static' but never defined make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1