Thread: [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 |
From: Anthony T. <ant...@gm...> - 2010-05-26 21:28:38
|
Ah yes, this is what happens when you don't have access to Oracle 9i any longer.... :-) I have checked in a change to trunk that I believe should resolve the issue. Can you test that for me and report back? Thanks. Anthony On Wed, May 26, 2010 at 2:21 PM, Tim Ferrell <IT...@mc...> wrote: > > 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 > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |
From: Tim F. <IT...@mc...> - 2010-05-27 18:22:04
|
Yes, that worked for me :-) Thanks much Anthony! Anthony Tuininga <anthony.tuininga@...> writes: > > Ah yes, this is what happens when you don't have access to Oracle 9i > any longer.... > > I have checked in a change to trunk that I believe should resolve the > issue. Can you test that for me and report back? Thanks. > > Anthony |
From: Anthony T. <ant...@gm...> - 2010-05-27 20:37:29
|
You're welcome. Thanks for letting me know. Anthony On Thu, May 27, 2010 at 12:21 PM, Tim Ferrell <IT...@mc...> wrote: > > Yes, that worked for me :-) Thanks much Anthony! > > > Anthony Tuininga <anthony.tuininga@...> writes: > >> >> Ah yes, this is what happens when you don't have access to Oracle 9i >> any longer.... >> >> I have checked in a change to trunk that I believe should resolve the >> issue. Can you test that for me and report back? Thanks. >> >> Anthony > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |