内核编译的问题--scripts/basic/fixdep.c: In function ‘traps’:
时间:2011-07-28
来源:互联网
我的系统是ubuntu10.4 gcc的版本是4.4.3
make menuconfig官网上下载的2.6.8的内核出现下列错误
C/C++ code
知道什么原因错,但不知道怎么改,新手求指教。。。。。。。上网搜索了很久全部是版本不对没有头文件的解决方法,我这个好像不适用,
make menuconfig官网上下载的2.6.8的内核出现下列错误
C/C++ code
HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c: In function ‘traps’: scripts/basic/fixdep.c:359: warning: dereferencing type-punned pointer will break strict-aliasing rules scripts/basic/fixdep.c:361: warning: dereferencing type-punned pointer will break strict-aliasing rules HOSTCC scripts/basic/split-include scripts/basic/split-include.c: In function ‘main’: scripts/basic/split-include.c:133: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/basic/docproc SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function ‘conf_askvalue’: scripts/kconfig/conf.c:94: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result scripts/kconfig/conf.c: In function ‘conf_choice’: scripts/kconfig/conf.c:350: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/mconf.o scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’ follows non-static declaration scripts/kconfig/lkc.h:63: note: previous declaration of ‘current_menu’ was here scripts/kconfig/mconf.c: In function ‘exec_conf’: scripts/kconfig/mconf.c:223: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result scripts/kconfig/mconf.c: In function ‘show_textbox’: scripts/kconfig/mconf.c:551: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result make[1]: *** [scripts/kconfig/mconf.o] Error 1 make: *** [menuconfig] Error 2
知道什么原因错,但不知道怎么改,新手求指教。。。。。。。上网搜索了很久全部是版本不对没有头文件的解决方法,我这个好像不适用,
作者: pishuli 发布时间: 2011-07-28
友情帮顶
作者: ice 发布时间: 2011-07-28
scripts/kconfig/mconf.c
91行的current_menu声明可能有点问题
91行的current_menu声明可能有点问题
作者: thefirstz 发布时间: 2011-07-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28