mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 05:41:56 +00:00
[GH-ISSUE #58] Can't build on Rocky Linux 8. #29
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#29
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 @Trogvars on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/58
NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
Without any errors.
But when I try to build dkms module got error:
build -m amneziawg -v 1.0.0@itezlo commented on GitHub (Dec 31, 2024):
I was in the same situation, but finally after 2 days I've made it. Here is how:
I assume that kernel 4.18 is old, so I had to install more modern kernel. Elrepo has kernel 5.4 and 6.12.7(at the moment) for Rocky Linux 8 and 9. DKMS was causing a lot of pain, so I decided to compile from source. Steps to make:
ln -s directory_from_step_2 kernelAnd it's working. You can try steps above on 4.18 kernel, but without kernel sources as stated in manual. I'm 95% sure you're not gonna make it and the reason is old kernel. Hope I helped.