blackrock 发表于 2003-6-4 01:00:03

编译内核版本出错?

rh9.0下/usr/src/linux-2.4.20-8/
make menuconfig
make dep
make bzImage
make modules
make modules_install
然后用grub引导新内核报错:
jdb.o ext3.o was compiled for kernel version 2.4.20-8
         while this kernel is version 2.4.20-8custom

请问这是怎么回事啊?
如何解决?
3x

Dragonfly 发表于 2003-6-4 09:22:23

check u Makefile, change that to
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION =
not be a custom. and if u use ext3, u have better compile it into kernel, since anyway u need it everytime.

blackrock 发表于 2003-6-7 21:13:20

按楼上的方法没能解决,虽然不报错,但是一用到ext3模块就出问题了

cnhnln 发表于 2003-6-8 19:57:57

有没有mkinitrd?

Dragonfly 发表于 2003-6-9 10:38:31

what is the problem?
post detail error msg here.

blackrock 发表于 2003-6-9 12:00:57

谢谢两位

我放弃了,我把ext3的分区改成了ext2的
没问题了。
页: [1]
查看完整版本: 编译内核版本出错?