免费注册 查看新帖 |

Chinaunix

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

[安装配置] 求助,Aix6.1 64+Java7 64+Resin4.0.36 编译问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-08-08 15:45 |只看该作者 |倒序浏览
想将系统上的32位Resin更换为64位,系统本来就是 64位 aix6.1 升级了 java7 64位,运行正常,但是在编译resin4.0.36时出现了问题,总是编译 make的时候出现了问题,总是编译不过,有大侠碰到过类似问题嘛?求教解决方法

./configure --prefix=/data/resin4 --enable-64bit --with-java-home=/usr/java7_64  

checking command to parse /usr/bin/nm -B output from gcc object... failed  除这个外没有failed

make 后

std.c: In function 'std_accept':
std.c:455: warning: passing argument 3 of 'naccept' from incompatible pointer type
std.c: In function 'std_init':
std.c:540: warning: passing argument 3 of 'ngetsockname' from incompatible pointer type
std.c: In function 'std_close_ss':
std.c:569: warning: passing argument 3 of 'ngetsockname' from incompatible pointer type
        gcc  -o libresin_os.so boot.o java.o jni_os.o jni_jvmti.o jni_socket.o memory.o std.o
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


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


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


Stop.

错误,不知道是什么原因,更换ld后,虽然checking command to parse /usr/bin/nm -B output from gcc object... ok了,但是依然出现相同错误,请大侠们指教

论坛徽章:
0
2 [报告]
发表于 2013-08-08 22:18 |只看该作者
此种问题大部分都是编译器版本问题引起的。。

论坛徽章:
0
3 [报告]
发表于 2013-08-09 09:29 |只看该作者
gcc 版本是从ibm官方网站下载的 gcc 4.2.0 不知道是否有问题

论坛徽章:
0
4 [报告]
发表于 2013-08-15 08:38 |只看该作者
我自己顶上来,希望大家帮忙看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP