0

使用命令在 AIX 7.1 上构建 oracle_fdw-2.0.0 的代码时出现以下错误:gmake

gcc -Wall -Wmissing-prototypes -Wpointer-arith -maix64  -I/app/oracle/112/oradata/sdk/include -I/app/oracle/112/oradata/oci/include -I/app/oracle/112/oradata/rdbms/public -I/usr/include/oracle/12.2/client -I/usr/include/oracle/12.2/client64 -I/usr/include/oracle/12.1/client -I/usr/include/oracle/12.1/client64 -I/usr/include/oracle/11.2/client -I/usr/include/oracle/11.2/client64 -I/usr/include/oracle/11.1/client -I/usr/include/oracle/11.1/client64 -I/usr/include/oracle/10.2.0.5/client -I/usr/include/oracle/10.2.0.5/client64 -I/usr/include/oracle/10.2.0.4/client -I/usr/include/oracle/10.2.0.4/client64 -I/usr/include/oracle/10.2.0.3/client -I/usr/include/oracle/10.2.0.3/client64 -I. -I./ -I/app/postgresql10ff/include/server -I/app/postgresql10ff/include/internal  -I/opt/freeware/include -I/usr/include  -c -o oracle_fdw.o oracle_fdw.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -maix64  -I/app/oracle/112/oradata/sdk/include -I/app/oracle/112/oradata/oci/include -I/app/oracle/112/oradata/rdbms/public -I/usr/include/oracle/12.2/client -I/usr/include/oracle/12.2/client64 -I/usr/include/oracle/12.1/client -I/usr/include/oracle/12.1/client64 -I/usr/include/oracle/11.2/client -I/usr/include/oracle/11.2/client64 -I/usr/include/oracle/11.1/client -I/usr/include/oracle/11.1/client64 -I/usr/include/oracle/10.2.0.5/client -I/usr/include/oracle/10.2.0.5/client64 -I/usr/include/oracle/10.2.0.4/client -I/usr/include/oracle/10.2.0.4/client64 -I/usr/include/oracle/10.2.0.3/client -I/usr/include/oracle/10.2.0.3/client64 -I. -I./ -I/app/postgresql10ff/include/server -I/app/postgresql10ff/include/internal  -I/opt/freeware/include -I/usr/include  -c -o oracle_utils.o oracle_utils.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -maix64  -I/app/oracle/112/oradata/sdk/include -I/app/oracle/112/oradata/oci/include -I/app/oracle/112/oradata/rdbms/public -I/usr/include/oracle/12.2/client -I/usr/include/oracle/12.2/client64 -I/usr/include/oracle/12.1/client -I/usr/include/oracle/12.1/client64 -I/usr/include/oracle/11.2/client -I/usr/include/oracle/11.2/client64 -I/usr/include/oracle/11.1/client -I/usr/include/oracle/11.1/client64 -I/usr/include/oracle/10.2.0.5/client -I/usr/include/oracle/10.2.0.5/client64 -I/usr/include/oracle/10.2.0.4/client -I/usr/include/oracle/10.2.0.4/client64 -I/usr/include/oracle/10.2.0.3/client -I/usr/include/oracle/10.2.0.3/client64 -I. -I./ -I/app/postgresql10ff/include/server -I/app/postgresql10ff/include/internal  -I/opt/freeware/include -I/usr/include  -c -o oracle_gis.o oracle_gis.c
rm -f liboracle_fdw.a
ar -X64 crs liboracle_fdw.a oracle_fdw.o oracle_utils.o oracle_gis.o
touch liboracle_fdw.a
/app/postgresql10ff/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh liboracle_fdw.a oracle_fdw.so >liboracle_fdw.exp
gcc -Wall -Wmissing-prototypes -Wpointer-arith -maix64  -o oracle_fdw.so liboracle_fdw.a -Wl,-bE:liboracle_fdw.exp -L/app/postgresql10ff/lib -Wl,-bbigtoc,-lm  -L/opt/freeware/lib64 -L/usr/lib64 -Wl,-blibpath:'/app/postgresql10ff/lib:/app/postgresql10ff/lib:/opt/freeware/lib64:/usr/lib64:/usr/lib:/lib'  -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE -L/app/oracle/112/oradata -L/app/oracle/112/oradata/bin -L/app/oracle/112/oradata/lib -lclntsh -L/usr/lib/oracle/12.2/client/lib -L/usr/lib/oracle/12.2/client64/lib -L/usr/lib/oracle/12.1/client/lib -L/usr/lib/oracle/12.1/client64/lib -L/usr/lib/oracle/11.2/client/lib -L/usr/lib/oracle/11.2/client64/lib -L/usr/lib/oracle/11.1/client/lib -L/usr/lib/oracle/11.1/client64/lib -L/usr/lib/oracle/10.2.0.5/client/lib -L/usr/lib/oracle/10.2.0.5/client64/lib -L/usr/lib/oracle/10.2.0.4/client/lib -L/usr/lib/oracle/10.2.0.4/client64/lib -L/usr/lib/oracle/10.2.0.3/client/lib -L/usr/lib/oracle/10.2.0.3/client64/lib -Wl,-bI:/app/postgresql10ff/lib/postgres.imp
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
collect2: error: ld returned 8 exit status
/app/postgresql10ff/lib/pgxs/src/makefiles/../../src/Makefile.shlib:326: recipe for target 'oracle_fdw.so' failed
gmake: *** [oracle_fdw.so] Error 1
gmake: *** Deleting file 'oracle_fdw.so'

感谢您支持解决此问题。

4

0 回答 0