хватает для успешной компиляции модуля ядра ?
Под убунту16 я нашел не хаватало gcc+9 а 18ая ни в какую.
~$ cat /var/crash/wireguard-dkms.0.crash
ProblemType: Package
DKMSBuildLog:
DKMS make.log for wireguard-1.0.20200611 for kernel 4.15.0-91-generic (x86_64)
Mon Aug 3 14:28:05 UTC 2020
make: Entering directory '/usr/src/linux-headers-4.15.0-91-generic'
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
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/peerlookup.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/allowedips.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/ratelimiter.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/cookie.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/netlink.o
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/crypto/zinc/chacha20/chacha20.o
PERLASM /var/lib/dkms/wireguard/1.0.20200611/build/crypto/zinc/chacha20/chacha20-x86_64.S
CC [M] /var/lib/dkms/wireguard/1.0.20200611/build/crypto/zinc/poly1305/poly1305.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: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
scripts/Makefile.build:330: 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
make[1]: *** Waiting for unfinished jobs....
Makefile:1577: 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
make: Leaving directory '/usr/src/linux-headers-4.15.0-91-generic'
DKMSKernelVersion: 4.15.0-91-generic
Date: Mon Aug 3 14:28:09 2020
DuplicateSignature: dkms:wireguard-dkms:1.0.20200611-1ubuntu1~18.04.1:/var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
Package: wireguard-dkms 1.0.20200611-1ubuntu1~18.04.1
PackageVersion: 1.0.20200611-1ubuntu1~18.04.1
SourcePackage: wireguard-linux-compat
Title: wireguard-dkms 1.0.20200611-1ubuntu1~18.04.1: wireguard kernel module failed to build
Ты бы портянку спрятал куда-нибудь. А по делу, не слишком старое у тебя ведро?
Обсуждают сегодня