- 论坛徽章:
- 0
|
我在AIX5.3(64位)系统下面编译libsqlora8-2.3.2,使用的是gcc(版本4.2.0)编译器,
我首先执行了./configure命令后,检测了系统配置,一切正常,然后执行make命令,出现下面的错误提示:
make all-recursive
Making all in .
/bin/sh ./libtool --mode=link --tag=CC @GCC@ -O3 -W -Wall -Wmissing-prototypes -L/oracle/app/product/10.2.0/lib32 -Wl,-R/oracle/app/product/10.2.0/lib32 -o libsqlora8.la -rpath /usr/local/lib -version-info 2:0:2 -release 2.3 -export-dynamic sqlora.lo sqlora_compat.lo -lclntsh /lib/crt0_r.o -ldl -lc -lpthreads -lodm -lm -lbsd_r -lld -lperfstat
*** Warning: Linking the shared library libsqlora8.la against the non-libtool
*** objects /lib/crt0_r.o is not portable!
generating symbol list for `libsqlora8.la'
/usr/bin/nm -B -BCpg .libs/sqlora.o .libs/sqlora_compat.o /lib/crt0_r.o | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/libsqlora8.exp
nm: .libs/sqlora.o: 0654-203 Specify an XCOFF object module.
nm: .libs/sqlora_compat.o: 0654-203 Specify an XCOFF object module.
gcc -shared -o .libs/libsqlora8-2.3.so.0 .libs/sqlora.o .libs/sqlora_compat.o /lib/crt0_r.o -L/oracle/app/product/10.2.0/lib32 -lclntsh -ldl -lc -lpthreads -lodm -lm -lbsd_r -lld -lperfstat -lc -Wl,-R/oracle/app/product/10.2.0/lib32 -Wl,-bE:.libs/libsqlora8.exp -Wl,-bnoentry ${wl}-berok
collect2: library libgcc_s not found
make: 1254-004 The error code from the last command is 1.
Stop.
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.
请教一下,这是什么问题造成的错误呢?应该如何排错呢?谢谢了先~^_^ |
|