PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.48k stars 13.5k forks source link

Can't build master branch Ubuntu 16.04 LTS says romfs.bin: not in ELF format #6258

Closed ivan95603 closed 7 years ago

ivan95603 commented 7 years ago

make px4fmu-v2_default -- nuttx-px4fmu-v2-default -- CMAKE_INSTALL_PREFIX: -- cmake module path: /home/ivan/src/Firmware/cmake -- Nuttx build for px4fmu-v2 on m4 hardware, using nsh with ROMFS on px4fmu_common -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/arm-none-eabi-gcc -- Found PythonInterp: /usr/bin/python (found version "2.7.12") -- NuttX patch: nuttx-patches/Fixed-Shadow-wanings.patch -- NuttX patch: nuttx-patches/c++11.patch -- NuttX patch: nuttx-patches/ctypecctype.patch -- NuttX patch: nuttx-patches/export_insitu.patch -- NuttX patch: nuttx-patches/fixStdint.patch -- NuttX patch: nuttx-patches/fix_CRTSCTS-define.patch -- NuttX patch: nuttx-patches/math.h.patch -- NuttX patch: nuttx-patches/nsh_parse.patch -- NuttX patch: nuttx-patches/serial_dma_hotfix.patch -- NuttX patch: nuttx-patches/silence-jobserver-warnings.patch -- NuttX patch: nuttx-patches/static_asset-fix.patch -- NuttX patch: nuttx-patches/wip_inflight_to_upstream.patch -- Using C++03 -- Release build type: RelWithDebInfo -- Adding UAVCAN STM32 platform driver -- Adding ROMFS on px4fmu-v2 -- Nuttx build for px4fmu-v2 on m3 hardware, using nsh -- NuttX patch: nuttx-patches/Fixed-Shadow-wanings.patch -- NuttX patch: nuttx-patches/c++11.patch -- NuttX patch: nuttx-patches/ctypecctype.patch -- NuttX patch: nuttx-patches/export_insitu.patch -- NuttX patch: nuttx-patches/fixStdint.patch -- NuttX patch: nuttx-patches/fix_CRTSCTS-define.patch -- NuttX patch: nuttx-patches/math.h.patch -- NuttX patch: nuttx-patches/nsh_parse.patch -- NuttX patch: nuttx-patches/serial_dma_hotfix.patch -- NuttX patch: nuttx-patches/silence-jobserver-warnings.patch -- NuttX patch: nuttx-patches/static_asset-fix.patch -- NuttX patch: nuttx-patches/wip_inflight_to_upstream.patch -- Configuring done -- Generating done -- Build files have been written to: /home/ivan/src/Firmware/build_px4fmu-v2_default PX4 CONFIG: /home/ivan/src/Firmware/build_px4fmu-v2_default Scanning dependencies of target ver_gen Scanning dependencies of target git_genmsg Scanning dependencies of target git_gencpp Scanning dependencies of target git_nuttx [ 0%] Generating git_init_Tools_gencpp.stamp [ 0%] Generating git_init_Tools_genmsg.stamp [ 0%] Generating git_init_NuttX.stamp [ 0%] Built target git_gencpp [ 0%] Built target git_genmsg [ 0%] Built target git_nuttx [ 0%] Generating git hash header Scanning dependencies of target git_uavcan Scanning dependencies of target git_matrix Scanning dependencies of target git_mavlink [ 0%] Generating git_init_src_lib_matrix.stamp [ 1%] Generating git_init_src_modules_uavcan_libuavcan.stamp [ 1%] Generating git_init_mavlink_include_mavlink_v1.0.stamp [ 1%] Built target git_matrix [ 1%] Built target git_uavcan [ 1%] Built target git_mavlink Scanning dependencies of target mixer_gen [ 1%] Built target ver_gen [ 2%] Generating mixer_multirotor.generated.h Scanning dependencies of target git_ecl Scanning dependencies of target libuavcan_dsdlc [ 2%] Generating git_init_src_lib_ecl.stamp [ 2%] Running dsdl compiler [ 2%] Built target mixer_gen [ 2%] Built target git_ecl Scanning dependencies of target xml_gen [ 2%] Generating parameters.xml [ 2%] Built target libuavcan_dsdlc [ 3%] Generating airframes.xml Scanning dependencies of target nuttx_copy_px4fmu-v2 Scanning dependencies of target nuttx_copy_px4io-v2 [ 4%] Copying NuttX for px4io-v2 with nsh [ 4%] Copying NuttX for px4fmu-v2 with nsh [ 4%] Built target xml_gen [ 4%] Built target nuttx_copy_px4io-v2 Scanning dependencies of target nuttx_patch_wip_inflight_to_upstream.patch-px4io-v2 Scanning dependencies of target nuttx_patch_fixStdint.patch-px4io-v2 Scanning dependencies of target nuttx_patch_fix_CRTSCTS-define.patch-px4io-v2 [ 4%] Applying /home/ivan/src/Firmware/nuttx-patches/fixStdint.patch [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/wip_inflight_to_upstream.patch [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/fix_CRTSCTS-define.patch [ 5%] Built target nuttx_patch_fixStdint.patch-px4io-v2 [ 5%] Built target nuttx_copy_px4fmu-v2 [ 5%] Built target nuttx_patch_wip_inflight_to_upstream.patch-px4io-v2 Scanning dependencies of target nuttx_patch_nsh_parse.patch-px4io-v2 [ 5%] Built target nuttx_patch_fix_CRTSCTS-define.patch-px4io-v2 Scanning dependencies of target nuttx_patch_ctypecctype.patch-px4io-v2 Scanning dependencies of target nuttx_patch_math.h.patch-px4io-v2 [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/nsh_parse.patch Scanning dependencies of target nuttx_patch_export_insitu.patch-px4io-v2 [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/ctypecctype.patch [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/math.h.patch [ 5%] Applying /home/ivan/src/Firmware/nuttx-patches/export_insitu.patch [ 5%] Built target nuttx_patch_math.h.patch-px4io-v2 [ 5%] Built target nuttx_patch_nsh_parse.patch-px4io-v2 [ 5%] Built target nuttx_patch_ctypecctype.patch-px4io-v2 Scanning dependencies of target nuttx_patch_c++11.patch-px4io-v2 Scanning dependencies of target nuttx_patch_Fixed-Shadow-wanings.patch-px4io-v2 Scanning dependencies of target nuttx_patch_silence-jobserver-warnings.patch-px4io-v2 [ 5%] Built target nuttx_patch_export_insitu.patch-px4io-v2 [ 6%] Applying /home/ivan/src/Firmware/nuttx-patches/Fixed-Shadow-wanings.patch [ 6%] Applying /home/ivan/src/Firmware/nuttx-patches/c++11.patch [ 6%] Applying /home/ivan/src/Firmware/nuttx-patches/silence-jobserver-warnings.patch Scanning dependencies of target nuttx_patch_static_asset-fix.patch-px4io-v2 [ 6%] Built target nuttx_patch_c++11.patch-px4io-v2 [ 6%] Applying /home/ivan/src/Firmware/nuttx-patches/static_asset-fix.patch [ 6%] Built target nuttx_patch_silence-jobserver-warnings.patch-px4io-v2 [ 6%] Built target nuttx_patch_Fixed-Shadow-wanings.patch-px4io-v2 Scanning dependencies of target nuttx_patch_serial_dma_hotfix.patch-px4io-v2 Scanning dependencies of target nuttx_patch_silence-jobserver-warnings.patch-px4fmu-v2 [ 6%] Built target nuttx_patch_static_asset-fix.patch-px4io-v2 Scanning dependencies of target nuttx_patch_static_asset-fix.patch-px4fmu-v2 [ 7%] Applying /home/ivan/src/Firmware/nuttx-patches/serial_dma_hotfix.patch [ 7%] Applying /home/ivan/src/Firmware/nuttx-patches/silence-jobserver-warnings.patch Scanning dependencies of target nuttx_patch_serial_dma_hotfix.patch-px4fmu-v2 [ 7%] Applying /home/ivan/src/Firmware/nuttx-patches/static_asset-fix.patch [ 7%] Applying /home/ivan/src/Firmware/nuttx-patches/serial_dma_hotfix.patch [ 7%] Built target nuttx_patch_serial_dma_hotfix.patch-px4io-v2 [ 7%] Built target nuttx_patch_silence-jobserver-warnings.patch-px4fmu-v2 [ 7%] Built target nuttx_patch_static_asset-fix.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_fixStdint.patch-px4fmu-v2 [ 7%] Built target nuttx_patch_serial_dma_hotfix.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_export_insitu.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_c++11.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_Fixed-Shadow-wanings.patch-px4fmu-v2 [ 7%] Applying /home/ivan/src/Firmware/nuttx-patches/fixStdint.patch [ 8%] Applying /home/ivan/src/Firmware/nuttx-patches/export_insitu.patch [ 8%] Applying /home/ivan/src/Firmware/nuttx-patches/c++11.patch [ 8%] Applying /home/ivan/src/Firmware/nuttx-patches/Fixed-Shadow-wanings.patch [ 8%] Built target nuttx_patch_fixStdint.patch-px4fmu-v2 [ 8%] Built target nuttx_patch_c++11.patch-px4fmu-v2 [ 8%] Built target nuttx_patch_Fixed-Shadow-wanings.patch-px4fmu-v2 [ 8%] Built target nuttx_patch_export_insitu.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_fix_CRTSCTS-define.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_math.h.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_nsh_parse.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_wip_inflight_to_upstream.patch-px4fmu-v2 [ 8%] Applying /home/ivan/src/Firmware/nuttx-patches/fix_CRTSCTS-define.patch [ 9%] Applying /home/ivan/src/Firmware/nuttx-patches/math.h.patch [ 9%] Applying /home/ivan/src/Firmware/nuttx-patches/wip_inflight_to_upstream.patch [ 9%] Applying /home/ivan/src/Firmware/nuttx-patches/nsh_parse.patch [ 9%] Built target nuttx_patch_fix_CRTSCTS-define.patch-px4fmu-v2 [ 9%] Built target nuttx_patch_math.h.patch-px4fmu-v2 [ 9%] Built target nuttx_patch_wip_inflight_to_upstream.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_ctypecctype.patch-px4fmu-v2 Scanning dependencies of target nuttx_patch_px4io-v2 [ 9%] Built target nuttx_patch_nsh_parse.patch-px4fmu-v2 [ 9%] Applying /home/ivan/src/Firmware/nuttx-patches/ctypecctype.patch [ 9%] Built target nuttx_patch_px4io-v2 [ 9%] Built target nuttx_patch_ctypecctype.patch-px4fmu-v2 Scanning dependencies of target nuttx_export_px4io-v2 [ 9%] Configuring NuttX for px4io-v2 with nsh Scanning dependencies of target nuttx_patch_px4fmu-v2 [ 9%] Built target nuttx_patch_px4fmu-v2 Scanning dependencies of target nuttx_export_px4fmu-v2 [ 9%] Configuring NuttX for px4fmu-v2 with nsh [ 9%] Building NuttX for px4io-v2 with nsh make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. [ 9%] Building NuttX for px4fmu-v2 with nsh make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. [ 9%] Built target nuttx_export_px4io-v2 Scanning dependencies of target io_prebuild_targets [ 9%] Built target io_prebuild_targets [ 9%] Built target nuttx_export_px4fmu-v2 Scanning dependencies of target prebuild_targets [ 9%] Built target prebuild_targets [ 9%] Generating uORB topic multi headers for nuttx [ 9%] Generating uORB topic sources [ 10%] Generating uORB topic headers Scanning dependencies of target msg_gen [ 10%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/uORBTopics.cpp.obj [ 10%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/actuator_direct.cpp.obj [ 10%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/actuator_armed.cpp.obj [ 10%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/actuator_controls.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/actuator_outputs.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/adc_report.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/airspeed.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/att_pos_mocap.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/battery_status.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/control_state.cpp.obj [ 11%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/camera_trigger.cpp.obj [ 12%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/commander_state.cpp.obj [ 12%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/cpuload.cpp.obj [ 12%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/debug_key_value.cpp.obj [ 12%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/differential_pressure.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/distance_sensor.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/ekf2_innovations.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/ekf2_replay.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/esc_report.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/esc_status.cpp.obj [ 13%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/estimator_status.cpp.obj [ 14%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/fence.cpp.obj [ 14%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/fence_vertex.cpp.obj [ 14%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/filtered_bottom_flow.cpp.obj [ 14%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/follow_target.cpp.obj [ 14%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/fw_pos_ctrl_status.cpp.obj [ 15%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/fw_virtual_attitude_setpoint.cpp.obj [ 15%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/fw_virtual_rates_setpoint.cpp.obj [ 15%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/geofence_result.cpp.obj [ 15%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/gps_dump.cpp.obj [ 15%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/gps_inject_data.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/hil_sensor.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/input_rc.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/home_position.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/log_message.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/manual_control_setpoint.cpp.obj [ 16%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mavlink_log.cpp.obj [ 17%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mc_att_ctrl_status.cpp.obj [ 17%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mc_virtual_attitude_setpoint.cpp.obj [ 17%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mc_virtual_rates_setpoint.cpp.obj [ 17%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mission.cpp.obj [ 17%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mission_result.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/multirotor_motor_limits.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/offboard_control_mode.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/optical_flow.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/output_pwm.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/parameter_update.cpp.obj [ 18%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/position_setpoint.cpp.obj [ 19%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/position_setpoint_triplet.cpp.obj [ 19%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/pwm_input.cpp.obj [ 19%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/qshell_req.cpp.obj [ 19%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/rc_channels.cpp.obj [ 19%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/rc_parameter_map.cpp.obj [ 20%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/safety.cpp.obj [ 20%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/satellite_info.cpp.obj [ 20%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_accel.cpp.obj [ 20%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_baro.cpp.obj [ 20%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_combined.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_gyro.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_mag.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/sensor_preflight.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/servorail_status.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/subsystem_info.cpp.obj [ 21%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/system_power.cpp.obj [ 22%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/tecs_status.cpp.obj [ 22%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/telemetry_status.cpp.obj [ 22%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/test_motor.cpp.obj [ 22%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/time_offset.cpp.obj [ 22%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/transponder_report.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/uavcan_parameter_request.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/ulog_stream.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/uavcan_parameter_value.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/ulog_stream_ack.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_attitude.cpp.obj [ 23%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_attitude_setpoint.cpp.obj [ 24%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_command_ack.cpp.obj [ 24%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_command.cpp.obj [ 24%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_control_mode.cpp.obj [ 24%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_force_setpoint.cpp.obj [ 24%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_global_position.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_global_velocity_setpoint.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_gps_position.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_land_detected.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_local_position.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_local_position_setpoint.cpp.obj [ 25%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_rates_setpoint.cpp.obj [ 26%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_status.cpp.obj [ 26%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vision_position_estimate.cpp.obj [ 26%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vtol_vehicle_status.cpp.obj [ 26%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/wind_estimate.cpp.obj [ 26%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/vehicle_roi.cpp.obj [ 27%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/mount_orientation.cpp.obj [ 27%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/collision_report.cpp.obj [ 27%] Building CXX object CMakeFiles/msg_gen.dir/topics_sources/low_stack.cpp.obj [ 27%] Linking CXX static library libmsg_gen.a [ 27%] Built target msg_gen Scanning dependencies of target platformscommon Scanning dependencies of target px4io-v2 [ 27%] Building C object src/platforms/common/CMakeFiles/platformscommon.dir/px4_getopt.c.obj [ 27%] Linking C static library libplatformscommon.a [ 27%] Built target platformscommon Scanning dependencies of target driversdevice Scanning dependencies of target driversstm32 Scanning dependencies of target platformsnuttx [ 27%] Building CXX object src/platforms/nuttx/CMakeFiles/platformsnuttx.dir/px4_nuttx_impl.cpp.obj [ 27%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/adc.c.obj [ 27%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/ringbuffer.cpp.obj [ 27%] Building C object src/drivers/stm32/CMakeFiles/driversstm32.dir/drv_hrt.c.obj [ 27%] Linking CXX static library libplatformsnuttx.a [ 27%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/controls.c.obj [ 27%] Built target platformsnuttx Scanning dependencies of target driversstm32adc [ 28%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/integrator.cpp.obj [ 29%] Building CXX object src/drivers/stm32/adc/CMakeFiles/driversstm32adc.dir/adc.cpp.obj [ 30%] Building C object src/drivers/stm32/CMakeFiles/driversstm32.dir/drv_io_timer.c.obj [ 31%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/px4io.c.obj [ 31%] Building C object src/drivers/stm32/CMakeFiles/driversstm32.dir/drv_pwm_servo.c.obj [ 31%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/device_nuttx.cpp.obj [ 31%] Linking CXX static library libdriversstm32adc.a [ 31%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/registers.c.obj [ 31%] Built target driversstm32adc [ 31%] Building C object src/drivers/stm32/CMakeFiles/driversstm32.dir/drv_input_capture.c.obj Scanning dependencies of target driversstm32tone_alarm [ 31%] Building CXX object src/drivers/stm32/tone_alarm/CMakeFiles/driversstm32tone_alarm.dir/tone_alarm.cpp.obj [ 31%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/cdev.cpp.obj [ 31%] Building CXX object src/drivers/stm32/CMakeFiles/driversstm32.dir/drv_led_pwm.cpp.obj [ 31%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/safety.c.obj [ 31%] Linking CXX static library libdriversstm32.a [ 31%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/i2c_nuttx.cpp.obj [ 31%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/__/systemlib/up_cxxinitialize.c.obj [ 31%] Built target driversstm32 [ 31%] Linking CXX static library libdriversstm32tone_alarm.a Scanning dependencies of target driversled [ 31%] Built target driversstm32tone_alarm [ 31%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/__/systemlib/perf_counter.c.obj Scanning dependencies of target driverspx4fmu [ 31%] Building CXX object src/drivers/led/CMakeFiles/driversled.dir/led.cpp.obj [ 31%] Building CXX object src/drivers/px4fmu/CMakeFiles/driverspx4fmu.dir/fmu.cpp.obj [ 31%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/pio.cpp.obj [ 31%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/mixer.cpp.obj [ 31%] Linking CXX static library libdriversled.a [ 31%] Built target driversled Scanning dependencies of target driverspx4io [ 32%] Building CXX object src/drivers/device/CMakeFiles/driversdevice.dir/spi.cpp.obj [ 32%] Building CXX object src/drivers/px4io/CMakeFiles/driverspx4io.dir/px4io.cpp.obj [ 34%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/mixer/mixer.cpp.obj [ 34%] Linking CXX static library libdriversdevice.a [ 34%] Built target driversdevice Scanning dependencies of target driversboardspx4fmu-v2 [ 35%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir//common/board_dma_alloc.c.obj [ 35%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/mixer/mixer_group.cpp.obj [ 35%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu_can.c.obj [ 35%] Linking CXX static library libdriverspx4fmu.a [ 35%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu2_init.c.obj [ 35%] Built target driverspx4fmu Scanning dependencies of target driversrgbled [ 35%] Building CXX object src/drivers/rgbled/CMakeFiles/driversrgbled.dir/rgbled.cpp.obj [ 35%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/mixer/mixer_multirotor.cpp.obj [ 35%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu_timer_config.c.obj [ 35%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu_spi.c.obj [ 36%] Linking CXX static library libdriversrgbled.a [ 36%] Built target driversrgbled Scanning dependencies of target driversmpu6000 [ 36%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/mixer/mixer_helicopter.cpp.obj [ 36%] Building CXX object src/drivers/mpu6000/CMakeFiles/driversmpu6000.dir/mpu6000.cpp.obj [ 36%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu_usb.c.obj [ 37%] Building C object src/drivers/boards/px4fmu-v2/CMakeFiles/driversboardspx4fmu-v2.dir/px4fmu2_led.c.obj [ 38%] Building CXX object src/drivers/px4io/CMakeFiles/driverspx4io.dir/px4io_uploader.cpp.obj [ 38%] Linking C static library libdriversboardspx4fmu-v2.a [ 38%] Building CXX object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/mixer/mixer_simple.cpp.obj [ 38%] Built target driversboardspx4fmu-v2 [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/pwm_limit/pwm_limit.c.obj [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///lib/rc/st24.c.obj [ 39%] Building CXX object src/drivers/px4io/CMakeFiles/driverspx4io.dir/px4io_serial.cpp.obj [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///lib/rc/sumd.c.obj [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///lib/rc/sbus.c.obj [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///lib/rc/dsm.c.obj [ 39%] Building CXX object src/drivers/px4io/CMakeFiles/driverspx4io.dir/px4io_i2c.cpp.obj [ 39%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///drivers/stm32/drv_hrt.c.obj [ 40%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///drivers/stm32/drv_io_timer.c.obj [ 40%] Building CXX object src/drivers/mpu6000/CMakeFiles/driversmpu6000.dir/mpu6000_i2c.cpp.obj [ 40%] Building C object src/drivers/px4io/CMakeFiles/drivers__px4io.dir/px4io_params.c.obj [ 40%] Linking CXX static library libdriverspx4io.a [ 40%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///drivers/stm32/drv_pwm_servo.c.obj [ 40%] Built target driverspx4io [ 40%] Building CXX object src/drivers/mpu6000/CMakeFiles/driversmpu6000.dir/mpu6000_spi.cpp.obj Scanning dependencies of target driversmpu9250 [ 40%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///drivers/boards/px4io-v2/px4io_init.c.obj [ 40%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir///drivers/boards/px4io-v2/px4io_timer_config.c.obj [ 41%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/mpu9250.cpp.obj [ 41%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir/serial.c.obj [ 42%] Building C object src/modules/px4iofirmware/CMakeFiles/px4io-v2.dir//systemlib/hx_stream.c.obj [ 42%] Linking CXX static library libdriversmpu6000.a [ 42%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/mpu9250_i2c.cpp.obj [ 42%] Built target driversmpu6000 Scanning dependencies of target driverslsm303d [ 42%] Linking CXX executable px4io-v2 [ 42%] Building CXX object src/drivers/lsm303d/CMakeFiles/driverslsm303d.dir/lsm303d.cpp.obj [ 42%] Built target px4io-v2 Scanning dependencies of target driversl3gd20 [ 42%] Building CXX object src/drivers/mpu9250/CMakeFiles/drivers__mpu9250.dir/mpu9250_spi.cpp.obj [ 42%] Building CXX object src/drivers/l3gd20/CMakeFiles/driversl3gd20.dir/l3gd20.cpp.obj [ 42%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/main.cpp.obj [ 42%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/gyro.cpp.obj [ 42%] Linking CXX static library libdriverslsm303d.a [ 42%] Linking CXX static library libdriversl3gd20.a [ 43%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/mag.cpp.obj [ 43%] Built target driverslsm303d [ 43%] Building CXX object src/drivers/mpu9250/CMakeFiles/driversmpu9250.dir/mag_i2c.cpp.obj Scanning dependencies of target drivershmc5883 [ 43%] Built target driversl3gd20 Scanning dependencies of target driversms5611 [ 43%] Building CXX object src/drivers/hmc5883/CMakeFiles/drivershmc5883.dir/hmc5883_i2c.cpp.obj [ 43%] Building CXX object src/drivers/ms5611/CMakeFiles/driversms5611.dir/ms5611_spi.cpp.obj [ 43%] Building CXX object src/drivers/ms5611/CMakeFiles/driversms5611.dir/ms5611_i2c.cpp.obj [ 44%] Building CXX object src/drivers/hmc5883/CMakeFiles/drivers__hmc5883.dir/hmc5883_spi.cpp.obj [ 45%] Building CXX object src/drivers/ms5611/CMakeFiles/driversms5611.dir/ms5611.cpp.obj [ 45%] Linking CXX static library libdriversmpu9250.a [ 45%] Built target driversmpu9250 Scanning dependencies of target driverssf0x [ 45%] Building CXX object src/drivers/hmc5883/CMakeFiles/drivershmc5883.dir/hmc5883.cpp.obj [ 45%] Building CXX object src/drivers/sf0x/CMakeFiles/driverssf0x.dir/sf0x.cpp.obj Scanning dependencies of target driverstrone [ 45%] Building CXX object src/drivers/trone/CMakeFiles/driverstrone.dir/trone.cpp.obj [ 45%] Linking CXX static library libdriversms5611.a [ 45%] Built target driversms5611 Scanning dependencies of target driversgps [ 45%] Building CXX object src/drivers/sf0x/CMakeFiles/driverssf0x.dir/sf0x_parser.cpp.obj [ 45%] Building CXX object src/drivers/gps/CMakeFiles/driversgps.dir/gps.cpp.obj [ 45%] Linking CXX static library libdriverstrone.a [ 45%] Linking CXX static library libdriverssf0x.a [ 45%] Built target driverstrone [ 45%] Built target driverssf0x Scanning dependencies of target driverspwm_out_sim Scanning dependencies of target driversairspeed [ 45%] Building CXX object src/drivers/pwm_out_sim/CMakeFiles/driverspwm_out_sim.dir/pwm_out_sim.cpp.obj [ 45%] Building CXX object src/drivers/airspeed/CMakeFiles/driversairspeed.dir/airspeed.cpp.obj [ 45%] Linking CXX static library libdrivershmc5883.a [ 45%] Built target drivershmc5883 Scanning dependencies of target driversets_airspeed [ 45%] Building CXX object src/drivers/ets_airspeed/CMakeFiles/driversets_airspeed.dir/ets_airspeed.cpp.obj [ 45%] Linking CXX static library libdriversairspeed.a [ 46%] Building CXX object src/drivers/gps/CMakeFiles/drivers__gps.dir/devices/src/gps_helper.cpp.obj [ 46%] Built target driversairspeed Scanning dependencies of target driversmeas_airspeed [ 46%] Linking CXX static library libdriverspwm_out_sim.a [ 46%] Linking CXX static library libdriversets_airspeed.a [ 47%] Building CXX object src/drivers/meas_airspeed/CMakeFiles/driversmeas_airspeed.dir/meas_airspeed.cpp.obj [ 47%] Built target driverspwm_out_sim [ 47%] Built target drivers__ets_airspeed [ 47%] Building CXX object src/drivers/gps/CMakeFiles/driversgps.dir/devices/src/mtk.cpp.obj Scanning dependencies of target driverspx4flow Scanning dependencies of target modulessensors [ 48%] Building CXX object src/drivers/px4flow/CMakeFiles/driverspx4flow.dir/px4flow.cpp.obj [ 48%] Building CXX object src/modules/sensors/CMakeFiles/modulessensors.dir/voted_sensors_update.cpp.obj [ 48%] Building CXX object src/drivers/gps/CMakeFiles/driversgps.dir/devices/src/ashtech.cpp.obj [ 48%] Linking CXX static library libdriversmeas_airspeed.a [ 48%] Built target driversmeas_airspeed Scanning dependencies of target driverspwm_input [ 48%] Building CXX object src/drivers/pwm_input/CMakeFiles/driverspwm_input.dir/pwm_input.cpp.obj [ 48%] Linking CXX static library libdriverspx4flow.a [ 48%] Built target driverspx4flow [ 48%] Building CXX object src/modules/sensors/CMakeFiles/modules__sensors.dir/rc_update.cpp.obj [ 48%] Building CXX object src/drivers/gps/CMakeFiles/driversgps.dir/devices/src/ubx.cpp.obj [ 48%] Linking CXX static library libdriverspwm_input.a [ 48%] Built target drivers__pwm_input Scanning dependencies of target driverscamera_trigger [ 48%] Building CXX object src/modules/sensors/CMakeFiles/modulessensors.dir/sensors.cpp.obj [ 48%] Building CXX object src/drivers/camera_trigger/CMakeFiles/driverscamera_trigger.dir/camera_trigger.cpp.obj [ 49%] Building CXX object src/modules/sensors/CMakeFiles/modulessensors.dir/sensors_init.cpp.obj [ 49%] Building CXX object src/modules/sensors/CMakeFiles/modulessensors.dir/parameters.cpp.obj [ 49%] Linking CXX static library libdriversgps.a [ 50%] Building C object src/drivers/camera_trigger/CMakeFiles/drivers__camera_trigger.dir/camera_trigger_params.c.obj [ 50%] Built target driversgps [ 50%] Building CXX object src/drivers/camera_trigger/CMakeFiles/driverscamera_trigger.dir/interfaces/src/camera_interface.cpp.obj [ 50%] Building CXX object src/drivers/camera_trigger/CMakeFiles/drivers__camera_trigger.dir/interfaces/src/pwm.cpp.obj Scanning dependencies of target driversbst [ 50%] Building CXX object src/drivers/camera_trigger/CMakeFiles/driverscamera_trigger.dir/interfaces/src/relay.cpp.obj [ 50%] Building CXX object src/drivers/bst/CMakeFiles/driversbst.dir/bst.cpp.obj [ 50%] Linking CXX static library libmodulessensors.a [ 50%] Built target modulessensors Scanning dependencies of target driverslis3mdl [ 50%] Linking CXX static library libdrivers__camera_trigger.a Scanning dependencies of target driversiridiumsbd [ 50%] Building CXX object src/drivers/lis3mdl/CMakeFiles/driverslis3mdl.dir/lis3mdl_i2c.cpp.obj [ 50%] Built target drivers__camera_trigger Scanning dependencies of target driversulanding [ 50%] Building CXX object src/drivers/iridiumsbd/CMakeFiles/driversiridiumsbd.dir/IridiumSBD.cpp.obj [ 51%] Building CXX object src/drivers/ulanding/CMakeFiles/driversulanding.dir/ulanding.cpp.obj [ 52%] Building CXX object src/drivers/lis3mdl/CMakeFiles/driverslis3mdl.dir/lis3mdl_spi.cpp.obj [ 52%] Linking CXX static library libdriversbst.a [ 52%] Built target driversbst Scanning dependencies of target systemcmdsbl_update [ 52%] Building C object src/systemcmds/bl_update/CMakeFiles/systemcmdsbl_update.dir/bl_update.c.obj [ 52%] Linking CXX static library libdriversulanding.a [ 52%] Building CXX object src/drivers/lis3mdl/CMakeFiles/driverslis3mdl.dir/lis3mdl.cpp.obj [ 52%] Built target driversulanding Scanning dependencies of target systemcmdsconfig [ 52%] Linking C static library libsystemcmds__bl_update.a [ 53%] Building C object src/systemcmds/config/CMakeFiles/systemcmdsconfig.dir/config.c.obj [ 53%] Building C object src/drivers/iridiumsbd/CMakeFiles/driversiridiumsbd.dir/iridiumsbd_params.c.obj [ 53%] Built target systemcmds__bl_update Scanning dependencies of target systemcmdshardfault_log [ 54%] Linking CXX static library libdriversiridiumsbd.a [ 54%] Building C object src/systemcmds/hardfault_log/CMakeFiles/systemcmdshardfault_log.dir/hardfault_log.c.obj [ 54%] Built target driversiridiumsbd Scanning dependencies of target systemcmdsmixer [ 54%] Linking C static library libsystemcmdsconfig.a [ 54%] Building CXX object src/systemcmds/mixer/CMakeFiles/systemcmdsmixer.dir/mixer.cpp.obj [ 54%] Built target systemcmdsconfig Scanning dependencies of target systemcmdsmtd [ 55%] Linking CXX static library libsystemcmdsmixer.a [ 55%] Building C object src/systemcmds/mtd/CMakeFiles/systemcmdsmtd.dir/mtd.c.obj [ 55%] Linking C static library libsystemcmdshardfault_log.a [ 55%] Built target systemcmdsmixer Scanning dependencies of target systemcmdsnshterm [ 55%] Built target systemcmdshardfault_log [ 55%] Linking CXX static library libdriverslis3mdl.a Scanning dependencies of target systemcmdsparam [ 55%] Building C object src/systemcmds/nshterm/CMakeFiles/systemcmdsnshterm.dir/nshterm.c.obj [ 55%] Built target driverslis3mdl [ 55%] Building C object src/systemcmds/mtd/CMakeFiles/systemcmdsmtd.dir/24xxxx_mtd.c.obj [ 56%] Building C object src/systemcmds/param/CMakeFiles/systemcmdsparam.dir/param.c.obj Scanning dependencies of target systemcmdsperf [ 56%] Linking C static library libsystemcmdsnshterm.a [ 56%] Building C object src/systemcmds/perf/CMakeFiles/systemcmdsperf.dir/perf.c.obj [ 56%] Built target systemcmdsnshterm Scanning dependencies of target systemcmdspwm [ 56%] Linking C static library libsystemcmdsmtd.a [ 56%] Built target systemcmdsmtd Scanning dependencies of target systemcmdsreboot [ 56%] Building C object src/systemcmds/pwm/CMakeFiles/systemcmdspwm.dir/pwm.c.obj [ 56%] Linking C static library libsystemcmdsperf.a [ 56%] Building C object src/systemcmds/reboot/CMakeFiles/systemcmdsreboot.dir/reboot.c.obj [ 56%] Built target systemcmdsperf [ 56%] Linking C static library libsystemcmdsparam.a Scanning dependencies of target systemcmdstop [ 56%] Built target systemcmdsparam Scanning dependencies of target systemcmdsver [ 56%] Building C object src/systemcmds/top/CMakeFiles/systemcmdstop.dir/top.c.obj [ 56%] Linking C static library libsystemcmdsreboot.a [ 56%] Building C object src/systemcmds/ver/CMakeFiles/systemcmdsver.dir/ver.c.obj [ 56%] Built target systemcmdsreboot [ 56%] Linking C static library libsystemcmdstop.a Scanning dependencies of target modulescommander [ 57%] Linking C static library libsystemcmdsver.a [ 57%] Built target systemcmdstop Scanning dependencies of target modulesload_mon [ 57%] Built target systemcmdsver [ 58%] Linking C static library libsystemcmdspwm.a Scanning dependencies of target modulesnavigator [ 58%] Building CXX object src/modules/load_mon/CMakeFiles/modulesload_mon.dir/load_mon.cpp.obj [ 58%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/commander.cpp.obj [ 58%] Built target systemcmdspwm Scanning dependencies of target modulesmavlink [ 58%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/navigator_main.cpp.obj [ 58%] Linking CXX static library libmodules__load_mon.a [ 58%] Built target modulesload_mon Scanning dependencies of target modulesgpio_led [ 59%] Building C object src/modules/mavlink/CMakeFiles/modules__mavlink.dir/mavlink.c.obj [ 59%] Building C object src/modules/gpio_led/CMakeFiles/modulesgpio_led.dir/gpio_led.c.obj [ 59%] Linking C static library libmodulesgpio_led.a [ 59%] Built target modulesgpio_led Scanning dependencies of target uavcan [ 59%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/driver/uc_can.cpp.obj [ 59%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_main.cpp.obj [ 59%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/navigator_mode.cpp.obj [ 59%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/marshal/uc_bit_array_copy.cpp.obj [ 59%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/marshal/uc_bit_stream.cpp.obj [ 59%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/mission_block.cpp.obj [ 59%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/marshal/uc_float_spec.cpp.obj [ 60%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/marshal/uc_scalar_codec.cpp.obj [ 60%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_generic_publisher.cpp.obj [ 60%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/mission.cpp.obj [ 60%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_generic_subscriber.cpp.obj [ 60%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/state_machine_helper.cpp.obj [ 60%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_global_data_type_registry.cpp.obj [ 60%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_scheduler.cpp.obj [ 60%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_mission.cpp.obj [ 61%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/loiter.cpp.obj [ 61%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/commander_helper.cpp.obj [ 62%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_service_client.cpp.obj [ 62%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/rtl.cpp.obj [ 62%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/calibration_routines.cpp.obj [ 62%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/node/uc_timer.cpp.obj [ 62%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/takeoff.cpp.obj [ 62%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/accelerometer_calibration.cpp.obj [ 62%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/protocol/uc_dynamic_node_id_client.cpp.obj [ 62%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/land.cpp.obj [ 62%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_parameters.cpp.obj [ 62%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/mission_feasibility_checker.cpp.obj [ 63%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/gyro_calibration.cpp.obj [ 63%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/protocol/uc_node_status_provider.cpp.obj [ 64%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/geofence.cpp.obj [ 64%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/mag_calibration.cpp.obj [ 64%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_orb_subscription.cpp.obj [ 64%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/datalinkloss.cpp.obj [ 64%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/baro_calibration.cpp.obj [ 65%] Building CXX object src/modules/mavlink/CMakeFiles/modules__mavlink.dir/mavlink_messages.cpp.obj [ 65%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/rc_calibration.cpp.obj [ 65%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/airspeed_calibration.cpp.obj [ 65%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/rcloss.cpp.obj [ 65%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_can_acceptance_filter_configurator.cpp.obj [ 67%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/esc_calibration.cpp.obj [ 67%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/enginefailure.cpp.obj [ 67%] Building CXX object src/modules/commander/CMakeFiles/modulescommander.dir/PreflightCheck.cpp.obj [ 67%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/gpsfailure.cpp.obj [ 67%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_can_io.cpp.obj [ 67%] Linking CXX static library libmodulescommander.a [ 67%] Built target modulescommander [ 68%] Building CXX object src/modules/navigator/CMakeFiles/modulesnavigator.dir/follow_target.cpp.obj Scanning dependencies of target modulesland_detector [ 68%] Building CXX object src/modules/land_detector/CMakeFiles/modulesland_detector.dir/land_detector_main.cpp.obj [ 68%] Building CXX object src/modules/land_detector/CMakeFiles/modules__land_detector.dir/LandDetector.cpp.obj [ 69%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_crc.cpp.obj [ 69%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_dispatcher.cpp.obj [ 69%] Linking CXX static library libmodulesnavigator.a [ 70%] Building CXX object src/modules/land_detector/CMakeFiles/modulesland_detector.dir/MulticopterLandDetector.cpp.obj [ 70%] Built target modulesnavigator Scanning dependencies of target modulesekf2 [ 70%] Building CXX object src/modules/ekf2/CMakeFiles/modulesekf2.dir/ekf2_main.cpp.obj [ 70%] Building CXX object src/modules/land_detector/CMakeFiles/modulesland_detector.dir/FixedwingLandDetector.cpp.obj [ 70%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_frame.cpp.obj [ 70%] Building CXX object src/modules/land_detector/CMakeFiles/modulesland_detector.dir/VtolLandDetector.cpp.obj [ 70%] Linking CXX static library libmodulesland_detector.a [ 70%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_outgoing_transfer_registry.cpp.obj [ 70%] Built target modulesland_detector Scanning dependencies of target libecl [ 70%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/attitude_fw/ecl_controller.cpp.obj [ 70%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_transfer.cpp.obj [ 71%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/attitude_fw/ecl_pitch_controller.cpp.obj [ 72%] Linking CXX static library libmodulesekf2.a [ 73%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_transfer_buffer.cpp.obj [ 73%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_stream.cpp.obj [ 73%] Built target modulesekf2 Scanning dependencies of target libexternal_lgpl [ 73%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/attitude_fw/ecl_roll_controller.cpp.obj [ 73%] Building CXX object src/lib/external_lgpl/CMakeFiles/libexternal_lgpl.dir/tecs/tecs.cpp.obj [ 73%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/attitude_fw/ecl_yaw_controller.cpp.obj [ 73%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_transfer_listener.cpp.obj [ 73%] Linking CXX static library liblibexternal_lgpl.a [ 73%] Built target lib__external_lgpl Scanning dependencies of target modulesmc_att_control [ 73%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_rate_limiter.cpp.obj [ 73%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/attitude_fw/ecl_wheel_controller.cpp.obj [ 73%] Building CXX object src/modules/mc_att_control/CMakeFiles/modulesmc_att_control.dir/mc_att_control_main.cpp.obj [ 73%] Building CXX object src/modules/mavlink/CMakeFiles/modules__mavlink.dir/mavlink_receiver.cpp.obj [ 73%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/l1/ecl_l1_pos_controller.cpp.obj [ 73%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_transfer_receiver.cpp.obj [ 74%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/validation/data_validator.cpp.obj [ 74%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/transport/uc_transfer_sender.cpp.obj [ 74%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/validation/data_validator_group.cpp.obj [ 74%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/uc_data_type.cpp.obj [ 74%] Linking CXX static library libmodulesmc_att_control.a [ 74%] Building CXX object src/lib/ecl/CMakeFiles/lib__ecl.dir/EKF/estimator_interface.cpp.obj [ 74%] Built target modulesmc_att_control Scanning dependencies of target modulesmc_pos_control [ 75%] Building CXX object src/modules/mc_pos_control/CMakeFiles/modulesmc_pos_control.dir/mc_pos_control_main.cpp.obj [ 75%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/uc_dynamic_memory.cpp.obj [ 76%] Building CXX object src/modules/uavcan/libuavcan/libuavcan/CMakeFiles/uavcan.dir/src/uc_error.cpp.obj [ 76%] Linking CXX static library libuavcan.a [ 76%] Built target uavcan [ 76%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_ftp.cpp.obj [ 76%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/ekf.cpp.obj [ 76%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_log_handler.cpp.obj [ 77%] Building CXX object src/modules/mavlink/CMakeFiles/modules__mavlink.dir/mavlink_shell.cpp.obj [ 77%] Building CXX object src/modules/mavlink/CMakeFiles/modulesmavlink.dir/mavlink_ulog.cpp.obj [ 77%] Linking CXX static library libmodulesmc_pos_control.a [ 77%] Built target modulesmc_pos_control Scanning dependencies of target modulesvtol_att_control [ 77%] Building CXX object src/modules/vtol_att_control/CMakeFiles/modulesvtol_att_control.dir/vtol_att_control_main.cpp.obj [ 77%] Building CXX object src/modules/vtol_att_control/CMakeFiles/modulesvtol_att_control.dir/tiltrotor.cpp.obj [ 77%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/ekf_helper.cpp.obj [ 78%] Building CXX object src/modules/vtol_att_control/CMakeFiles/modulesvtol_att_control.dir/vtol_type.cpp.obj [ 78%] Building CXX object src/modules/vtol_att_control/CMakeFiles/modulesvtol_att_control.dir/tailsitter.cpp.obj [ 78%] Linking CXX static library libmodulesmavlink.a [ 78%] Built target modulesmavlink Scanning dependencies of target modulessdlog2 [ 78%] Building C object src/modules/sdlog2/CMakeFiles/modulessdlog2.dir/sdlog2.c.obj [ 78%] Building CXX object src/modules/vtol_att_control/CMakeFiles/modulesvtol_att_control.dir/standard.cpp.obj [ 79%] Building C object src/modules/sdlog2/CMakeFiles/modulessdlog2.dir/logbuffer.c.obj [ 79%] Generating px4_parameters.h, px4_parameters.c [ 79%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/covariance.cpp.obj Scanning dependencies of target modulesparam [ 79%] Building C object src/modules/param/CMakeFiles/modulesparam.dir/px4_parameters.c.obj [ 79%] Linking C static library libmodulesparam.a [ 79%] Linking CXX static library libmodulesvtol_att_control.a [ 79%] Built target modulesparam Scanning dependencies of target modulessystemlibmixer [ 79%] Built target modulesvtol_att_control Scanning dependencies of target modulesuORB [ 80%] Building CXX object src/modules/systemlib/mixer/CMakeFiles/modulessystemlibmixer.dir/mixer.cpp.obj [ 80%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/uORBUtils.cpp.obj [ 80%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/uORB.cpp.obj [ 80%] Building CXX object src/modules/systemlib/mixer/CMakeFiles/modulessystemlibmixer.dir/mixer_group.cpp.obj [ 80%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/uORBMain.cpp.obj [ 80%] Linking C static library libmodulessdlog2.a [ 80%] Built target modulessdlog2 [ 80%] Building CXX object src/modules/systemlib/mixer/CMakeFiles/modulessystemlibmixer.dir/mixer_multirotor.cpp.obj Scanning dependencies of target modulesdataman [ 80%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/Publication.cpp.obj [ 80%] Building C object src/modules/dataman/CMakeFiles/modulesdataman.dir/dataman.c.obj [ 80%] Building CXX object src/modules/systemlib/mixer/CMakeFiles/modulessystemlib__mixer.dir/mixer_simple.cpp.obj [ 81%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/Subscription.cpp.obj [ 81%] Linking C static library libmodulesdataman.a [ 81%] Built target modulesdataman Scanning dependencies of target libcontrollib [ 81%] Building CXX object src/lib/controllib/CMakeFiles/libcontrollib.dir/blocks.cpp.obj [ 81%] Building CXX object src/modules/systemlib/mixer/CMakeFiles/modulessystemlibmixer.dir/mixer_helicopter.cpp.obj [ 81%] Building CXX object src/lib/controllib/CMakeFiles/libcontrollib.dir/block/Block.cpp.obj [ 81%] Building C object src/modules/systemlib/mixer/CMakeFiles/modulessystemlibmixer.dir/mixer_load.c.obj [ 82%] Linking CXX static library libmodulessystemlibmixer.a [ 82%] Built target modulessystemlibmixer [ 82%] Building CXX object src/lib/controllib/CMakeFiles/libcontrollib.dir/block/BlockParam.cpp.obj Scanning dependencies of target libmathlib [ 82%] Building CXX object src/lib/mathlib/CMakeFiles/libmathlib.dir/math/test/test.cpp.obj [ 82%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/uORBManager.cpp.obj [ 82%] Building CXX object src/lib/mathlib/CMakeFiles/libmathlib.dir/math/Limits.cpp.obj [ 83%] Building CXX object src/lib/controllib/CMakeFiles/libcontrollib.dir/uorb/blocks.cpp.obj [ 83%] Linking CXX static library liblibmathlib.a [ 83%] Built target libmathlib Scanning dependencies of target libmathlibmathfilter [ 83%] Building CXX object src/lib/mathlib/math/filter/CMakeFiles/libmathlibmathfilter.dir/LowPassFilter2p.cpp.obj [ 83%] Building CXX object src/modules/uORB/CMakeFiles/modulesuORB.dir/uORBDevices.cpp.obj [ 83%] Linking CXX static library liblibcontrollib.a [ 84%] Linking CXX static library liblibmathlibmathfilter.a [ 84%] Built target libcontrollib Scanning dependencies of target libgeo [ 84%] Built target libmathlibmathfilter Scanning dependencies of target lib__geo_lookup [ 85%] Building C object src/lib/geo/CMakeFiles/libgeo.dir/geo.c.obj [ 85%] Building C object src/lib/geo_lookup/CMakeFiles/libgeo_lookup.dir/geo_mag_declination.c.obj [ 86%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/vel_pos_fusion.cpp.obj [ 86%] Linking C static library liblibgeo_lookup.a [ 86%] Built target libgeo_lookup Scanning dependencies of target libconversion [ 86%] Building CXX object src/lib/conversion/CMakeFiles/libconversion.dir/rotation.cpp.obj [ 86%] Linking C static library liblibgeo.a [ 86%] Linking CXX static library libmodulesuORB.a [ 86%] Built target libgeo Scanning dependencies of target liblaunchdetection [ 86%] Built target modulesuORB Scanning dependencies of target libterrain_estimation [ 87%] Building CXX object src/lib/terrain_estimation/CMakeFiles/libterrain_estimation.dir/terrain_estimator.cpp.obj [ 87%] Building CXX object src/lib/launchdetection/CMakeFiles/liblaunchdetection.dir/LaunchDetector.cpp.obj [ 87%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/mag_fusion.cpp.obj [ 87%] Linking CXX static library liblibconversion.a [ 87%] Built target libconversion Scanning dependencies of target librunway_takeoff [ 87%] Building CXX object src/lib/runway_takeoff/CMakeFiles/librunway_takeoff.dir/RunwayTakeoff.cpp.obj [ 88%] Building CXX object src/lib/launchdetection/CMakeFiles/liblaunchdetection.dir/CatapultLaunchMethod.cpp.obj [ 88%] Linking CXX static library libliblaunchdetection.a [ 88%] Built target liblaunchdetection Scanning dependencies of target libtailsitter_recovery [ 88%] Linking CXX static library liblibrunway_takeoff.a [ 88%] Building CXX object src/lib/tailsitter_recovery/CMakeFiles/libtailsitter_recovery.dir/tailsitter_recovery.cpp.obj [ 88%] Linking CXX static library liblib__terrain_estimation.a [ 88%] Built target librunway_takeoff Scanning dependencies of target libversion [ 88%] Built target libterrain_estimation Scanning dependencies of target platformsnuttxpx4_layer [ 88%] Building C object src/lib/version/CMakeFiles/libversion.dir/version.c.obj [ 89%] Building C object src/platforms/nuttx/px4_layer/CMakeFiles/platformsnuttxpx4_layer.dir/px4_nuttx_tasks.c.obj [ 89%] Linking C static library liblibversion.a [ 89%] Building C object src/platforms/nuttx/px4_layer/CMakeFiles/platformsnuttxpx4_layer.dir///posix/px4_layer/px4_log.c.obj [ 89%] Built target libversion Scanning dependencies of target df_driver_framework [ 89%] Linking C static library libplatformsnuttxpx4_layer.a [ 89%] Linking CXX static library liblibtailsitter_recovery.a [ 89%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/DriverFramework_NuttX.cpp.obj [ 89%] Built target platformsnuttxpx4_layer [ 89%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/DevMgr_Nuttx.cpp.obj [ 89%] Built target libtailsitter_recovery Scanning dependencies of target fw_io [ 89%] Generating px4io-v2.bin [ 89%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/DFList.cpp.obj [ 89%] Built target fw_io Scanning dependencies of target modulesuavcan [ 90%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/SyncObj.cpp.obj [ 90%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/Time.cpp.obj [ 90%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/gps_checks.cpp.obj [ 90%] Linking CXX static library libdf_driver_framework.a [ 90%] Built target df_driver_framework Scanning dependencies of target uavcan_stm32_driver [ 90%] Building CXX object src/modules/uavcan/CMakeFiles/modules__uavcan.dir/uavcan_main.cpp.obj [ 90%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/airspeed_fusion.cpp.obj [ 90%] Building CXX object src/modules/uavcan/libuavcan/libuavcan_drivers/stm32/driver/CMakeFiles/uavcan_stm32_driver.dir/src/uc_stm32_can.cpp.obj [ 90%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/sideslip_fusion.cpp.obj [ 91%] Building CXX object src/lib/ecl/CMakeFiles/lib__ecl.dir/EKF/optflow_fusion.cpp.obj [ 91%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/control.cpp.obj [ 91%] Building CXX object src/modules/uavcan/libuavcan/libuavcan_drivers/stm32/driver/CMakeFiles/uavcan_stm32_driver.dir/src/uc_stm32_clock.cpp.obj [ 91%] Building CXX object src/lib/ecl/CMakeFiles/libecl.dir/EKF/terrain_estimator.cpp.obj Scanning dependencies of target modulessystemlib [ 91%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/perf_counter.c.obj [ 91%] Linking CXX static library liblibecl.a [ 91%] Built target libecl Scanning dependencies of target libDriverFrameworkframework [ 91%] Building CXX object src/lib/DriverFramework/framework/CMakeFiles/libDriverFrameworkframework.dir/px4/df_dummy.cpp.obj [ 91%] Building CXX object src/modules/uavcan/libuavcan/libuavcan_drivers/stm32/driver/CMakeFiles/uavcan_stm32_driver.dir/src/uc_stm32_thread.cpp.obj [ 91%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/conversions.c.obj [ 91%] Linking CXX static library liblibDriverFrameworkframework.a [ 91%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/cpuload.c.obj [ 91%] Built target libDriverFrameworkframework [ 91%] Generating extras/px4io-v2.bin [ 91%] Generating romfs.o [ 92%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/pid/pid.c.obj [ 92%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/airspeed.c.obj [ 92%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/mavlink_log.c.obj **Traceback (most recent call last): File "/home/ivan/src/Firmware/cmake/nuttx/bin_to_obj.py", line 56, in locals()) File "/home/ivan/src/Firmware/cmake/nuttx/bin_to_obj.py", line 47, in run_cmd raise RuntimeError(stderr) RuntimeError: /usr/bin/arm-none-eabi-ld: romfs.bin: not in ELF format

src/firmware/nuttx/CMakeFiles/romfs.dir/build.make:195: recipe for target 'src/firmware/nuttx/romfs.o' failed make[3]: [src/firmware/nuttx/romfs.o] Error 1 CMakeFiles/Makefile2:6544: recipe for target 'src/firmware/nuttx/CMakeFiles/romfs.dir/all' failed make[2]: [src/firmware/nuttx/CMakeFiles/romfs.dir/all] Error 2 make[2]: Waiting for unfinished jobs.... [ 92%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/rc_check.c.obj [ 92%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/otp.c.obj [ 93%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/board_serial.c.obj [ 93%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/pwm_limit/pwm_limit.c.obj [ 94%] Linking CXX static library libuavcan_stm32_driver.a [ 94%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/mcu_version.c.obj [ 94%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/bson/tinybson.c.obj [ 94%] Built target uavcan_stm32_driver [ 94%] Building CXX object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/circuit_breaker.cpp.obj [ 95%] Building CXX object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/battery.cpp.obj [ 95%] Building CXX object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/hysteresis/hysteresis.cpp.obj [ 95%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/err.c.obj [ 95%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/printload.c.obj [ 95%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/param/param.c.obj [ 95%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/flashparams/flashparams.c.obj [ 96%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/flashparams/flashfs.c.obj [ 96%] Building C object src/modules/systemlib/CMakeFiles/modulessystemlib.dir/up_cxxinitialize.c.obj [ 96%] Building C object src/modules/systemlib/CMakeFiles/modules__systemlib.dir/hx_stream.c.obj [ 96%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/uavcan_servers.cpp.obj [ 97%] Building C object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/uavcan_params.c.obj [ 97%] Linking CXX static library libmodulessystemlib.a [ 97%] Built target modulessystemlib [ 97%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/actuators/esc.cpp.obj [ 97%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/actuators/hardpoint.cpp.obj [ 97%] Building CXX object src/modules/uavcan/CMakeFiles/modules__uavcan.dir/sensors/sensor_bridge.cpp.obj [ 97%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/sensors/gnss.cpp.obj [ 98%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/sensors/mag.cpp.obj [ 98%] Building CXX object src/modules/uavcan/CMakeFiles/modulesuavcan.dir/sensors/baro.cpp.obj [ 98%] Linking CXX static library libmodulesuavcan.a [ 98%] Built target modulesuavcan Makefile:160: recipe for target 'all' failed make[1]: [all] Error 2 Makefile:153: recipe for target 'px4fmu-v2_default' failed make: * [px4fmu-v2_default] Error 2

arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 6.2.1 20161205 (release) [ARM/embedded-6-branch revision 243739] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake --version cmake version 3.5.2

gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609


Tried as LorenzMeier said make clean and make distclean and also he said that the gcc 6.2.1 was fixed on master but i can't build. Thanks

dagar commented 7 years ago

What about arm-none-eabi-gcc --version?

kd0aij commented 7 years ago

Duplicate issue: see https://github.com/PX4/Firmware/issues/6232#issuecomment-270263524

ivan95603 commented 7 years ago

@dagar, arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 6.2.1 20161205 (release) [ARM/embedded-6-branch revision 243739]

ivan95603 commented 7 years ago

@kd0aij, It is similar but it hasn't been fixed yet I also tried sudo apt-get install libc6:i386 libgcc1:i386 libstdc++5:i386 libstdc++6:i386 still nothing

dagar commented 7 years ago

@ivan95603 as a temporary work around I suggest you switch to arm-none-eabi-gcc 5.4 as described in the dev guide. http://dev.px4.io/starting-installing-linux-boutique.html

Follow https://github.com/PX4/Firmware/issues/6232 to see when 6.2 is working.

kd0aij commented 7 years ago

use the 5.4 toolchain, not 6.2, as it says in the comment

ivan95603 commented 7 years ago

Thanks @kd0aij and @dagar, Done:

pushd . cd ~ wget https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q2-update/+download/gcc-arm-none-eabi-5_4-2016q2-20160622-linux.tar.bz2 tar -jxf gcc-arm-none-eabi-5_4-2016q2-20160622-linux.tar.bz2 exportline="export PATH=$HOME/gcc-arm-none-eabi-5_4-2016q2/bin:\$PATH" if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi . ~/.profile popd

make clean

make distclean

and it works now with:

arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715]