Development discussion of WireGuard
 help / color / mirror / Atom feed
From: ilove zfs <ilovezfs@icloud.com>
To: wireguard@lists.zx2c4.com
Subject: Build failure on macOS for wireguard tools 0.0.20171001
Date: Mon, 02 Oct 2017 06:27:07 +0000 (GMT)	[thread overview]
Message-ID: <f220e737-a703-433e-8761-8db3584bb7d8@me.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

MNL_SOCKET_BUFFER_SIZE is not defined on macOS since libmnl.h is for Linux only but  0.0.20171001 still attempts to use it, leading to build failure



A full build log is here: https://gist.github.com/ilovezfs/ae19ee8af5b64bc1e89b453b2283b53f



The error is "ipc.c:891:45: error: use of undeclared identifier 'MNL_SOCKET_BUFFER_SIZE'"


Ref: https://github.com/Homebrew/homebrew-core/pull/18822





[-- Attachment #2.1: Type: text/html, Size: 661 bytes --]

             reply	other threads:[~2017-10-02  5:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02  6:27 ilove zfs [this message]
2017-10-02 11:07 ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f220e737-a703-433e-8761-8db3584bb7d8@me.com \
    --to=ilovezfs@icloud.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).