PX4 Compilation Error Using catkin build


I created a symbolic link of Firmware inside my catkin_ws/src

ls -s ~/src/Firmware ~/catkin_ws/src/px4

When I use catkin build, I get the following error,

/home/mzahana/catkin_ws/src/px4/src/modules/mavlink/mavlink_tests/mavlink_ftp_test.cpp:851:41: error: ‘reply’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   ut_compare("Offset incorrect", reply->offset, full_packet_bytes);
compilation terminated due to -Wfatal-errors

Can anyone please help in explaining and solving this issue?


1 Like

Did you solve this issue?