QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1453|回复: 1

编译新 2.6.4内核出错~~depmod:

[复制链接]
发表于 2004-3-19 09:40:32 | 显示全部楼层 |阅读模式
首先我安装好Module-init-tools-3.0,然后编译内核,最后一步,出现了错误:

[root@wjm linux-2.6.4]# make install
make[1]: `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.4/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
depmod: cannot read ELF header from /lib/modules/2.6.4/modules.alias
depmod: /lib/modules/2.6.4/modules.ccwmap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.4/modules.dep
depmod: /lib/modules/2.6.4/modules.ieee1394map is not an ELF file
depmod: /lib/modules/2.6.4/modules.inputmap is not an ELF file
depmod: /lib/modules/2.6.4/modules.isapnpmap is not an ELF file
depmod: /lib/modules/2.6.4/modules.pcimap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.4/modules.symbols
depmod: /lib/modules/2.6.4/modules.usbmap is not an ELF file

我的编译步骤
make mrproper
make menuconfig
make
make install.
用的是rh9.0
:-(  :-(  :-(
发表于 2004-3-19 10:28:55 | 显示全部楼层
内核配置文件中(.config)加上以下内容:

# Executable file formats
#
CONFIG_BINFMT_ELF=y
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 18:30 , Processed in 0.040758 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表