clfs ubuntu8.10 编译gcc4.3.2报错,请大家帮帮忙
时间:2009-07-24
来源:互联网
各位达人:
我在自己的宿主平台上使用的是ubuntu8.10,32位的。作clfs时(x86_64),在编译binutils时遇到错误,后来把宿主内的gcc-4.3.2换成了gcc-4.1,编译通过,但是当编译gcc-4.3.2的包时,出现错误,如下:
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.3.2/fixincludes -I../include -I../../gcc-4.3.2/fixincludes/../include ../../gcc-4.3.2/fixincludes/fixincl.c
In file included from ../../gcc-4.3.2/fixincludes/fixincl.c:102:
../../gcc-4.3.2/fixincludes/fixincl.x:77: warning: string length '4756' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:232: warning: string length '552' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:277: warning: string length '532' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:321: warning: string length '808' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:407: warning: string length '5139' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:2798: warning: string length '729' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:7947: warning: string length '575' is greater than the length '509' ISO C89 compilers are required to support
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: Leaving directory `/mnt/sdb/packages/gcc-build/fixincludes'
make[1]: *** [all-fixincludes] Error 2
make[1]: Leaving directory `/mnt/sdb/packages/gcc-build'
make: *** [all] Error 2
不知道这个错误如何解决,希望有人知道一下,谢谢了。
我在自己的宿主平台上使用的是ubuntu8.10,32位的。作clfs时(x86_64),在编译binutils时遇到错误,后来把宿主内的gcc-4.3.2换成了gcc-4.1,编译通过,但是当编译gcc-4.3.2的包时,出现错误,如下:
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.3.2/fixincludes -I../include -I../../gcc-4.3.2/fixincludes/../include ../../gcc-4.3.2/fixincludes/fixincl.c
In file included from ../../gcc-4.3.2/fixincludes/fixincl.c:102:
../../gcc-4.3.2/fixincludes/fixincl.x:77: warning: string length '4756' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:232: warning: string length '552' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:277: warning: string length '532' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:321: warning: string length '808' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:407: warning: string length '5139' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:2798: warning: string length '729' is greater than the length '509' ISO C89 compilers are required to support
../../gcc-4.3.2/fixincludes/fixincl.x:7947: warning: string length '575' is greater than the length '509' ISO C89 compilers are required to support
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: Leaving directory `/mnt/sdb/packages/gcc-build/fixincludes'
make[1]: *** [all-fixincludes] Error 2
make[1]: Leaving directory `/mnt/sdb/packages/gcc-build'
make: *** [all] Error 2
不知道这个错误如何解决,希望有人知道一下,谢谢了。
作者: erics 发布时间: 2009-07-24
第几章?第几节?
哪个版的手册?
前面执行过什麽?
哪个版的手册?
前面执行过什麽?
作者: d00m3d 发布时间: 2009-07-25
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28