Development discussion of WireGuard
 help / color / mirror / 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

* Re: dkms module build fails since at least 20191226 on CentOS
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Silvan Nagl @ 2020-01-06 20:48 UTC (permalink / raw)
  To: wireguard

Same problem persists under CentOS in newest version 0.0.20200105.

On 1/5/20 3:17 PM, Silvan Nagl wrote:
> 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
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: dkms module build fails since at least 20191226 on CentOS
  2020-01-06 20:48 ` Silvan Nagl
@ 2020-01-16 18:49   ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2020-01-16 18:49 UTC (permalink / raw)
  To: Silvan Nagl; +Cc: WireGuard mailing list

Update to CentOS-8 1911.
_______________________________________________
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, other threads:[~2020-01-16 18:50 UTC | newest]

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

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