<div dir="ltr"><div dir="ltr">Hello Jason,<div>applying the patch for compat.h resolves - compiling works fine. However the Netlink headers libmnl.h were missing, seems there is no standard RHEL8-dev package for the library, had to take it from <a href="http://netfilter.org/Fedora" target="_blank">netfilter.org/Fedora</a>. Then OK:<br></div><div><br></div><div>[ 9386.069776] wireguard: WireGuard 0.0.20190601-7-g44070b9-dirty loaded. See <a href="http://www.wireguard.com" target="_blank">www.wireguard.com</a> for information.<br></div><div><br></div><div>[root@paris src]# wg show<br>interface: wg0<br></div><div><br></div><div>-- Mike<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2019 at 2:32 PM Jason A. Donenfeld <<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This commit fixes it and will be included in the next snapshot:<br>
<a href="https://git.zx2c4.com/WireGuard/commit/?id=80f006d3656ce2858675020a23879e916ea8a4fc" rel="noreferrer" target="_blank">https://git.zx2c4.com/WireGuard/commit/?id=80f006d3656ce2858675020a23879e916ea8a4fc</a><br>
<br>
[ec2-user@ip-172-31-24-82 ~]$ cat /etc/redhat-release<br>
Red Hat Enterprise Linux release 8.0 (Ootpa)<br>
[ec2-user@ip-172-31-24-82 ~]$ uname -a<br>
Linux ip-172-31-24-82.eu-west-1.compute.internal<br>
4.18.0-80.4.2.el8_0.x86_64 #1 SMP Fri Jun 14 13:20:24 UTC 2019 x86_64<br>
x86_64 x86_64 GNU/Linux<br>
[ec2-user@ip-172-31-24-82 ~]$ sudo ip link add wg0 type wireguard<br>
[ec2-user@ip-172-31-24-82 ~]$ sudo wg<br>
interface: wg0<br>
[ec2-user@ip-172-31-24-82 ~]$ dmesg | grep wireguard<br>
[ 693.365784] wireguard: loading out-of-tree module taints kernel.<br>
[ 693.382433] wireguard: module verification failed: signature and/or<br>
required key missing - tainting kernel<br>
[ 693.390216] wireguard: WireGuard 0.0.20190601-8-g9e71cce-dirty<br>
loaded. See <a href="http://www.wireguard.com" rel="noreferrer" target="_blank">www.wireguard.com</a> for information.<br>
[ 693.397561] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<br>
<<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>>. All Rights Reserved.<br>
</blockquote></div></div>