Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Sahil Gupta <sg5414@rit.edu>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Build fail error.
Date: Mon, 10 Jul 2017 20:23:16 -0400	[thread overview]
Message-ID: <CAA8CD9skCcHmPJTXRWbNUBajRuWhYG4Tg9fVFotwsvi987og1w@mail.gmail.com> (raw)
In-Reply-To: <CAA8CD9u+Xdsu_wx2RVqCLSPwAKEGJxrj_ZL-gFUwLtYc6e9PeQ@mail.gmail.com>

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

I am using NetBeans IDE for wireguard project.

Here's error I am getting in output.
cd '/home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src'
/usr/bin/make -f Makefile
/usr/bin/make -C /lib/modules/4.4.0-83-generic/build M=/home/sahilgupta221/
Downloads/WireGuard-0.0.20170706/src modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic'
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/main.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/noise.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/device.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/peer.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/timers.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/data.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/send.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/receive.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/socket.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/config.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/hashtables.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/routingtable.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/ratelimiter.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/cookie.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/crypto/
curve25519.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/crypto/
chacha20poly1305.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/blake2s.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/chacha20-ssse3-x86_64.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/poly1305-sse2-x86_64.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/blake2s-avx-x86_64.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.20170706/src/crypto/
curve25519-avx-x86_64.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/chacha20-avx2-x86_64.o
  AS [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/crypto/poly1305-avx2-x86_64.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/compat/siphash/siphash.o
  CC [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/compat/dst_cache/dst_cache.o
  LD [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/wireguard.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/wireguard.mod.o
  LD [M]  /home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/wireguard.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic'
/usr/bin/make -C tools
make[1]: Entering directory '/home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/tools'
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o wg.o wg.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o show.o show.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o config.o config.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o terminal.o terminal.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o ipc.o ipc.c
ipc.c:4:27: fatal error: libmnl/libmnl.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'ipc.o' failed
make[1]: *** [ipc.o] Error 1
make[1]: Leaving directory '/home/sahilgupta221/Downloads/WireGuard-0.0.
20170706/src/tools'
Makefile:57: recipe for target 'tools' failed
make: *** [tools] Error 2

BUILD FAILED (exit value 2, total time: 22s)

Any help?

Regards
Sahil Gupta

[-- Attachment #2: Type: text/html, Size: 6600 bytes --]

       reply	other threads:[~2017-07-11  0:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA8CD9u+Xdsu_wx2RVqCLSPwAKEGJxrj_ZL-gFUwLtYc6e9PeQ@mail.gmail.com>
2017-07-11  0:23 ` Sahil Gupta [this message]
2017-07-11  0:24   ` Jason A. Donenfeld
2017-07-11 12:15     ` Sahil Gupta

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=CAA8CD9skCcHmPJTXRWbNUBajRuWhYG4Tg9fVFotwsvi987og1w@mail.gmail.com \
    --to=sg5414@rit.edu \
    --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).