ctgu2003 发表于 2004-3-12 03:25:28

求教:内核安装的问题11

我用的是redhat9 编译内核后再安装,出险以下错误:

# make install
make: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.3/arch/i386/boot/install.sh 2.6.3 arch/i386/boot/bzImage S
ystem.map ""
depmod: cannot read ELF header from /lib/modules/2.6.3/modules.dep
depmod: cannot read ELF header from /lib/modules/2.6.3/modules.generic_string
depmod: /lib/modules/2.6.3/modules.ieee1394map is not an ELF file
depmod: /lib/modules/2.6.3/modules.isapnpmap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.3/modules.parportmap
depmod: /lib/modules/2.6.3/modules.pcimap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.3/modules.pnpbiosmap
depmod: /lib/modules/2.6.3/modules.usbmap is not an ELF file
#

我该如何解决??

felix 发表于 2004-3-12 08:41:02

重新配置内核,选中支持ELF的二进制文件,再编译...

yourockey 发表于 2004-3-12 09:25:05

记住要升级Modultils,REDHAT原来带的不支持2.6内核。
Module-Init-Tools:

ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-3.0.tar.bz2
页: [1]
查看完整版本: 求教:内核安装的问题11