When building the latest curl 7.66.0 on Solaris 10 the build fails with ``` gmake[2]: Entering directory '/home/dam/mgar/pkg/curl/trunk/work/solaris10-sparc/build-isa-sparcv8plus-features-minimal/curl-7.66.0/lib' CC libcurl_la-asyn-thread.lo "asyn-thread.c", line 248: undefined symbol: AF_LOCAL cc: acomp failed for asyn-thread.c ``` This is because `AF_LOCAL` does not exist on Solaris. As a suggested workaround `AF_UNIX` could be used.
Activity
dago commentedon Sep 11, 2019
I wonder why this did not pop up on the continuous build environment.
bagder commentedon Sep 11, 2019
That's indeed a mystery!
So does it work for you if we simply use
AF_UNIXthere instead?asyn-thread: s/AF_LOCAL/AF_UNIX for Solaris
dago commentedon Sep 12, 2019
Yes, this seems to work and the compilation and testsuite passes.
bagder commentedon Sep 12, 2019
Thanks!