Closed trittsv closed 2 years ago
Hey @k0ekk0ek and @eboasson because you two are the main contributors in ddsi_udp.c i wanted to ask you about the ipv6 detection during build.
Is there a chance that checking structure size sockaddr_in6
is not enough to determine if the target system supports ipv6 or not? (Especially for those unusual targets like qnx?)
check_type_size("struct sockaddr_in6" SIZEOF_SOCKADDR_IN6)
if(SIZEOF_SOCKADDR_IN6)
set(DDSRT_HAVE_IPV6 TRUE)
endif()
How about the idea to introduce a variable to explicitly disable ipv6 (like the ones for enable/disable shared memory)? Would you welcome a pull request implementing this or is this something you don't want to support?
i was able to compile successfully on qnx 7.0.0 and 7.1.0 with the following options:
ENABLE_IPV6=OFF
ENABLE_SOURCE_SPECIFIC_MULTICAST=OFF
Here is the pull request to set ipv6 support to false via cmake options #1272
I am very happy that my temporary absence hasn't caused any real problems, @trittsv!
@eboasson thank you for your response, everything is fine dont worry :) I am just sometimes a little bit impatiently and try to push things as fast as i can 🙈
Closing because I just merged #1272
Hello,
i am trying to compile cyclonedds for QNX 7.1 with qcc 8.3 and got the following build error:
May this error is releated with ipv6? (Can i disable ipv6?)