Development discussion of WireGuard
 help / color / mirror / Atom feed
* Failure building on CentOS-7.4
@ 2017-09-21 19:43 Konstantin Ryabitsev
  2017-09-21 22:47 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Ryabitsev @ 2017-09-21 19:43 UTC (permalink / raw)
  To: wireguard

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

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

* Re: Failure building on CentOS-7.4
  2017-09-21 19:43 Failure building on CentOS-7.4 Konstantin Ryabitsev
@ 2017-09-21 22:47 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2017-09-21 22:47 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: WireGuard mailing list

Hey Konstantin,

You are using an old snapshot. Try upgrading to 20170918, which brings
CentOS 7.4 support.

Jason

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

end of thread, other threads:[~2017-09-21 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-21 19:43 Failure building on CentOS-7.4 Konstantin Ryabitsev
2017-09-21 22:47 ` Jason A. Donenfeld

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