Working on change for: genetlink: make policy common to family
Robin Kauffman
robink at creosotehill.org
Mon May 20 00:26:21 CEST 2019
Hi- 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:
CC net/wireguard/main.oIn file included from <command-
line>:././net/wireguard/compat/compat.h:828:21: error: redeclaration of
enumerator ‘NLA_UNSPEC’ #define NLA_MIN_LEN
NLA_UNSPEC ^~~~~~~~~~./include/net/netlink.h:186:2:
note: in expansion of macro ‘NLA_MIN_LEN’ NLA_MIN_LEN, ^~~~~~~~~~~In
file included from ./include/net/rtnetlink.h:6, from
./include/net/sch_generic.h:17, from
./include/linux/filter.h:25, from
./include/net/sock.h:64, from
./include/linux/tcp.h:23, from
./include/linux/ipv6.h:87, from
./include/net/ipv6.h:16, from
././net/wireguard/compat/compat.h:843, from <command-
line>:./include/net/netlink.h:166:2: note: previous definition of
‘NLA_UNSPEC’ was here NLA_UNSPEC,
^~~~~~~~~~scripts/Makefile.build:278: recipe for target
'net/wireguard/main.o' failedmake[2]: *** [net/wireguard/main.o] Error
1scripts/Makefile.build:489: recipe for target 'net/wireguard'
failedmake[1]: *** [net/wireguard] Error 2Makefile:1073: recipe for
target 'net' failedmake: *** [net] Error 2
The full build log (GNU LZMA-compressed) is attached.
-Robin K.
On Fri, 2019-05-17 at 08:36 -0500, Bruno Wolff III wrote:
> On Fri, May 17, 2019 at 13:12:07 +0200, "Jason A. Donenfeld" <
> Jason at zx2c4.com> wrote:
> > Thanks for getting this started. This commit should take care of
> > it:
> > https://u9444849.ct.sendgrid.net/wf/click?upn=hlnDB5p2SCqcHpy-2Bu-2FDu8d88SXVo27bsPhiBQuz8ptM0jOis4sOiwp3Pc-2BAwmdItagQXBksDjcwFAI58qh6deyT-2Bny-2FQBJ5h4fuS0zgp1fObf8vTKOP9MwZ48K84-2Fa8V_HW4IRDX4SDmDQg1X-2FvoSrLWdDgphijQ89nXdFgsrfVzCVKmUOYslTHsHH18vguEGf3S5bA73VraTmcttvDzqk-2Bh2XO-2F8tYKS7WXf-2BeawAdESewRgDJuTQCwmE51AWByFqTKQBNCrA27VZdFyZvf-2FQUnGvUKmPwIIb-2FFgG4e-2BOcg59gDnq-2FDtrSYxGBFMZtf2iz68jHSEDM3EfbdiZtJby2ZOFOjKiCh3Mwg6jm1hgu0-3D
>
> Thanks for the fix. I'm using it with Fedora's 5.2.0-
> 0.rc0.git8.1.fc31.x86_64 kernel successfully. (Note not all arches
> built successfully with that kernel, but it was the latest for x86_64
> I could get right now for testing a 5.2 kernel with the new
> fix.)_______________________________________________WireGuard mailing
> listWireGuard at lists.zx2c4.com
> https://u9444849.ct.sendgrid.net/wf/click?upn=hlnDB5p2SCqcHpy-2Bu-2FDu8cojZAgJwd1eyzYQhFJNTVr6b-2FwB3KjUFMppgiJU-2B1EKJ2WXDtyNFABUqm2tNEA2bg-3D-3D_HW4IRDX4SDmDQg1X-2FvoSrLWdDgphijQ89nXdFgsrfVzCVKmUOYslTHsHH18vguEGf3S5bA73VraTmcttvDzqk-2Fw8mTLMCgr2KW4laq8Os42fkcjf7GhleHzKrVPUA00meG0-2FDCTfnQ22mZj6uTQ-2BTLoa9RAZ-2FyHxvEeEG27asIVxIcaXqHM8QA5MfIT8Ox-2FTn8YS-2BWsMGh5vfyM7VNmYLDDumh8Eptc8Ydloro7OSlU-3D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190519/0980e954/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_build_log_2019051801.txt.xz
Type: application/x-xz
Size: 33884 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190519/0980e954/attachment-0001.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190519/0980e954/attachment-0001.asc>
More information about the WireGuard
mailing list