Copter 3.6.6 build fails

Hello,
After updating to Copter-3.6.6 building copter fails with error: **../../libraries/GCS_MAVLink/GCS_Common.cpp:247:10:** **fatal error:** **no matching function for call to 'mavlink_msg_distance_sensor_send'
with a complaint about too few arguments.

I did distclean, configured for --board sitl again but same error happened.

Build machine is linux ubuntu 18.04.

Any clues or suggestions?
Thanks,

Sigh… updating the git submodules has resolve the error.

Sorry for the noise.

1 Like

git submodule update --recursive