Closed MaxVanch closed 1 week ago
Hi! I tried to compile it in Arch Linux with kernel 6.11.8-arch1-2, but it's not compatible with it, but it's compatible with linux-lts
cat /var/lib/dkms/amneziawg/1.0.0/build/make.log:
DKMS make.log for amneziawg-1.0.0 for kernel 6.11.8-arch1-2 (x86_64) Fri Nov 15 20:17:33 UTC 2024 make: Entering directory '/var/lib/dkms/amneziawg/1.0.0/build' CWD=$(pwd); \ cd /var/lib/dkms/amneziawg/1.0.0/build/generated; \ for patch in /var/lib/dkms/amneziawg/1.0.0/build/patches/000-initial-amneziawg.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/001-legacy-clients-support.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/002-unknown-peers-notifications.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/003-fix-for-non-linear-skb.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/005-bogus-endpoints-parameter.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/006-bogus-endpoints-prefixes.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/007-random-bytes-fix.patch; do \ patch -F3 -t -p0 -i $patch; \ done; \ cd $CWD; \ date > /var/lib/dkms/amneziawg/1.0.0/build/generated/.patches.stamp patching file cookie.c patching file cookie.h patching file device.c Hunk #1 succeeded at 375 (offset -2 lines). Hunk #2 succeeded at 475 with fuzz 1 (offset -3 lines). patching file device.h patching file main.c Hunk #1 succeeded at 9 with fuzz 3. Hunk #2 succeeded at 43 (offset -7 lines). Hunk #3 succeeded at 69 (offset -7 lines). patching file messages.h patching file netlink.c Hunk #4 succeeded at 518 (offset -1 lines). Hunk #5 succeeded at 563 (offset -1 lines). Hunk #6 succeeded at 665 (offset 3 lines). patching file noise.c Hunk #1 succeeded at 515 (offset 31 lines). Hunk #2 succeeded at 532 (offset 31 lines). Hunk #3 succeeded at 665 (offset 31 lines). Hunk #4 succeeded at 681 (offset 31 lines). patching file noise.h patching file receive.c Hunk #1 succeeded at 25 (offset -8 lines). Hunk #2 succeeded at 105 (offset -8 lines). Hunk #3 succeeded at 128 (offset -8 lines). Hunk #4 succeeded at 158 (offset -8 lines). Hunk #5 succeeded at 178 (offset -8 lines). Hunk #6 succeeded at 210 (offset -8 lines). Hunk #7 succeeded at 566 (offset -16 lines). Hunk #8 succeeded at 582 (offset -16 lines). patching file send.c Hunk #1 succeeded at 14 (offset -1 lines). Hunk #2 succeeded at 42 (offset -1 lines). Hunk #3 succeeded at 122 (offset -1 lines). Hunk #4 succeeded at 138 (offset -1 lines). Hunk #5 succeeded at 161 (offset -1 lines). Hunk #6 succeeded at 204 (offset -1 lines). Hunk #7 succeeded at 248 (offset -1 lines). Hunk #8 succeeded at 335 with fuzz 3 (offset -1 lines). Hunk #9 succeeded at 340 with fuzz 3 (offset -4 lines). patching file socket.c patching file socket.h patching file uapi/wireguard.h patching file device.c Hunk #1 succeeded at 482 (offset -3 lines). Hunk #2 succeeded at 586 (offset -3 lines). patching file device.h patching file messages.h patching file netlink.c Hunk #3 succeeded at 515 (offset -1 lines). Hunk #4 succeeded at 580 (offset -1 lines). Hunk #5 succeeded at 667 (offset 3 lines). Hunk #6 succeeded at 685 (offset 3 lines). patching file noise.c Hunk #1 succeeded at 582 (offset 31 lines). Hunk #2 succeeded at 659 (offset 31 lines). patching file noise.h patching file peer.c patching file peer.h patching file receive.c Hunk #1 succeeded at 23 with fuzz 1 (offset -8 lines). Hunk #2 succeeded at 51 (offset -8 lines). Hunk #3 succeeded at 130 (offset -14 lines). Hunk #4 succeeded at 161 (offset -14 lines). Hunk #5 succeeded at 171 (offset -14 lines). Hunk #6 succeeded at 183 (offset -14 lines). Hunk #7 succeeded at 574 (offset -22 lines). Hunk #8 succeeded at 600 (offset -22 lines). patching file send.c Hunk #1 succeeded at 42 (offset -1 lines). Hunk #2 succeeded at 60 with fuzz 3 (offset -9 lines). Hunk #3 succeeded at 132 (offset -12 lines). Hunk #4 succeeded at 144 (offset -12 lines). Hunk #5 succeeded at 166 (offset -12 lines). Hunk #6 succeeded at 356 with fuzz 2 (offset -16 lines). patching file uapi/wireguard.h patching file netlink.c Hunk #2 succeeded at 709 with fuzz 3 (offset -10 lines). Hunk #3 succeeded at 729 with fuzz 3 (offset -16 lines). Hunk #4 succeeded at 743 (offset -16 lines). patching file netlink.h patching file noise.c Hunk #2 succeeded at 584 (offset 31 lines). Hunk #3 succeeded at 597 (offset 31 lines). Hunk #4 succeeded at 620 (offset 31 lines). Hunk #5 succeeded at 672 (offset 31 lines). patching file noise.h patching file receive.c Hunk #1 succeeded at 171 (offset -14 lines). patching file uapi/wireguard.h patching file receive.c Hunk #1 succeeded at 46 (offset -8 lines). Hunk #2 succeeded at 63 with fuzz 3 (offset -8 lines). patching file send.c Hunk #1 succeeded at 19 (offset -1 lines). Hunk #2 succeeded at 59 (offset -9 lines). patching file main.c Hunk #1 succeeded at 66 (offset -9 lines). patching file netlink.c Hunk #1 succeeded at 14 with fuzz 3. patching file netlink.h patching file main.c Hunk #1 succeeded at 67 (offset -9 lines). patching file netlink.c Hunk #1 succeeded at 15 with fuzz 2. patching file netlink.h patching file netlink.c CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/main.o CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/noise.o CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/device.o /var/lib/dkms/amneziawg/1.0.0/build/generated/device.c: In function 'wg_setup': /var/lib/dkms/amneziawg/1.0.0/build/generated/device.c:292:12: error: 'struct net_device' has no member named 'lltx' 292 | dev->lltx = true; | ^~ make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/amneziawg/1.0.0/build/generated/device.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1926: /var/lib/dkms/amneziawg/1.0.0/build/generated] Error 2 make: *** [Makefile:94: module] Error 2 make: Leaving directory '/var/lib/dkms/amneziawg/1.0.0/build'
The same problem with direct (non-DKMS) installation.
Hi! I tried to compile it in Arch Linux with kernel 6.11.8-arch1-2, but it's not compatible with it, but it's compatible with linux-lts
cat /var/lib/dkms/amneziawg/1.0.0/build/make.log:
DKMS make.log for amneziawg-1.0.0 for kernel 6.11.8-arch1-2 (x86_64) Fri Nov 15 20:17:33 UTC 2024 make: Entering directory '/var/lib/dkms/amneziawg/1.0.0/build' CWD=$(pwd); \ cd /var/lib/dkms/amneziawg/1.0.0/build/generated; \ for patch in /var/lib/dkms/amneziawg/1.0.0/build/patches/000-initial-amneziawg.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/001-legacy-clients-support.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/002-unknown-peers-notifications.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/003-fix-for-non-linear-skb.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/005-bogus-endpoints-parameter.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/006-bogus-endpoints-prefixes.patch /var/lib/dkms/amneziawg/1.0.0/build/patches/007-random-bytes-fix.patch; do \ patch -F3 -t -p0 -i $patch; \ done; \ cd $CWD; \ date > /var/lib/dkms/amneziawg/1.0.0/build/generated/.patches.stamp patching file cookie.c patching file cookie.h patching file device.c Hunk #1 succeeded at 375 (offset -2 lines). Hunk #2 succeeded at 475 with fuzz 1 (offset -3 lines). patching file device.h patching file main.c Hunk #1 succeeded at 9 with fuzz 3. Hunk #2 succeeded at 43 (offset -7 lines). Hunk #3 succeeded at 69 (offset -7 lines). patching file messages.h patching file netlink.c Hunk #4 succeeded at 518 (offset -1 lines). Hunk #5 succeeded at 563 (offset -1 lines). Hunk #6 succeeded at 665 (offset 3 lines). patching file noise.c Hunk #1 succeeded at 515 (offset 31 lines). Hunk #2 succeeded at 532 (offset 31 lines). Hunk #3 succeeded at 665 (offset 31 lines). Hunk #4 succeeded at 681 (offset 31 lines). patching file noise.h patching file receive.c Hunk #1 succeeded at 25 (offset -8 lines). Hunk #2 succeeded at 105 (offset -8 lines). Hunk #3 succeeded at 128 (offset -8 lines). Hunk #4 succeeded at 158 (offset -8 lines). Hunk #5 succeeded at 178 (offset -8 lines). Hunk #6 succeeded at 210 (offset -8 lines). Hunk #7 succeeded at 566 (offset -16 lines). Hunk #8 succeeded at 582 (offset -16 lines). patching file send.c Hunk #1 succeeded at 14 (offset -1 lines). Hunk #2 succeeded at 42 (offset -1 lines). Hunk #3 succeeded at 122 (offset -1 lines). Hunk #4 succeeded at 138 (offset -1 lines). Hunk #5 succeeded at 161 (offset -1 lines). Hunk #6 succeeded at 204 (offset -1 lines). Hunk #7 succeeded at 248 (offset -1 lines). Hunk #8 succeeded at 335 with fuzz 3 (offset -1 lines). Hunk #9 succeeded at 340 with fuzz 3 (offset -4 lines). patching file socket.c patching file socket.h patching file uapi/wireguard.h patching file device.c Hunk #1 succeeded at 482 (offset -3 lines). Hunk #2 succeeded at 586 (offset -3 lines). patching file device.h patching file messages.h patching file netlink.c Hunk #3 succeeded at 515 (offset -1 lines). Hunk #4 succeeded at 580 (offset -1 lines). Hunk #5 succeeded at 667 (offset 3 lines). Hunk #6 succeeded at 685 (offset 3 lines). patching file noise.c Hunk #1 succeeded at 582 (offset 31 lines). Hunk #2 succeeded at 659 (offset 31 lines). patching file noise.h patching file peer.c patching file peer.h patching file receive.c Hunk #1 succeeded at 23 with fuzz 1 (offset -8 lines). Hunk #2 succeeded at 51 (offset -8 lines). Hunk #3 succeeded at 130 (offset -14 lines). Hunk #4 succeeded at 161 (offset -14 lines). Hunk #5 succeeded at 171 (offset -14 lines). Hunk #6 succeeded at 183 (offset -14 lines). Hunk #7 succeeded at 574 (offset -22 lines). Hunk #8 succeeded at 600 (offset -22 lines). patching file send.c Hunk #1 succeeded at 42 (offset -1 lines). Hunk #2 succeeded at 60 with fuzz 3 (offset -9 lines). Hunk #3 succeeded at 132 (offset -12 lines). Hunk #4 succeeded at 144 (offset -12 lines). Hunk #5 succeeded at 166 (offset -12 lines). Hunk #6 succeeded at 356 with fuzz 2 (offset -16 lines). patching file uapi/wireguard.h patching file netlink.c Hunk #2 succeeded at 709 with fuzz 3 (offset -10 lines). Hunk #3 succeeded at 729 with fuzz 3 (offset -16 lines). Hunk #4 succeeded at 743 (offset -16 lines). patching file netlink.h patching file noise.c Hunk #2 succeeded at 584 (offset 31 lines). Hunk #3 succeeded at 597 (offset 31 lines). Hunk #4 succeeded at 620 (offset 31 lines). Hunk #5 succeeded at 672 (offset 31 lines). patching file noise.h patching file receive.c Hunk #1 succeeded at 171 (offset -14 lines). patching file uapi/wireguard.h patching file receive.c Hunk #1 succeeded at 46 (offset -8 lines). Hunk #2 succeeded at 63 with fuzz 3 (offset -8 lines). patching file send.c Hunk #1 succeeded at 19 (offset -1 lines). Hunk #2 succeeded at 59 (offset -9 lines). patching file main.c Hunk #1 succeeded at 66 (offset -9 lines). patching file netlink.c Hunk #1 succeeded at 14 with fuzz 3. patching file netlink.h patching file main.c Hunk #1 succeeded at 67 (offset -9 lines). patching file netlink.c Hunk #1 succeeded at 15 with fuzz 2. patching file netlink.h patching file netlink.c CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/main.o CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/noise.o CC [M] /var/lib/dkms/amneziawg/1.0.0/build/generated/device.o /var/lib/dkms/amneziawg/1.0.0/build/generated/device.c: In function 'wg_setup': /var/lib/dkms/amneziawg/1.0.0/build/generated/device.c:292:12: error: 'struct net_device' has no member named 'lltx' 292 | dev->lltx = true; | ^~ make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/amneziawg/1.0.0/build/generated/device.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1926: /var/lib/dkms/amneziawg/1.0.0/build/generated] Error 2 make: *** [Makefile:94: module] Error 2 make: Leaving directory '/var/lib/dkms/amneziawg/1.0.0/build'
The same problem with direct (non-DKMS) installation.