打印

ros2

[复制链接]
1415|2
手机看帖
扫描二维码
随时随地手机跟帖
沙发
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]

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1352

主题

12436

帖子

53

粉丝