From: Adrian Popa <adrian.popa.gh@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Make error on extract-handshakes
Date: Tue, 27 Jun 2023 15:02:15 +0300 [thread overview]
Message-ID: <CAOKso16oBQ+kOS87pGOpAgBZDgQo1gohFMaiyL+AOG1bYY7szA@mail.gmail.com> (raw)
Hello everyone!
This is the 4th time I'm trying to post this to the list - the other
messages got held up.
I'm trying to do packet capturing of wireguard traffic and have it
decrypted by Wireshark (for educational purposes), so I'm trying to
compile extract-handshakes with the following commands:
$ git clone https://git.zx2c4.com/WireGuard
$ cd WireGuard/contrib/examples/extract-handshakes
$ make
make -C /lib/modules/6.0.8-060008-generic/build
M=/home/adrianp/temp/extract/WireGuard/contrib/examples/extract-handshakes
offset-finder.o
make[1]: Entering directory '/usr/src/linux-headers-6.0.8-060008-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu
12.2.0-9ubuntu1) 12.2.0
You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
make[3]: *** No rule to make target
'/home/adrianp/temp/extract/WireGuard/contrib/examples/extract-handshakes/offset-finder.o'.
Stop.
make[2]: *** [scripts/Makefile.build:440: __build] Error 2
make[1]: *** [Makefile:1858:
/home/adrianp/temp/extract/WireGuard/contrib/examples/extract-handshakes]
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.8-060008-generic'
make: *** [Makefile:14: offset-finder.o] Error 2
Any ideas what I'm doing wrong? Is this the correct repository for
extract-handshakes? Do I need other steps before make?
My build environment looks ok as far as I can tell:
$ ls -l /lib/modules/6.0.8-060008-generic/build
lrwxrwxrwx 1 root root 43 Nov 10 2022
/lib/modules/6.0.8-060008-generic/build ->
/usr/src/linux-headers-6.0.8-060008-generic
Thanks for your input!
reply other threads:[~2023-07-08 19:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAOKso16oBQ+kOS87pGOpAgBZDgQo1gohFMaiyL+AOG1bYY7szA@mail.gmail.com \
--to=adrian.popa.gh@gmail.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).