All of lore.kernel.org
 help / color / mirror / Atom feed
* Build failure on macOS for wireguard tools 0.0.20171001
@ 2017-10-02  6:27 ilove zfs
  2017-10-02 11:07 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: ilove zfs @ 2017-10-02  6:27 UTC (permalink / raw)
  To: wireguard

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build failure on macOS for wireguard tools 0.0.20171001
  2017-10-02  6:27 Build failure on macOS for wireguard tools 0.0.20171001 ilove zfs
@ 2017-10-02 11:07 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2017-10-02 11:07 UTC (permalink / raw)
  To: ilove zfs; +Cc: WireGuard mailing list

Rats, sorry about that. Thanks for sending this my way. The fix will
be in the next snapshot. But for now, you can simply use this:

https://git.zx2c4.com/WireGuard/patch/?id=eb578ac0cbfa0e9b6fd5f8f56ccdc407ca860e96

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-02 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-02  6:27 Build failure on macOS for wireguard tools 0.0.20171001 ilove zfs
2017-10-02 11:07 ` Jason A. Donenfeld

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.