Edge Arducopter 3.6.11 compilation error

On my Edge (Firmware 1.5), I have a compilation error when trying to compile latest stable (3.6.11):

[342/562] Compiling libraries/GCS_MAVLink/MAVLink_routing.cpp
[343/562] Compiling libraries/GCS_MAVLink/GCS_Common.cpp
[344/562] Compiling libraries/GCS_MAVLink/GCS_MAVLink.cpp
[345/562] Compiling libraries/RC_Channel/RC_Channel.cpp
…/…/libraries/GCS_MAVLink/GCS_Common.cpp: In member function ‘void GCS_MAVLINK::send_distance_sensor(const AP_RangeFinder_Backend*, uint8_t) const’:
…/…/libraries/GCS_MAVLink/GCS_Common.cpp:247:10: error: too few arguments to function ‘void mavlink_msg_distance_sensor_send(mavlink_channel_t, uint32_t, uint16_t, uint16_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, float, float, const float*)’
0); // Measurement covariance in centimeters, 0 for unknown / invalid readings
compilation terminated due to -Wfatal-errors.

Waf: Leaving directory `/home/pi/ardupilot/build/edge’
Build failed
-> task in ‘objs/GCS_MAVLink’ failed (exit status 1):
{task 1983432240: cxx GCS_Common.cpp -> GCS_Common.cpp.0.o}
(run with -v to display more information)

The same compilation for Navio2 on Raspberry (2019-02-27 image) is OK

More info:

The partition map of the Edge doesn’t give enough room for compilation…


Cross compilation of arducopter 3.6.11 with Raspberry and Emlid Navio2 2019.02.27 image is fine and running.

Oneshot125 is not working

Hi Marc,

We’ll try to reproduce the issue. I’ll come back to you with the news :wink:

Hi Marc,

Sorry it takes so long to reproduce the issue!

I’m still working on it. I’ll reach out once there’s news.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.