qianzheng82 发表于 2003-6-14 18:01:51

郁闷,编译内核又没成功,HELP ME

今天下载了2.4.21的内核,按照公社精华区的kernel-build帖子操作,又出错了,make的时候加了-i参数都不行。那篇帖子写得不具体,而且当中有好多地方连不起来的。我用make xconfig,里面有好多选项都不懂,帖子中没有的只好乱选一通。以前也试过编译过内核,没一次成功的,最好的情况是bzImage文件出来了,可用它引导后就死机,要不就有很多failed出现。还有,我用c500的cpu,那个编译速度啊,慢就一个字。所以最好有人能帮我一下,把编译的过程写得详细一些,让我在配置的时候尽量正确,能一次编译通过,这就不用费我那么多时间了。最好能给我一个最大路货的配置参考,比如说哪些该编译进内核,哪些作为模块配置出来的内核通用性最好,能满足大部分应用。在此先谢谢了!

chengliye 发表于 2003-6-14 19:52:46

最好的方法:将/boot目录下相应的config-***拷贝到/usr/src/linux/.config文件中,然后用make menuconfig等进入配置菜单,将自己明确知道的需要的东西加入,不需要的选项去掉,保存后再执行:make dep ; make ;make modules; make modules_install; make install,祝你好运!

Dragonfly 发表于 2003-6-14 22:00:10

but sometime u boot do not have config file. and that different files are for differnet kernel,. can not be messed up.
u need not that make -i,

which linux u use? rh? if so u can check rh's kernel config to see which it chooses and which not

qianzheng82 发表于 2003-6-14 22:05:13

我用的是ML1.1f,幸好在boot下有一个config 文件,我现在去试试

Dragonfly 发表于 2003-6-14 22:05:59

good luck. read its help carefully to know more.

cnhnln 发表于 2003-6-14 22:56:26

http://www.linuxfocus.org/ChineseGB/July2002/article252.shtml
这一篇很详细吧:-)

Dragonfly 发表于 2003-6-14 23:26:16

good place. thx so many people use own privare time to do so useful things.

qianzheng82 发表于 2003-6-15 00:26:47

太好了,下回去仔细研究,谢谢。

qianzheng82 发表于 2003-6-15 01:15:34

经过3个多小时编译总算成功了,谢谢大家的帮助

Dragonfly 发表于 2003-6-15 23:38:46

cong! think about why and how, will benefit u.

jeffky 发表于 2003-6-22 21:36:18

make xconfig不大好,最好还是用make menuconfig这个设置起来更好。

Dragonfly 发表于 2003-6-22 22:55:02

it depends, many people like nice gui.

:-D
页: [1]
查看完整版本: 郁闷,编译内核又没成功,HELP ME