|
os:fc4
kernel:2.6.13
我用的不是kernel.org发行版的kernel,而是一个livecd中的kernel,不过应该也差不多。因为需要把一个加载模块的地方编译到内核中,所以:
我make menuconfig,只是把一个模块变成了build-in,保存,然后,
编译内核的时候:
[root@localhost linux]# make bzImage
CHK include/linux/version.h
CHK include/asm-i386/asm_offsets.h
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
如果我make clean:
fs/hostfs/Makefile:11: arch/um/scripts/Makefile.rules: No such file or directory
make[2]: *** No rule to make target `arch/um/scripts/Makefile.rules'. Stop.
make[1]: *** [fs/hostfs] Error 2
make: *** [_clean_fs] Error 2
请问怎么回事呢?如何解决这2个问题呢?谢谢,不吝赐教! |
|