Development discussion of WireGuard
 help / color / mirror / Atom feed
* Re: Build fail error.
       [not found] <CAA8CD9u+Xdsu_wx2RVqCLSPwAKEGJxrj_ZL-gFUwLtYc6e9PeQ@mail.gmail.com>
@ 2017-07-11  0:23 ` Sahil Gupta
  2017-07-11  0:24   ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Sahil Gupta @ 2017-07-11  0:23 UTC (permalink / raw)
  To: WireGuard mailing list

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

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

* Re: Build fail error.
  2017-07-11  0:23 ` Build fail error Sahil Gupta
@ 2017-07-11  0:24   ` Jason A. Donenfeld
  2017-07-11 12:15     ` Sahil Gupta
  0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2017-07-11  0:24 UTC (permalink / raw)
  To: Sahil Gupta; +Cc: WireGuard mailing list

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

 You forgot to install libmnl-dev. Please read the directions.

https://www.wireguard.io/install/#option-b-compiling-from-source

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

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

* Re: Build fail error.
  2017-07-11  0:24   ` Jason A. Donenfeld
@ 2017-07-11 12:15     ` Sahil Gupta
  0 siblings, 0 replies; 3+ messages in thread
From: Sahil Gupta @ 2017-07-11 12:15 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

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

Thanks.
Error resolved.
😊

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

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

end of thread, other threads:[~2017-07-11 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAA8CD9u+Xdsu_wx2RVqCLSPwAKEGJxrj_ZL-gFUwLtYc6e9PeQ@mail.gmail.com>
2017-07-11  0:23 ` Build fail error Sahil Gupta
2017-07-11  0:24   ` Jason A. Donenfeld
2017-07-11 12:15     ` Sahil Gupta

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).