免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1760 | 回复: 4
打印 上一主题 下一主题

请教升级Red Hat 9.0(Kernel 2.4.20-8)时的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-20 17:02 |只看该作者 |倒序浏览
原Kernel 2.4.20-8,准备升级到2.6.10,编译内核出现以下问题,何解?


[root@li linux-2.6.10]# make bzImage
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/posix_types.h:37: invalid lvalue in decrement
include/linux/posix_types.h:37: parse error before ';' token
include/linux/posix_types.h:37: warning: no semicolon at end of struct or union
include/linux/posix_types.h:38: warning: type defaults to `int' in declaration of `__kernel_fd_set'
include/linux/posix_types.h:38: warning: data definition has no type or storage
class
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/types.h:20: parse error before "fd_set"
include/linux/types.h:20: warning: type defaults to `int' in declaration of `fd_set'
include/linux/types.h:20: warning: data definition has no type or storage class
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
[root@li linux-2.6.10]#

请过来人指点,多谢!

论坛徽章:
0
2 [报告]
发表于 2006-02-20 17:04 |只看该作者
有關2.4升級至2.6的詳情,請先搜索精華帖

论坛徽章:
0
3 [报告]
发表于 2006-02-20 17:13 |只看该作者
原帖由 lunchan 于 2006-2-20 17:04 发表
有關2.4升級至2.6的詳情,請先搜索精華帖


回复真快,我是先看精华帖没找到解决办法才提问的.不知能否解答?一窍难得啊!
生成不了内核文件,也就无法安装到指定目录了.
[root@li linux-2.6.10]# make modules_install
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.10; fi

[ 本帖最后由 天啸 于 2006-2-20 17:15 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-02-21 10:52 |只看该作者
我也遇到一样的问题,回答了一大堆YES NO 后,就什么反映都没有了

论坛徽章:
0
5 [报告]
发表于 2006-02-24 08:54 |只看该作者
我认为编译的环境必须满足。比方说gcc* ncurses* make* kernel-source* glibc* dev* dev86*等包必须安装.如果确定已经安装.
那么在MAKE MENUCONFIG的时候对自己没有把握的地方最好不用改动.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP