connect.c:1087:12: error: 'connectx' is only available on iOS 9.0 or newer [-Werror,-Wunguarded-availability]
rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/socket.h:713:5: note: 'connectx' has been explicitly marked
partial here
int connectx(int, const sa_endpoints_t *, sae_associd_t, unsigned int,
^
connect.c:1087:12: note: enclose 'connectx' in a __builtin_available check to silence this warning
rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
^~~~
1 error generated.
make[2]: [libcurl_la-connect.lo] Error 1
make[2]: Waiting for unfinished jobs....
make[1]: [all] Error 2
make: [all-recursive] Error 1
Error running the make program
with Xcode 9.4