Build fail error.

Sahil Gupta sg5414 at rit.edu
Tue Jul 11 02:23:16 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170710/ff31181f/attachment-0001.html>


More information about the WireGuard mailing list