libsqlora8 在AIX上编译错误
AIX5.3(64位)系统 编译libsqlora8-2.3.3,编译器gcc(版本4.2.0),
configure正常,执行make后,出现错误提示:
*** Warning: Linking the shared library libsqlora8.la against the non-libtool
*** objects /lib/crt0_64.o is not portable!
generating symbol list for `libsqlora8.la'
/usr/bin/nm -B -BCpg .libs/sqlora.o .libs/sqlora_compat.o /lib/crt0_64.o | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/libsqlora8.exp
0654-210 .libs/sqlora.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/sqlora_compat.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 /lib/crt0_64.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
gcc -shared -o .libs/libsqlora8-2.3.so.0 .libs/sqlora.o .libs/sqlora_compat.o /lib/crt0_64.o -L/oracle/app/product/10.2/lib -lclntsh -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat -lc -maix64 -Wl,-R/oracle/app/product/10.2/lib -Wl,-bE:.libs/libsqlora8.exp -Wl,-bnoentry ${wl}-berok
ld: 0706-027 The -R /oracle/app/product/10.2/lib flag is ignored.
ar cru .libs/libsqlora8-2.3.a .libs/libsqlora8-2.3.so.0
ar: 0707-126 .libs/libsqlora8-2.3.so.0 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 1.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
****************************************************************************
请问这是什么原因造成的,多谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应该是32位和64位问题导致。