Hi , i am trying to build the module.c against the 5.11.0-27 kernel (HWE Kernel) and it fails.
I had compiled the the module.c with previous GA Kernels.
root@ubuntu:/home/user/volatility/tools/linux# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
root@ubuntu:/home/user/volatility/tools/linux# hwe-support-status
Your Hardware Enablement Stack (HWE) is supported until April 2025.
root@ubuntu:/home/user/volatility/tools/linux# uname -a
Linux ubuntu 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/home/user/volatility/tools/linux# make
make -C //lib/modules/5.11.0-27-generic/build CONFIG_DEBUG_INFO=y M="/home/user/volatility/tools/linux" modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-27-generic'
MODPOST /home/user/volatility/tools/linux/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in /home/user/volatility/tools/linux/module.o
make[2]: *** [scripts/Makefile.modpost:124: /home/user/volatility/tools/linux/Module.symvers] Error 1
make[2]: *** Deleting file '/home/user/volatility/tools/linux/Module.symvers'
make[1]: *** [Makefile:1752: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-27-generic'
make: *** [Makefile:10: dwarf] Error 2
if i try to bypass the error the module.dwarf is not correct
Hi , i am trying to build the
module.c
against the 5.11.0-27 kernel (HWE Kernel) and it fails. I had compiled the the module.c with previous GA Kernels.if i try to bypass the error the module.dwarf is not correct
i also tried to rebuild the linux-headers
modpost.c
of HWE Kernelcause the difference between this kernel version and a previous GA linux-headers is the "error" is "warn" in the code below
but with no luck.
Can someone tell me what i make wrong?
thnx