Having the same problem:
DKMS make.log for wireguard-1.0.20200611 for kernel 4.4.0-128-generic (x86_64)
Sun Aug 30 18:55:58 CEST 2020
make: Entering directory '/usr/src/linux-headers-4.4.0-128-generic'
LD /var/lib/dkms/wireguard/1.0.20200611/build/built-in.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/main.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/noise.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/device.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/peer.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/timers.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/queueing.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/send.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/receive.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/socket.o
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:18: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’
dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
^
scripts/Makefile.build:277: recipe for target '/var/lib/dkms/wireguard/1.0.20200611/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200611/build/socket.o] Error 1
Makefile:1437: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200611/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200611/build] Error 2
Having the same problem: 1.0.20200611 for kernel 4.4.0-128-generic (x86_64) linux-headers- 4.4.0-128- generic' dkms/wireguard/ 1.0.20200611/ build/built- in.o dkms/wireguard/ 1.0.20200611/ build/main. o dkms/wireguard/ 1.0.20200611/ build/noise. o dkms/wireguard/ 1.0.20200611/ build/device. o dkms/wireguard/ 1.0.20200611/ build/peer. o dkms/wireguard/ 1.0.20200611/ build/timers. o dkms/wireguard/ 1.0.20200611/ build/queueing. o dkms/wireguard/ 1.0.20200611/ build/send. o dkms/wireguard/ 1.0.20200611/ build/receive. o dkms/wireguard/ 1.0.20200611/ build/socket. o dkms/wireguard/ 1.0.20200611/ build/socket. c: In function ‘send6’: dkms/wireguard/ 1.0.20200611/ build/socket. c:139:18: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_ lookup_ flow’ >ipv6_dst_ lookup_ flow(sock_ net(sock) , sock, &fl, Makefile. build:277: recipe for target '/var/lib/ dkms/wireguard/ 1.0.20200611/ build/socket. o' failed dkms/wireguard/ 1.0.20200611/ build/socket. o] Error 1 /var/lib/ dkms/wireguard/ 1.0.20200611/ build' failed /var/lib/ dkms/wireguard/ 1.0.20200611/ build] Error 2
DKMS make.log for wireguard-
Sun Aug 30 18:55:58 CEST 2020
make: Entering directory '/usr/src/
LD /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
dst = ipv6_stub-
^
scripts/
make[1]: *** [/var/lib/
Makefile:1437: recipe for target '_module_
make: *** [_module_