WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* dkms module build fails since at least 20191226 on CentOS
@ 2020-01-05 14:17 Silvan Nagl
  2020-01-06 20:48 ` Silvan Nagl
  0 siblings, 1 reply; 3+ messages in thread
From: Silvan Nagl @ 2020-01-05 14:17 UTC (permalink / raw)
  To: wireguard

Hi again,

since the last WireGuard upgrade (wireguard-0.0.20191226) the dkms
module does not build anymore. I just noticed that my CentOS box still
runs on 0.0.20191206 so it appeared to work at firs glance but actually
it just uses the old dkms module which was not overwritten by the new
installation because it failed to build.

Here is make all output:

[root@static wireguard-0.0.20191226]# make all
  CC [M]  /usr/src/wireguard-0.0.20191226/main.o
  CC [M]  /usr/src/wireguard-0.0.20191226/noise.o
  CC [M]  /usr/src/wireguard-0.0.20191226/device.o
  CC [M]  /usr/src/wireguard-0.0.20191226/peer.o
  CC [M]  /usr/src/wireguard-0.0.20191226/timers.o
  CC [M]  /usr/src/wireguard-0.0.20191226/queueing.o
  CC [M]  /usr/src/wireguard-0.0.20191226/send.o
  CC [M]  /usr/src/wireguard-0.0.20191226/receive.o
In file included from ./include/linux/init.h:5,
                 from /usr/src/wireguard-0.0.20191226/compat/compat.h:50,
                 from <command-line>:
/usr/src/wireguard-0.0.20191226/receive.c: In function ‘wg_packet_receive’:
/usr/src/wireguard-0.0.20191226/receive.c:578:17: error: implicit
declaration of function ‘rng_is_initialized’; did you mean
‘zone_is_initialized’? [-Werror=implicit-function-declaration]
       unlikely(!rng_is_initialized())) {
                 ^~~~~~~~~~~~~~~~~~
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:316:
/usr/src/wireguard-0.0.20191226/receive.o] Error 1
make[1]: *** [Makefile:1528: _module_/usr/src/wireguard-0.0.20191226]
Error 2
make: *** [Makefile:38: module] Error 2

Greetings,

Silvan

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05 14:17 dkms module build fails since at least 20191226 on CentOS Silvan Nagl
2020-01-06 20:48 ` Silvan Nagl
2020-01-16 18:49   ` Jason A. Donenfeld

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git