免费注册 查看新帖 |

Chinaunix

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

关于编译2.4.2时间重定向错误:previous declaration of 'xtime' [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-13 14:07 |只看该作者 |倒序浏览
5可用积分
/root/linux/linux/include/asm/system.h:148:9:warning:multi-line string literals are deprecated
timer.c:35: conflicting types for `xtime'
//root/linux/linux/include/linux/sched.h:537: previous declaration of `xtime'


make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/root/linux/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/root/linux/linux/kernel'
make: *** [_dir_kernel] Error 2
上面就是我出现的错误,希望大家给个修改的最佳答案。谢谢!!我已经花了一天时间在上面了]
) make mrproper
) make menuconfig
)  make clean
) make dep
) make bzImage     /*出错

论坛徽章:
0
2 [报告]
发表于 2009-08-24 22:10 |只看该作者

回复 #1 QQ紫枫 的帖子

修改源码
更新编译器和编译环境
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP