<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-size: 12pt;">Hi,</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Up-to-date </span><span style="font-size: 12pt;">CentOS Linux release 7.4.1708</span><br>
</p>
<p><span>$ uname -r</span></p>
<p><span><span>3.10.0-693.2.2.el7.x86_64</span><br>
</span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Followed the official instructions at <a href="https://www.wireguard.com/install/" class="OWAAutoLink" id="LPlnk596469" previewremoved="true">https://www.wireguard.com/install/</a> to install</span></span><span style="font-size: 12pt;"> the latest wireguard snapshot
 on a fully up-to-date <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">CentOS 7.4 </span></span><span style="font-size: 12pt;">but
 the kernel module </span><span style="font-size: 12pt;">compilation failed</span><span style="font-size: 12pt;">:</span></p>
<p><span></p>
<div><br>
</div>
<div>$ cat /var/lib/dkms/wireguard/0.0.20171001/build/make.log</div>
<div>DKMS make.log for wireguard-0.0.20171001 for kernel 3.10.0-693.2.2.el7.x86_64 (x86_64)</div>
<div>Wed Oct  4 13:57:39 UTC 2017</div>
<div>make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.el7.x86_64'</div>
<div>  LD      /var/lib/dkms/wireguard/0.0.20171001/build/built-in.o</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/main.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/noise.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/device.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/peer.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/timers.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/queueing.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/send.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/receive.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/socket.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/hashtables.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/routingtable.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/ratelimiter.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/cookie.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>  CC [M]  /var/lib/dkms/wireguard/0.0.20171001/build/netlink.o</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:428:0: warning: "GENL_UNS_ADMIN_PERM" redefined [enabled by default]</div>
<div> #define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM</div>
<div> ^</div>
<div>In file included from include/linux/genetlink.h:4:0,</div>
<div>                 from include/net/genetlink.h:4,</div>
<div>                 from /var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:406,</div>
<div>                 from <command-line>:0:</div>
<div>include/uapi/linux/genetlink.h:24:0: note: this is the location of the previous definition</div>
<div> #define GENL_UNS_ADMIN_PERM 0x10</div>
<div> ^</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/netlink.c: In function ‘netlink_init’:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/netlink.c:488:42: error: macro "genl_register_family_with_ops" passed 3 arguments, but takes just 2</div>
<div>  return genl_register_family(&genl_family);</div>
<div>                                          ^</div>
<div>In file included from <command-line>:0:0:</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:434:33: error: ‘genl_register_family_with_ops’ undeclared (first use in this function)</div>
<div> #define genl_register_family(a) genl_register_family_with_ops(a, (struct genl_ops *)genl_ops, ARRAY_SIZE(genl_ops))</div>
<div>                                 ^</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/netlink.c:488:9: note: in expansion of macro ‘genl_register_family’</div>
<div>  return genl_register_family(&genl_family);</div>
<div>         ^</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/compat/compat.h:434:33: note: each undeclared identifier is reported only once for each function it appears in</div>
<div> #define genl_register_family(a) genl_register_family_with_ops(a, (struct genl_ops *)genl_ops, ARRAY_SIZE(genl_ops))</div>
<div>                                 ^</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/netlink.c:488:9: note: in expansion of macro ‘genl_register_family’</div>
<div>  return genl_register_family(&genl_family);</div>
<div>         ^</div>
<div>/var/lib/dkms/wireguard/0.0.20171001/build/netlink.c:489:1: warning: control reaches end of non-void function [-Wreturn-type]</div>
<div> }</div>
<div> ^</div>
<div>make[1]: *** [/var/lib/dkms/wireguard/0.0.20171001/build/netlink.o] Error 1</div>
<div>make: *** [_module_/var/lib/dkms/wireguard/0.0.20171001/build] Error 2</div>
<div>make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.el7.x86_64'</div>
<br>
</span>
<p></p>
<p><span><br>
</span></p>
<p><span><span>- A.</span></span></p>
</div>
</body>
</html>