Skip to content
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

Curl is not building in OSX10.14 and Xcode 10 #10

Open
grimepoch opened this issue May 19, 2019 · 0 comments
Open

Curl is not building in OSX10.14 and Xcode 10 #10

grimepoch opened this issue May 19, 2019 · 0 comments

Comments

@grimepoch
Copy link

grimepoch commented May 19, 2019

The version of curl being pointed to in the Makefiles is not compiling, and it seems to be some incompatibility with Xcode and curl, not sure where the mistake is.

The recommendation was to move up to curl-7.56 which I changed the dep Makefile to:

libcurl = curl-7.56.1

Rebuilt and that compiled with no problem.

This is what the error looked like, in case anyone searches for this:

connect.c:1086:12: error: 'connectx' is only available on macOS 10.11 or newer
      [-Werror,-Wunguarded-availability]
      rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
           ^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/socket.h:718:5: note:
      'connectx' has been explicitly marked partial here
int connectx(int, const sa_endpoints_t *, sae_associd_t, unsigned int,
    ^
connect.c:1086: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[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant