All of lore.kernel.org
 help / color / mirror / Atom feed
* RHEL-8.1 compile problem
@ 2019-11-27 17:21 Sergey Ivanov
  2019-12-05 12:55 ` RHEL-8.1 backported a couple features breaking wireguard compilation Sergey Ivanov
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Ivanov @ 2019-11-27 17:21 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 2429 bytes --]

Hi,
I have used wireguard version 0.0.20191012 on RHEL-8.0, but after
upgrade to RHEL-8.1 with kernel 4.18.0-147.el8.x86_64 dkms failed
to install to the new kernel. I am trying now to reinstall
manually compiling from tag 4.18.0-147.el8.x86_64:
===
sh-4.4$ git clone https://git.zx2c4.com/WireGuard
Cloning into 'WireGuard'...
...
Resolving deltas: 100% (8471/8471), done.
sh-4.4$ cd WireGuard/
sh-4.4$ git checkout 0.0.20191127
Note: checking out '0.0.20191127'.
...

HEAD is now at 7fc30dd version: bump snapshot
sh-4.4$ git checkout -b b_0.0.20191127
Switched to a new branch 'b_0.0.20191127'
sh-4.4$ cd src/
sh-4.4$ make
   CC [M]  /var/home/seriv/work/git/WireGuard/src/main.o
In file included from <command-line>:
/var/home/seriv/work/git/WireGuard/src/compat/compat.h:342:20:
error: static declaration of ‘rng_is_initialized’ follows
non-static declaration
  static inline bool rng_is_initialized(void)
                     ^~~~~~~~~~~~~~~~~~
In file included from
/var/home/seriv/work/git/WireGuard/src/compat/compat.h:330,
                  from <command-line>:
./include/linux/random.h:40:13: note: previous declaration of
‘rng_is_initialized’ was here
  extern bool rng_is_initialized(void);
              ^~~~~~~~~~~~~~~~~~
In file included from <command-line>:
/var/home/seriv/work/git/WireGuard/src/compat/compat.h:835:23:
error: redeclaration of enumerator ‘NLA_UNSPEC’
  #define NLA_EXACT_LEN NLA_UNSPEC
                        ^~~~~~~~~~
./include/net/netlink.h:184:2: note: in expansion of macro
‘NLA_EXACT_LEN’
   NLA_EXACT_LEN,
   ^~~~~~~~~~~~~
In file included from ./include/net/rtnetlink.h:6,
                  from ./include/net/sch_generic.h:17,
                  from ./include/linux/filter.h:24,
                  from ./include/net/sock.h:64,
                  from ./include/linux/tcp.h:23,
                  from ./include/linux/ipv6.h:106,
                  from ./include/net/ipv6.h:16,
                  from 
/var/home/seriv/work/git/WireGuard/src/compat/compat.h:874,
                  from <command-line>:
./include/net/netlink.h:166:2: note: previous definition of
‘NLA_UNSPEC’ was here
   NLA_UNSPEC,
   ^~~~~~~~~~
make[2]: *** [scripts/Makefile.build:313:
/var/home/seriv/work/git/WireGuard/src/main.o] Error 1 make[1]:
*** [Makefile:1547:
_module_/var/home/seriv/work/git/WireGuard/src] Error 2 make: ***
[Makefile:38: module] Error 2
-- 
   Regards,
   Sergey Ivanov

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

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

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

end of thread, other threads:[~2019-12-09 21:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-27 17:21 RHEL-8.1 compile problem Sergey Ivanov
2019-12-05 12:55 ` RHEL-8.1 backported a couple features breaking wireguard compilation Sergey Ivanov
2019-12-08 10:44   ` Jason A. Donenfeld
2019-12-09 19:53     ` [PATCH 1/1] Support building for RHEL-8.1 instead of RHEL-8.0 Sergey Ivanov
2019-12-09 21:54       ` Jason A. Donenfeld

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.