mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[GH-ISSUE #190] Can't build from source on Debian sid. #111
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-linux-kernel-module#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @c0el on GitHub (Jul 23, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/190
Hello, I'm using debian sid (7.1.4+deb14) and when trying to build amneziawg from source I get this error:
`DKMS (dkms-3.2.2) make.log for amneziawg/1.0.0 for kernel 7.1.4+deb14-amd64 (x86_64)
Thu Jul 23 10:20:54 AM EDT 2026
Building module(s)
command: make -j16 KERNELRELEASE=7.1.4+deb14-amd64 -C /lib/modules/7.1.4+deb14-amd64/build M=/var/lib/dkms/amneziawg/1.0.0/build
make: Entering directory '/usr/src/linux-headers-7.1.4+deb14-amd64'
make[1]: Entering directory '/var/lib/dkms/amneziawg/1.0.0/build'
CC [M] main.o
CC [M] noise.o
CC [M] device.o
CC [M] peer.o
CC [M] timers.o
CC [M] queueing.o
CC [M] send.o
CC [M] receive.o
CC [M] socket.o
CC [M] peerlookup.o
CC [M] allowedips.o
CC [M] ratelimiter.o
CC [M] cookie.o
CC [M] netlink.o
CC [M] junk.o
CC [M] magic_header.o
socket.c: In function ‘send6’:
socket.c:139:23: error: ‘ipv6_stub’ undeclared (first use in this function); did you mean ‘ipv4_mtu’?
139 | dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
| ^~~~~~~~~
| ipv4_mtu
socket.c:139:23: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-headers-7.1.4+deb14-common/scripts/Makefile.build:294: socket.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-7.1.4+deb14-common/Makefile:2186: .] Error 2
make[1]: *** [/usr/src/linux-headers-7.1.4+deb14-common/Makefile:260: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/amneziawg/1.0.0/build'
make: *** [/usr/src/linux-headers-7.1.4+deb14-common/Makefile:260: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-7.1.4+deb14-amd64'
exit code: 2
elapsed time: 00:00:02
`
@ygurov commented on GitHub (Jul 31, 2026):
Hi @c0el ,
Thanks for reporting the issue. Please check if the change works fine for you
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/205
@c0el commented on GitHub (Aug 6, 2026):
Checked today, and it works. Thanks a lot!