Hi,

I had this too using buster + backports:

---

DKMS make.log for wireguard-1.0.20200520 for kernel 4.19.0-6-marvell (armv5tel)
to 18.6.2020 15.12.16 +0300
make: Siirrytään hakemistoon ”/usr/src/linux-headers-4.19.0-6-marvell”
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/main.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/socket.o
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                    ^~~~~~~~~~~~~~~~~~~~
                    ipv6_dst_lookup
make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build:309: /var/lib/dkms/wireguard/1.0.20200520/build/socket.o] Virhe 1
make[2]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: _module_/var/lib/dkms/wireguard/1.0.20200520/build] Virhe 2
make[1]: *** [Makefile:146: sub-make] Virhe 2
make: *** [Makefile:8: all] Virhe 2
make: Poistutaan hakemistosta ”/usr/src/linux-headers-4.19.0-6-marvell”
---

I managed to fix it thanks to message #34, changing /usr/src/wireguard-1.0.20200520/compat/compat.h slightly and running dpkg --configure -a. It built fine both against 4.19.0-6-marvell and 4.19.0-9-marvell.

-Timo

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to