<html dir="ltr"><head></head><body style="text-align: left; direction: ltr; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Hi-</div><div> I'm having difficulty building the current WireGuard Git master (c563bb275181a753853447c9c9c3a6767a6a1554) against a slightly older checkout of Linus' Git master (72cf0b07418a9c8349aa9137194b1ccba6e54a9d). The error I get is:</div><div><font face="monospace" size="3"> CC net/wireguard/main.o</font></div><div><font face="monospace" size="3">In file included from <command-line>:</font></div><div><font face="monospace" size="3">././net/wireguard/compat/compat.h:828:21: error: redeclaration of enumerator ‘NLA_UNSPEC’</font></div><div><font face="monospace" size="3"> #define NLA_MIN_LEN NLA_UNSPEC</font></div><div><font face="monospace" size="3"> ^~~~~~~~~~</font></div><div><font face="monospace" size="3">./include/net/netlink.h:186:2: note: in expansion of macro ‘NLA_MIN_LEN’</font></div><div><font face="monospace" size="3"> NLA_MIN_LEN,</font></div><div><font face="monospace" size="3"> ^~~~~~~~~~~</font></div><div><font face="monospace" size="3">In file included from ./include/net/rtnetlink.h:6,</font></div><div><font face="monospace" size="3"> from ./include/net/sch_generic.h:17,</font></div><div><font face="monospace" size="3"> from ./include/linux/filter.h:25,</font></div><div><font face="monospace" size="3"> from ./include/net/sock.h:64,</font></div><div><font face="monospace" size="3"> from ./include/linux/tcp.h:23,</font></div><div><font face="monospace" size="3"> from ./include/linux/ipv6.h:87,</font></div><div><font face="monospace" size="3"> from ./include/net/ipv6.h:16,</font></div><div><font face="monospace" size="3"> from ././net/wireguard/compat/compat.h:843,</font></div><div><font face="monospace" size="3"> from <command-line>:</font></div><div><font face="monospace" size="3">./include/net/netlink.h:166:2: note: previous definition of ‘NLA_UNSPEC’ was here</font></div><div><font face="monospace" size="3"> NLA_UNSPEC,</font></div><div><font face="monospace" size="3"> ^~~~~~~~~~</font></div><div><font face="monospace" size="3">scripts/Makefile.build:278: recipe for target 'net/wireguard/main.o' failed</font></div><div><font face="monospace" size="3">make[2]: *** [net/wireguard/main.o] Error 1</font></div><div><font face="monospace" size="3">scripts/Makefile.build:489: recipe for target 'net/wireguard' failed</font></div><div><font face="monospace" size="3">make[1]: *** [net/wireguard] Error 2</font></div><div><font face="monospace" size="3">Makefile:1073: recipe for target 'net' failed</font></div><div><font face="monospace" size="3">make: *** [net] Error 2</font></div><div><font face="monospace" size="3"></font></div><div><font face="monospace" size="3"></font><br></div><div> The full build log (GNU LZMA-compressed) is attached.</div><div><br></div><div> -Robin K.</div><div><br></div><div>On Fri, 2019-05-17 at 08:36 -0500, Bruno Wolff III wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Fri, May 17, 2019 at 13:12:07 +0200,</pre><pre> "Jason A. Donenfeld" <</pre><a href="mailto:Jason@zx2c4.com"><pre>Jason@zx2c4.com</pre></a><pre>> wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Thanks for getting this started. This commit should take care of it:</pre><pre><br></pre><a href="https://u9444849.ct.sendgrid.net/wf/click?upn=hlnDB5p2SCqcHpy-2Bu-2FDu8d88SXVo27bsPhiBQuz8ptM0jOis4sOiwp3Pc-2BAwmdItagQXBksDjcwFAI58qh6deyT-2Bny-2FQBJ5h4fuS0zgp1fNoOm-2Fpr-2FhkCG6LUHRszd05_HW4IRDX4SDmDQg1X-2FvoSrLWdDgphijQ89nXdFgsrfVzCVKmUOYslTHsHH18vguEGf3S5bA73VraTmcttvDzqk6p17RIbMlCC21EgnYv9O5Je1UU2JehUAJCX-2FRQnXPTazfsBNFegDfle-2Fayp-2FURxcBKKJZCjaAWd9-2Ba2B1uqLrT0HkhC2HfufaBxUPblqDtWoPbjRPubzwGp5XtslZujRVNAyHyFQV-2FEepSGPviu6NE-3D"><pre>https://git.zx2c4.com/WireGuard/commit/?id=7a83d1e6da8aa27da8fd4d06e6b7d11198c7c049</pre></a><pre><br></pre></blockquote><pre><br></pre><pre>Thanks for the fix. I'm using it with Fedora's 5.2.0-0.rc0.git8.1.fc31.x86_64 </pre><pre>kernel successfully. (Note not all arches built successfully with that </pre><pre>kernel, but it was the latest for x86_64 I could get right now for testing </pre><pre>a 5.2 kernel with the new fix.)</pre><pre>_______________________________________________</pre><pre>WireGuard mailing list</pre><a href="mailto:WireGuard@lists.zx2c4.com"><pre>WireGuard@lists.zx2c4.com</pre></a><pre><br></pre><a href="https://u9444849.ct.sendgrid.net/wf/click?upn=hlnDB5p2SCqcHpy-2Bu-2FDu8cojZAgJwd1eyzYQhFJNTVr6b-2FwB3KjUFMppgiJU-2B1EK7wTXcWdsFaBfWZ6vVx22Gg-3D-3D_HW4IRDX4SDmDQg1X-2FvoSrLWdDgphijQ89nXdFgsrfVzCVKmUOYslTHsHH18vguEGf3S5bA73VraTmcttvDzqkwUJJO6KynSgszwEdCLd46c13Z-2BKFt4hbgoHKvQBtsM3F6c6wTQT22dyGXBIBLw2ige9X9-2FghmonG-2F9RyAvllH9z4BRnFZJPDMwR9yzM-2BvRS0trSOOKRdxGu3FKCAXZ-2Fs0lT6TONUmDsiOY-2FrDnehVY-3D"><pre>https://lists.zx2c4.com/mailman/listinfo/wireguard</pre></a><pre><br></pre></blockquote><img src="https://u9444849.ct.sendgrid.net/wf/open?upn=HW4IRDX4SDmDQg1X-2FvoSrLWdDgphijQ89nXdFgsrfVzCVKmUOYslTHsHH18vguEGf3S5bA73VraTmcttvDzqk6xsYaZtaxHOnTIl2SmvoBCoRj7uUSpwjGe8Mkyk8-2Bhm4aoqMP3EtOVgiW9lWHqtV0cf2vbZ5FE0xtQY-2F6SMs-2BB1yYCL26RB8Nn8j7RzymfG-2FRmHZrA0Yi6bCJF83LAAUd7QM08wDpdwUgJMoWPKfzw-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/></body></html>