免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1381 | 回复: 1

升级内核出现的错误 [复制链接]

论坛徽章:
0
发表于 2009-07-28 22:41 |显示全部楼层
make menuconfig 后 make && make modules_install && make install 时就报错,内容如下:::



HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
#
# configuration written to .config
#
make: *** No rule to make target `modeules'.  Stop.
[root@ser linux-2.6.29.2]# make  modules && make modules_install && make install
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CC      kernel/bounds.s
In file included from include/linux/compiler-gcc.h:86,
                 from include/linux/compiler.h:40,
                 from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/linux/types.h:11,
                 from include/linux/page-flags.h:8,
                 from kernel/bounds.c:9:
include/linux/compiler-gcc4.h:7:3: error: #error Your version of gcc miscompiles the __weak directive
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
[root@ser linux-2.6.29.2]#
各位大侠,是怎么回事呢??

论坛徽章:
0
发表于 2009-07-29 09:58 |显示全部楼层

回复 #1 yjw276009649 的帖子

GCC的编译环境问题
安装gcc的编译环境
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP