DKMS build failure on kernel 3.13 (Ubuntu 14.04)

Jonathon Fernyhough jonathon.fernyhough at york.ac.uk
Tue Apr 11 13:12:58 CEST 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170411/d7f4327f/attachment.asc>


More information about the WireGuard mailing list