[cx-oracle-users] building version 4.2 with Python 2.2
Brought to you by:
atuining
From: David C. <dcc...@gm...> - 2006-08-03 02:29:49
|
I just tried to build 4.2 on an old RedHat 7.3 machine, using Python 2.2. I get lots of warnings that I don't see when I build with Python 2.3 or 2.4. Is this to be expected? They look harmless enough: [build-sc@smoke cx_Oracle-4.2] python2 setup.py build running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.linux-i686-2.2 gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/oracle/product/9.2.0/rdbms/demo -I/opt/oracle/product/9.2.0/rdbms/public -I/opt/oracle/product/9.2.0/network/public -I/opt/oracle/product/9.2.0/sdk/include -I/usr/include/python2.2 -c cx_Oracle.c -o build/temp.linux-i686-2.2/cx_Oracle.o -DBUILD_VERSION=4.2 In file included from /opt/oracle/product/9.2.0/rdbms/demo/oci.h:2138, from cx_Oracle.c:9: /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:190, from /opt/oracle/product/9.2.0/rdbms/demo/oci.h:2163, from cx_Oracle.c:9: /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:2163, from cx_Oracle.c:9: /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:6888: warning: function declaration isn't a prototype /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:9790: warning: function declaration isn't a prototype /opt/oracle/product/9.2.0/rdbms/demo/ociap.h:9796: warning: function declaration isn't a prototype In file included from Connection.c:416, from SessionPool.c:134, from cx_Oracle.c:111: Callback.c: In function `Callback_BindByNameArgs': Callback.c:78: warning: value computed is not used Callback.c:79: warning: value computed is not used Callback.c: In function `Callback_DefineByPosArgs': Callback.c:123: warning: value computed is not used Callback.c:124: warning: value computed is not used Callback.c: In function `Callback_ExecuteArgs': Callback.c:155: warning: value computed is not used Callback.c:157: warning: value computed is not used Callback.c: In function `Callback_FetchArgs': Callback.c:178: warning: value computed is not used Callback.c: In function `Callback_PrepareArgs': Callback.c:203: warning: value computed is not used creating build/lib.linux-i686-2.2 gcc -shared build/temp.linux-i686-2.2/cx_Oracle.o -L/opt/oracle/product/9.2.0/lib -L/opt/oracle/product/9.2.0 -Wl,-R/opt/oracle/product/9.2.0/lib -Wl,-R/opt/oracle/product/9.2.0 -lclntsh -o build/lib.linux-i686-2.2/cx_Oracle.so [build-sc@smoke cx_Oracle-4.2] |