%% ArduCopter.cpp %% ArduCopter.o In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.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 /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde: In function 'void read_AHRS()': /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:1301: error: 'class AP_DCM_HIL' has no member named 'update_DCM_fast' autogenerated: At global scope: autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined autogenerated:92: warning: 'void print_position()' declared 'static' but never defined autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined autogenerated:135: warning: 'void Log_Write_Raw()' declared 'static' but never defined autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined autogenerated:141: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/Log.pde:760: warning: 'void Log_Write_Attitude()' defined but not used autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: 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:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used /root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined autogenerated:270: warning: 'void ReadSCP1000()' declared 'static' but never defined autogenerated:271: warning: 'void init_barometer()' declared 'static' but never defined autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined autogenerated:273: warning: 'long int read_barometer()' declared 'static' but never defined autogenerated:274: warning: 'void read_airspeed()' declared 'static' but never defined autogenerated:275: warning: 'void zero_airspeed()' declared 'static' but never defined autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:354: warning: 'old_altitude' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:372: warning: 'abs_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:373: warning: 'ground_pressure' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:374: warning: 'ground_temperature' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:379: warning: 'baro_alt' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' 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:24: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1