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
Unguarded reference to AF_INET6 in lib/connect.c #6069
Comments
Reported-by: Tom G. Christensen Fixes #6069
Can you give #6071 a try? I figure it should fix the build and make it work for you again. |
I've tested the second patch posted by Jay, the one with AF_UNSPEC. TESTDONE: 1103 tests out of 1106 reported OK: 99% |
Result for 7.73.0 + patch: |
Thanks for verifying! Will merge this now... |
There is an unguarded use of AF_INET6 in lib/connect.c:
curl/lib/connect.c
Line 1337 in a326877
It prevented curl 7.72.0 from building out of the box on Solaris 2.6 as it has no IPv6 support.
After a quick workaround of replacing AF_INET6 with AF_INET the build completed.
Test results after workaround:
TESTDONE: 1103 tests out of 1106 reported OK: 99%
TESTFAIL: These test cases failed: 1700 1701 1702
TESTDONE: 1374 tests were considered during 660 seconds.
The text was updated successfully, but these errors were encountered: