Hi! In testing out the new kernel<4.1 support I've hit a build failure:
> In file included from include/net/ip_tunnels.h:5:0,
> from
> /var/lib/dkms/wireguard/0.0.20170409-1~14.04.york0.1/build/compat/compat.h:62,
> from <command-line>:0:
> include/linux/netdevice.h:1890:43: error: macro "dev_recursion_level" passed
> 1 arguments, but takes just 0
> static inline int dev_recursion_level(void)
> ^
> include/linux/netdevice.h:1891:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘{’ token
> {
> ^
This looks to be related to lines 43-48 of src/compat/compat.h where
there's `#define dev_recursion_level() 0`. I'm not yet sure whether
Ubuntu have tweaked or backported something, or whether the 1-arity
function exists in mainline kernel 3.13.
(If there's an issue/bug tracker I've missed let me know)
Regards,
Jonathon
signature.asc
Description: OpenPGP digital signature
_______________________________________________ WireGuard mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/wireguard
