From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: wireguard@lists.zx2c4.com
Subject: Failure building on CentOS-7.4
Date: Thu, 21 Sep 2017 15:43:23 -0400 [thread overview]
Message-ID: <20170921194323.GC2587@gmail.com> (raw)
Hi, all:
I am getting the following error trying to build using the latest
CentOS-7.4 kernel using the 20170907 snapshot:
[root@ossna17 ~]# uname -r
3.10.0-693.2.2.el7.x86_64
[root@ossna17 ~]# cat /var/lib/dkms/wireguard/0.0.20170907/build/make.log
DKMS make.log for wireguard-0.0.20170907 for kernel 3.10.0-693.2.2.el7.x86_64 (x86_64)
Thu Sep 21 19:37:51 UTC 2017
make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.el7.x86_64'
LD /var/lib/dkms/wireguard/0.0.20170907/build/built-in.o
CC [M] /var/lib/dkms/wireguard/0.0.20170907/build/main.o
CC [M] /var/lib/dkms/wireguard/0.0.20170907/build/noise.o
CC [M] /var/lib/dkms/wireguard/0.0.20170907/build/device.o
CC [M] /var/lib/dkms/wireguard/0.0.20170907/build/peer.o
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:98:20: error: static declaration of ‘ipv6_mod_enabled’ follows non-static declaration
static inline bool ipv6_mod_enabled(void)
^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:98:20: error: static declaration of ‘ipv6_mod_enabled’ follows non-static declaration
static inline bool ipv6_mod_enabled(void)
^
In file included from include/net/dsfield.h:11:0,
from include/net/ip_tunnels.h:10,
from /var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:71,
from <command-line>:0:
include/linux/ipv6.h:260:6: note: previous declaration of ‘ipv6_mod_enabled’ was here
bool ipv6_mod_enabled(void);
^
In file included from include/net/dsfield.h:11:0,
from include/net/ip_tunnels.h:10,
from /var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:71,
from <command-line>:0:
include/linux/ipv6.h:260:6: note: previous declaration of ‘ipv6_mod_enabled’ was here
bool ipv6_mod_enabled(void);
^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:98:20: error: static declaration of ‘ipv6_mod_enabled’ follows non-static declaration
static inline bool ipv6_mod_enabled(void)
^
In file included from include/net/dsfield.h:11:0,
from include/net/ip_tunnels.h:10,
from /var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:71,
from <command-line>:0:
include/linux/ipv6.h:260:6: note: previous declaration of ‘ipv6_mod_enabled’ was here
bool ipv6_mod_enabled(void);
^
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:98:20: error: static declaration of ‘ipv6_mod_enabled’ follows non-static declaration
static inline bool ipv6_mod_enabled(void)
^
In file included from include/net/dsfield.h:11:0,
from include/net/ip_tunnels.h:10,
from /var/lib/dkms/wireguard/0.0.20170907/build/compat/compat.h:71,
from <command-line>:0:
include/linux/ipv6.h:260:6: note: previous declaration of ‘ipv6_mod_enabled’ was here
bool ipv6_mod_enabled(void);
^
make[1]: *** [/var/lib/dkms/wireguard/0.0.20170907/build/peer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/var/lib/dkms/wireguard/0.0.20170907/build/main.o] Error 1
make[1]: *** [/var/lib/dkms/wireguard/0.0.20170907/build/device.o] Error 1
make[1]: *** [/var/lib/dkms/wireguard/0.0.20170907/build/noise.o] Error 1
make: *** [_module_/var/lib/dkms/wireguard/0.0.20170907/build] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.el7.x86_64'
Best,
Konstantin
next reply other threads:[~2017-09-21 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 19:43 Konstantin Ryabitsev [this message]
2017-09-21 22:47 ` Jason A. Donenfeld
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=20170921194323.GC2587@gmail.com \
--to=konstantin@linuxfoundation.org \
--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).