mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[GH-ISSUE #173] Can't build module on Alma Linux 10.2 #104
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#104
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 @legacylynx on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/173
I guess this also applies to RHEL 10.2 and other derivatives (Rocky, Oracle, etc).
My system:
I managed to build the module by removing two redefines in
compat.h.# 1 - Trying to make without code changes
# 2 - Trying to make with first "hack" - remove netif_threaded_enable redefine for < KERNEL_VERSION(6, 17, 0)
# 3 - Trying to make with second "hack" - also remove timer_container_of redefine for < KERNEL_VERSION(6, 16, 0)
Success! kmod also loads without errors, i can set up awg interface
I've made a more correct patch, which introduces additional conditions under which redefines are not applied - when RHEL 10.2 or later is used (with a reserve for the future).
I'll create a PR soon.