ros2

[复制链接]
 楼主| keer_zu 发表于 2024-4-12 16:23 | 显示全部楼层 |阅读模式
src/ros2/rosidl_python/rosidl_generator_py
 楼主| keer_zu 发表于 2024-4-16 10:43 | 显示全部楼层
 楼主| keer_zu 发表于 2024-4-16 10:47 | 显示全部楼层
error:

Finder.cpp:(.text+0x498): undefined reference to `gai_strerror'
/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: IPFinder.cpp:(.text+0x560): undefined reference to `freeifaddrs'
/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: IPFinder.cpp:(.text+0x5b0): undefined reference to `getnameinfo'
/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: IPFinder.cpp:(.text+0x664): undefined reference to `gai_strerror'
/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: CMakeFiles/fastrtps.dir/utils/IPFinder.cpp.o: in function `eprosima::fastrtps::rtps::IPFinder::getAllMACAddress(std::__1::vector<eprosima::fastrtps::rtps::IPFinder::info_MAC, std::__1::allocator<eprosima::fastrtps::rtps::IPFinder::info_MAC> >*)':
IPFinder.cpp:(.text+0xbbc): undefined reference to `getifaddrs'
/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: IPFinder.cpp:(.text+0xe74): undefined reference to `freeifaddrs'
collect2: error: ld returned 1 exit status
make[2]: *** [src/cpp/libfastrtps.so.2.3.6] Error 1
make[1]: *** [src/cpp/CMakeFiles/fastrtps.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< fastrtps [12min 14s, exited with code 2]
Aborted  <<< cyclonedds_vendor [2min 16s]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1478

主题

12917

帖子

55

粉丝
快速回复 在线客服 返回列表 返回顶部

1478

主题

12917

帖子

55

粉丝
快速回复 在线客服 返回列表 返回顶部