为什么我不能编译内核了?
大侠们,我今天编译内核用make menucofig命令
之后用make dep
make bzImage命令
但是最好告诉我出错了
我重新启动之后
再以root身份登录
想用make menucofig
但是告诉我
make:×××No rule to make target 'menuconfig' .stop.
大侠们你们遇到过这种情况没有???
我应该怎么办? which kernel version u use?
which error u meet when u run make bzImage
can u re-uncompress the kernel source package and try again? red hat 8.0
内核版本应该是2.4吧
还有今天我在另外一台机子上
用make menuconfig
窗口打开后我选的退出
就退出来了
再用make menuconfig
就出现了
make:×××No rule to make target 'menuconfig' .stop.
:( check if your Makefile is still there under linux directory. versy strange, i never meet this before. although i only use 3 month rh8 before i switch to gentoo. 我把linux-2.4目录下的Makefile删掉了,
结果还是不管用 用make xconfig试试。 我把linux-2.4目录下的Makefile删掉了,
结果还是不管用
??? Makefile is the core file for compiling. u can not delete it. so now u have to redownload source and compile.
suggest u to read kernel how to before u do kernel compiling work. you can know more information about make, makefile, config. may solve your problem. 我有一次出现那个提示,找了半天原因。 原来那几个命令必须在/usr/src/linux-xxx
即你要编译的新内核的目录下用。 basically u can uncompress your kernel source code under any directory, although /usr/src is recommended. u need enter that directory before you run make config, dep, zImage or another command.
页:
[1]