[cx-oracle-users] trouble building cx_Oracle 5.0.3 against Oracle 9.2.0.8 on Linux
Brought to you by:
atuining
From: Tim F. <IT...@mc...> - 2010-05-26 20:25:19
|
I am trying to build cx_Oracle 5.0.3 against Oracle 9.2.0.8 on Ubuntu Linux 10.04 x64 and am getting the following error. Any ideas? FWIW I was able to compile the ruby_oci8 gem against this install ... I know that is apples and oranges, but I'm just saying the oracle install works ;-) Any help appreciated! Cheers, Tim running build running build_ext building 'cx_Oracle' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict- prototypes -fPIC -I/opt/oracle/product/9.2.0/rdbms/demo - I/opt/oracle/product/9.2.0/rdbms/public -I/usr/include/python2.6 -c cx_Oracle.c -o build/temp.linux-x86_64-2.6-9i/cx_Oracle.o -DBUILD_VERSION=5.0.3 In file included from /opt/oracle/product/9.2.0/rdbms/demo/oci.h:2152, from cx_Oracle.c:10: /opt/oracle/product/9.2.0/rdbms/demo/oci1.h:148: warning: function declaration isn’t a prototype In file included from /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:193, from /opt/oracle/product/9.2.0/rdbms/demo/oci.h:2177, from cx_Oracle.c:10: /opt/oracle/product/9.2.0/rdbms/public/nzt.h:667: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2655: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2664: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2674: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2683: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2692: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2701: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2709: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/public/nzt.h:2719: warning: function declaration isn’t a prototype In file included from /opt/oracle/product/9.2.0/rdbms/demo/oci.h:2177, from cx_Oracle.c:10: /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:6897: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:9801: warning: function declaration isn’t a prototype /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:9807: warning: function declaration isn’t a prototype In file included from SessionPool.c:139, from cx_Oracle.c:167: Connection.c:149: error: ‘Connection_SetOCIAttr’ undeclared here (not in a function) error: command 'gcc' failed with exit status 1 |