mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[GH-ISSUE #104] DKMS module broken. After last update, can't build. #61
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#61
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 @gentoosys on GitHub (Oct 10, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/104
Originally assigned to: @ygurov on GitHub.
using arch.
DKMS (dkms-3.2.2) make.log for amneziawg/1.0.0 for kernel 6.16.7-273-tkg-eevdf (x86_64)
Пт 10 окт 2025 18:05:34 MSK
Building module(s)
command: make -j8 KERNELRELEASE=6.16.7-273-tkg-eevdf -C /usr/lib/modules/6.16.7-273-tkg-eevdf/build M=/var/lib/dkms/amneziawg/1.0.0/build
make: Entering directory '/usr/lib/modules/6.16.7-273-tkg-eevdf/build'
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
timers.c: In function ‘wg_expired_retransmit_handshake’:
timers.c:43:32: error: implicit declaration of function ‘from_timer’; did you mean ‘mod_timer’? [-Wimplicit-function-declaration]
43 | struct wg_peer peer = from_timer(peer, timer,
| ^~~~~~~~~~
| mod_timer
device.c: In function ‘wg_pm_notification’:
device.c:94:25: error: implicit declaration of function ‘del_timer’; did you mean ‘add_timer’? [-Wimplicit-function-declaration]
94 | del_timer(&peer->timer_zero_key_material);
| ^~~~~~~~~
| add_timer
timers.c:44:43: error: ‘timer_retransmit_handshake’ undeclared (first use in this function); did you mean ‘wg_expired_retransmit_handshake’?
44 | timer_retransmit_handshake);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| wg_expired_retransmit_handshake
timers.c:44:43: note: each undeclared identifier is reported only once for each function it appears in
device.c: At top level:
device.c:437:35: error: initialization of ‘int ()(struct net_device *, struct rtnl_newlink_params *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *)’ [-Wincompatible-pointer-types]
437 | .newlink = wg_newlink,
| ^~~~~~~~~~
device.c:437:35: note: (near initialization for ‘link_ops.newlink’)
device.c:334:12: note: ‘wg_newlink’ declared here
334 | static int wg_newlink(struct net *src_net, struct net_device *dev,
| ^~~~~~~~~~
timers.c:51:17: error: implicit declaration of function ‘del_timer’; did you mean ‘add_timer’? [-Wimplicit-function-declaration]
51 | del_timer(&peer->timer_send_keepalive);
| ^~~~~~~~~
| add_timer
timers.c: In function ‘wg_expired_send_keepalive’:
timers.c:81:56: error: ‘timer_send_keepalive’ undeclared (first use in this function); did you mean ‘sock_set_keepalive’?
81 | struct wg_peer *peer = from_timer(peer, timer, timer_send_keepalive);
make[3]: *** [/usr/lib/modules/6.16.7-273-tkg-eevdf/build/scripts/Makefile.build:287: device.o] Error 1
make[3]: *** Waiting for unfinished jobs....
timers.c: In function ‘wg_expired_new_handshake’:
timers.c:93:56: error: ‘timer_new_handshake’ undeclared (first use in this function); did you mean ‘wg_expired_new_handshake’?
93 | struct wg_peer *peer = from_timer(peer, timer, timer_new_handshake);
| ^~~~~~~~~~~~~~~~~~~
| wg_expired_new_handshake
timers.c: In function ‘wg_expired_zero_key_material’:
timers.c:107:56: error: ‘timer_zero_key_material’ undeclared (first use in this function); did you mean ‘wg_expired_zero_key_material’?
107 | struct wg_peer *peer = from_timer(peer, timer, timer_zero_key_material);
| ^~~~~~~~~~~~~~~~~~~~~~~
| wg_expired_zero_key_material
timers.c: In function ‘wg_expired_send_persistent_keepalive’:
timers.c:138:43: error: ‘timer_persistent_keepalive’ undeclared (first use in this function)
138 | timer_persistent_keepalive);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/lib/modules/6.16.7-273-tkg-eevdf/build/scripts/Makefile.build:287: timers.o] Error 1
make[2]: *** [/usr/lib/modules/6.16.7-273-tkg-eevdf/build/Makefile:2009: .] Error 2
make[1]: *** [/usr/lib/modules/6.16.7-273-tkg-eevdf/build/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/amneziawg/1.0.0/build'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.16.7-273-tkg-eevdf/build'
exit code: 2
elapsed time: 00:00:13
@ygurov commented on GitHub (Oct 19, 2025):
Hi @gentoosys,
It looks like you are trying to build the version which does not have #100 in it. Please proceed with the latest version, should be compiling fine on 6.16+ kernels