QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1136|回复: 2

新手学习ldd2时遇到的问题!恳请指教!

[复制链接]
发表于 2005-4-27 01:22:35 | 显示全部楼层 |阅读模式
我用Red Hat 9
第二章一开头,在编译hello.c后,运行insmod时提示,这个模块是为内核2.4.20编译的,而我的内核版本是2.4.20-8,不能加载
我按照书中的一句提示,把内核编译为不支持版本控制功能,还是不行 -.-
刚开始学习就被卡在这里了,该怎么办啊?
发表于 2005-4-27 06:56:18 | 显示全部楼层
It seemed that there r two way to solve the problem:

1. you can try insmod -f <your module>

2. you'd better download a standard kernel and compile it. The
kernel version of RH is 2.4.20-8CUSTOM by default not 2.4.20-8.
Although you can change it, but a new 2.6 standard kernel is
highly recommended!  
回复

使用道具 举报

 楼主| 发表于 2005-4-29 08:34:45 | 显示全部楼层
You're so kind!
Thank you very much!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-29 08:39 , Processed in 0.074637 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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