当前位置: 技术问答>linux和unix
请教内核编译的问题!
来源: 互联网 发布时间:2015-04-27
本文导语: 在2.4.18-3内核下编译时,按照以下步骤操作: make mrproper make menuconfig //去掉Loadable module support make dep make clean make bzImage 内核编译失败,提示内容如下: In file included from paep.c:85: paep.h:75:2:...
在2.4.18-3内核下编译时,按照以下步骤操作:
make mrproper
make menuconfig //去掉Loadable module support
make dep
make clean
make bzImage
内核编译失败,提示内容如下:
In file included from paep.c:85:
paep.h:75:2: #error "MODULE not defined, I guess you don't
want to recompile the entire kernel!"
make [4]: ***[paep.o] Error 1
请问这是怎么回事?如何解决?谢谢!
make mrproper
make menuconfig //去掉Loadable module support
make dep
make clean
make bzImage
内核编译失败,提示内容如下:
In file included from paep.c:85:
paep.h:75:2: #error "MODULE not defined, I guess you don't
want to recompile the entire kernel!"
make [4]: ***[paep.o] Error 1
请问这是怎么回事?如何解决?谢谢!
|
because some kernel function has been set as module, not built-in kernel. so if you set "loadable module support" off, it wouldn't work.