You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sign command: /lib/modules/4.18.0-553.27.1.el8_10.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/amneziawg/1.0.0/source/dkms.conf)
Running the pre_build script:
Legacy kernel - using the compat sources
Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
make -j1 KERNELRELEASE=4.18.0-553.27.1.el8_10.x86_64 -C /var/lib/dkms/amneziawg/1.0.0/build
Error! Bad return status for module build on kernel: 4.18.0-553.27.1.el8_10.x86_64 (x86_64)
Consult /var/lib/dkms/amneziawg/1.0.0/build/make.log for more information.
make: Entering directory '/var/lib/dkms/amneziawg/1.0.20241112/build'
CC [M] /var/lib/dkms/amneziawg/1.0.20241112/build/main.o
In file included from <command-line>:
/var/lib/dkms/amneziawg/1.0.20241112/build/compat/compat.h:412:19: error: redefinition of ‘ktime_get_coarse_boottime_ns’
static inline u64 ktime_get_coarse_boottime_ns(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/ktime.h:266,
from /var/lib/dkms/amneziawg/1.0.20241112/build/compat/compat.h:391,
from <command-line>:
./include/linux/timekeeping.h:119:19: note: previous definition of ‘ktime_get_coarse_boottime_ns’ was here
static inline u64 ktime_get_coarse_boottime_ns(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/string.h:254,
from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:21,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:65,
from ./include/linux/jiffies.h:11,
from ./include/linux/ktime.h:25,
from /var/lib/dkms/amneziawg/1.0.20241112/build/compat/compat.h:391,
from <command-line>:
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h: In function ‘wg_reset_packet’:
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:85:34: error: ‘struct sk_buff’ has no member named ‘headers_end’; did you mean ‘headers’?
offsetof(struct sk_buff, headers_end) -
^~~~~~~~~~~
./include/linux/fortify-string.h:260:35: note: in definition of macro ‘__fortify_memset_chk’
size_t __fortify_size = (size_t)(size); \
^~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
./include/linux/stddef.h:17:32: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:85:9: note: in expansion of macro ‘offsetof’
offsetof(struct sk_buff, headers_end) -
^~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:86:35: error: ‘struct sk_buff’ has no member named ‘headers_start’; did you mean ‘headers’?
offsetof(struct sk_buff, headers_start));
^~~~~~~~~~~~~
./include/linux/fortify-string.h:260:35: note: in definition of macro ‘__fortify_memset_chk’
size_t __fortify_size = (size_t)(size); \
^~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
./include/linux/stddef.h:17:32: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:86:10: note: in expansion of macro ‘offsetof’
offsetof(struct sk_buff, headers_start));
^~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:15: error: ‘struct sk_buff’ has no member named ‘headers_start’; did you mean ‘headers’?
memset(&skb->headers_start, 0,
^~~~~~~~~~~~~
./include/linux/fortify-string.h:261:37: note: in definition of macro ‘__fortify_memset_chk’
fortify_memset_chk(__fortify_size, p_size, p_size_field), \
^~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:15: error: ‘struct sk_buff’ has no member named ‘headers_start’; did you mean ‘headers’?
memset(&skb->headers_start, 0,
^~~~~~~~~~~~~
./include/linux/fortify-string.h:261:45: note: in definition of macro ‘__fortify_memset_chk’
fortify_memset_chk(__fortify_size, p_size, p_size_field), \
^~~~~~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:15: error: ‘struct sk_buff’ has no member named ‘headers_start’; did you mean ‘headers’?
memset(&skb->headers_start, 0,
^~~~~~~~~~~~~
./include/linux/fortify-string.h:262:22: note: in definition of macro ‘__fortify_memset_chk’
__underlying_memset(p, c, __fortify_size); \
^
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
./include/linux/fortify-string.h:261:58: warning: left-hand operand of comma expression has no effect [-Wunused-value]
fortify_memset_chk(__fortify_size, p_size, p_size_field), \
^
./include/linux/fortify-string.h:269:25: note: in expansion of macro ‘__fortify_memset_chk’
#define memset(p, c, s) __fortify_memset_chk(p, c, s, \
^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/amneziawg/1.0.20241112/build/queueing.h:84:2: note: in expansion of macro ‘memset’
memset(&skb->headers_start, 0,
^~~~~~
make[2]: *** [scripts/Makefile.build:318: /var/lib/dkms/amneziawg/1.0.20241112/build/main.o] Error 1
make[1]: *** [Makefile:1619: _module_/var/lib/dkms/amneziawg/1.0.20241112/build] Error 2
make: *** [Makefile:94: module] Error 2
make: Leaving directory '/var/lib/dkms/amneziawg/1.0.20241112/build'
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: