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]
|