-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling IPv6 support #242
Comments
Where is failing your build? Which are the defines or functions in Micro XRCE-DDS Client transports that are not defined in your system? Just |
Yes, essentially all files referring to
I could also |
Basically, those files are not going to be built if you are in a non-windows platform:
If you are building the library with a CMake cross-compilation toolchain, is possible to add to your toolchain file: add_compile_definitions(AF_INET6=AF_INET) If you are building the library in the platform using a CMake call you can do:
If you want to contribute a PR with an implementation of your proposal, it will be really welcomed. Thanks! |
I might contribute a PR, but I'd need some more information/guidance. Would re: your suggestions: yes, I have something like that right now, but that would be what I'd consider work-arounds. |
Yes, the approach should be adding something like |
I met the same issue. It would surely be interesting to have this switch for configuration. |
The platform I'm trying to build the client for does not offer support for IPv6.
While it doesn't appear there are many places where
AF_INET6
et al. is referenced, I wanted to ask whether there is a way to disable looking for/using IPv6 at configure time (CMake option perhaps)?Edit: I'm running into this as I'm trying to build the
posix
set of UDP/TCP transports. I could create a custom transport and make it "IPv6-less", but I'm hoping there would be a more efficient way of achieving this.The text was updated successfully, but these errors were encountered: