<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Jason,</p>
<p><br>
</p>
<p>After applying the patch with 'git apply' I got:</p>
<p></p>
<div><br>
</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>Thu Oct 5 08:10:00 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> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/noise.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/device.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/peer.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/timers.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/queueing.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/send.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/receive.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/socket.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/hashtables.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/routingtable.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/ratelimiter.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/cookie.o</div>
<div> CC [M] /var/lib/dkms/wireguard/0.0.20171001/build/netlink.o</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:437: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:437: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>
<div><br>
</div>
- Andrey
<p></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jason A. Donenfeld <Jason@zx2c4.com><br>
<b>Sent:</b> Thursday, October 5, 2017 7:37:53 AM<br>
<b>To:</b> Andrey Petrov<br>
<b>Cc:</b> wireguard@lists.zx2c4.com<br>
<b>Subject:</b> Re: CentOS kernel module build failure</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hey Andrey,<br>
<br>
Sorry about that. I fixed it yesterday in the master branch. I'll roll<br>
a new snapshot soon.<br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__git.zx2c4.com_WireGuard_patch_-3Fid-3D24e742617e47bcdb65ba4ce37fa56a107d75d0f3&d=DwIBaQ&c=uilaK90D4TOVoH58JNXRgQ&r=lWprCbBPq-RqvY_cTASTIoLEQCXNtlLeW_TMY-DsKcc&m=S_5FETsVfplUfCEryJzb6i4zFDpq7B5RqIFPinAKNms&s=tX5rcecy9pMG6HvpQ9xgyLoXmUOrwKFDUu4_UlY1X0M&e=">https://urldefense.proofpoint.com/v2/url?u=https-3A__git.zx2c4.com_WireGuard_patch_-3Fid-3D24e742617e47bcdb65ba4ce37fa56a107d75d0f3&d=DwIBaQ&c=uilaK90D4TOVoH58JNXRgQ&r=lWprCbBPq-RqvY_cTASTIoLEQCXNtlLeW_TMY-DsKcc&m=S_5FETsVfplUfCEryJzb6i4zFDpq7B5RqIFPinAKNms&s=tX5rcecy9pMG6HvpQ9xgyLoXmUOrwKFDUu4_UlY1X0M&e=</a>
<br>
<br>
Jason<br>
</div>
</span></font>
</body>
</html>