APWeb icon indicating copy to clipboard operation
APWeb copied to clipboard

MAVlink 2.0 compatibility issues

Open OxMarco opened this issue 6 years ago • 2 comments

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

OxMarco avatar Jun 13 '18 22:06 OxMarco

Did you get this sorted? Can you give steps-to-reproduce, please?

peterbarker avatar Jul 04 '18 04:07 peterbarker

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.

OxMarco avatar Jul 05 '18 20:07 OxMarco