简体   繁体   English

尝试将模块加载到内核时出错

[英]Error when trying to load a module into the kernel

I'm trying to load a kernel module into the kernel by running the following command, 我正在尝试通过运行以下命令将内核模块加载到内核中,

`anthony@ubuntu:~/Desktop/kmaldetect/loadable_kernel_module$ make -C /lib/modules/$(uname -r)/build

This is the error that i get: 这是我得到的错误:

make: Entering directory /usr/src/linux-headers-3.19.0-25-generic'
arch/x86/Makefile:129: CONFIG_X86_X32 enabled but no binutils support
Makefile:669: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[1]: *** No rule to make target `arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/asm/syscalls_32.h'.  Stop.
make: *** [archheaders] Error 2
make: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic'

Maybe someone could help me out. 也许有人可以帮助我。 All help is appreciated. 感谢所有帮助。

kmaldetect / loadable_kernel_module中的Makefile似乎正确,不是简单地运行make在那里工作吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM