APWeb
APWeb copied to clipboard
MAVlink 2.0 compatibility issues
Hi, it seems there is a problem with MAVlink v2.0, files generated using pymavlink in C using ardupilotmega msg definitions.
mavlink_json.o: In function `mavlink_message_send_args':
/APWeb/mavlink_json.c:271: undefined reference to `mavlink_set_proto_version'
/APWeb/mavlink_json.c:273: undefined reference to `mavlink_get_crc_extra'
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'web_server' failed
make: *** [web_server] Error 1
Did you get this sorted? Can you give steps-to-reproduce, please?
Simply compiling (with make) the files on Raspian Jesse after having generated mavlink definition libraries in C using pymavlink and the ardupilotmega.xml definitions. Apparently the mavlink_json.c file lacks a statically linked library.