免费注册 查看新帖 |

Chinaunix

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

[安装配置] gcc 4.0.0.2在aix5.2 上安装make时出错! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-25 14:29 |只看该作者 |倒序浏览
在aix 5.2中安装gcc 4.0.2,配置用../gcc-4.0.2/configure --prefix=/interface/gcc --enable-threads=posix --enable-languages=c,c++,make时报错:

...
...
...
ar: 0707-126 ./regex.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./cplus-dem.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./cp-demangle.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./md5.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./alloca.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./argv.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./choose-temp.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./concat.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./cp-demint.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./dyn-string.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./fdmatch.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./fibheap.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./floatformat.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./fnmatch.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./fopen_unlocked.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./getopt.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./getopt1.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./getpwd.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./getruntime.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./hashtab.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./hex.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./lbasename.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./lrealpath.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./make-relative-prefix.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./make-temp-file.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./objalloc.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./obstack.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./partition.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./physmem.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./pex-unix.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./safe-ctype.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./sort.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./spaces.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./splay-tree.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./strerror.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./strsignal.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./ternary.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xatexit.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xexit.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xmalloc.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xmemdup.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xstrdup.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./xstrerror.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./asprintf.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./mempcpy.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./mkstemps.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
ar: 0707-126 ./vasprintf.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
make: The error code from the last command is 47.


Stop.
make: The error code from the last command is 2.

论坛徽章:
0
2 [报告]
发表于 2006-08-25 16:23 |只看该作者
目标代码的模式不正确,编译时使用-X选项来指定,可能需要修改configure文件

论坛徽章:
0
3 [报告]
发表于 2006-08-28 09:21 |只看该作者
gcc.gnu.org有编译好二进制包下载吗?直接解压就可用的?我没找到!
谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP