|
|
希望那位大虾,给一个点提示哈
出错为:
[root@localhost 2.6.11-1.1369_FC4-i686]# make
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
[root@localhost 2.6.11-1.1369_FC4-i686]#
第二种出错为当我执行make help都要出错代码如下
[root@localhost 2.6.11-1.1369_FC4-i686]# make help
Cleaning targets:
clean - remove most generated files but keep the config
mrproper - remove all generated files + config + various backup files
Configuration targets:
config - Update current config utilising a line-oriented program
menuconfig - Update current config utilising a menu based program
xconfig - Update current config utilising a QT based front-end
gconfig - Update current config utilising a GTK based front-end
oldconfig - Update current config utilising a provided .config as base
randconfig - New config with random answer to all options
defconfig - New config with default answer to all options
allmodconfig - New config selecting modules when possible
allyesconfig - New config where all options are accepted with yes
allnoconfig - New minimal config
Other generic targets:
all - Build all targets marked with
* vmlinux - Build the bare kernel
* modules - Build all modules
modules_install - Install all modules
dir/ - Build all files in dir and below
dir/file.[ois] - Build specified target only
rpm - Build a kernel as an RPM package
tags/TAGS - Generate tags file for editors
cscope - Generate cscope index
Static analysers
buildcheck - List dangling references to vmlinux discarded sections
and init sections from non-init sections
checkstack - Generate a list of stack hogs
namespacecheck - Name space analysis on compiled kernel
Kernel packaging:
rpm-pkg - Build the kernel as an RPM package
binrpm-pkg - Build an rpm package containing the compiled kernel & modules
deb-pkg - Build the kernel as an deb package
Documentation targets:
make[1]: /usr/src/kernels/2.6.11-1.1369_FC4-i686/Documentation/DocBook/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/kernels/2.6.11-1.1369_FC4-i686/Documentation/DocBook/Makefile'. Stop.
make: *** [help] Error 2
谢谢,请那位大虾看一下 |
|