curl / Mailing Lists / curl-library / Single Mail

curl-library

building on MacOS High Sierra

From: Stefan Eissing <stefan.eissing_at_greenbytes.de>
Date: Fri, 29 Sep 2017 16:09:13 +0200

Any advice on how to best avoid this?

building curl...connect.c:1069:12: error: 'connectx' is only available on macOS 10.11 or newer
      [-Werror,-Wunguarded-availability]
      rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY,
           ^~~~~~~~
/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,
    ^

acinclude.m4 and configure itself default the min macos version to 10.8, which is not enough for connectx. If I edit that to 10.11, it works.

Cheers,

Stefan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-29