Thread: [cx-oracle-users] Building cx_Oracle on Ubuntu 9.04 - Problems
Brought to you by:
atuining
From: Piotr S. <sob...@gm...> - 2010-05-02 21:53:22
|
I have a problem with building cx_Oracle (5.0 and 5.0.3) on Ubuntu 9.04. When I run python setup.py build I get warnings: root@sq2wkj-desktop:~/cx_Oracle-5.0.3# python setup.py build running build running build_ext building 'cx_Oracle' extension creating build/temp.linux-i686-2.6-11g gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/oracle/instantclient/include -I/usr/include/python2.6 -c cx_Oracle.c -o build/temp.linux-i686-2.6-11g/cx_Oracle.o -DBUILD_VERSION=5.0.3 In file included from /opt/oracle/instantclient/include/oci.h:3024, from cx_Oracle.c:10: /opt/oracle/instantclient/include/ociap.h:10788: warning: function declaration isn't a prototype /opt/oracle/instantclient/include/ociap.h:10794: warning: function declaration isn't a prototype creating build/lib.linux-i686-2.6-11g gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.6-11g/cx_Oracle.o -L/opt/oracle/instantclient/lib -L/opt/oracle/instantclient -lclntsh -o build/lib.linux-i686-2.6-11g/cx_Oracle.so I have installed instanclient oracle BASIC and instantclient oracle SDK. What I have to do to solve this warnings???? Thank for help. Sorry for my English :) Best Regards Peter |
From: Anthony T. <ant...@gm...> - 2010-05-03 13:38:32
|
Hi, those warnings are not important and are due to the way that Oracle wrote its include files. You can safely ignore them -- or you can go to the lines in those files and fix the problem if you want to eliminate the warnings. :-) Anthony On Sun, May 2, 2010 at 3:53 PM, Piotr Sobota <sob...@gm...> wrote: > I have a problem with building cx_Oracle (5.0 and 5.0.3) on Ubuntu 9.04. > > When I run python setup.py build I get warnings: > > root@sq2wkj-desktop:~/cx_Oracle-5.0.3# python setup.py build > running build > running build_ext > building 'cx_Oracle' extension > creating build/temp.linux-i686-2.6-11g > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -I/opt/oracle/instantclient/include > -I/usr/include/python2.6 -c cx_Oracle.c -o > build/temp.linux-i686-2.6-11g/cx_Oracle.o -DBUILD_VERSION=5.0.3 > In file included from /opt/oracle/instantclient/include/oci.h:3024, > from cx_Oracle.c:10: > /opt/oracle/instantclient/include/ociap.h:10788: warning: function > declaration isn't a prototype > /opt/oracle/instantclient/include/ociap.h:10794: warning: function > declaration isn't a prototype > creating build/lib.linux-i686-2.6-11g > gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > build/temp.linux-i686-2.6-11g/cx_Oracle.o -L/opt/oracle/instantclient/lib > -L/opt/oracle/instantclient -lclntsh -o > build/lib.linux-i686-2.6-11g/cx_Oracle.so > > > > > I have installed instanclient oracle BASIC and instantclient oracle SDK. > What I have to do to solve this warnings???? > Thank for help. > Sorry for my English :) > Best Regards > Peter > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |
From: Piotr S. <sob...@gm...> - 2010-05-05 07:35:05
|
Thank for help :) Best Regards Peter W dniu 2010-05-03 15:38, Anthony Tuininga pisze: > Hi, those warnings are not important and are due to the way that > Oracle wrote its include files. You can safely ignore them -- or you > can go to the lines in those files and fix the problem if you want to > eliminate the warnings. :-) > > Anthony > > On Sun, May 2, 2010 at 3:53 PM, Piotr Sobota<sob...@gm...> wrote: > >> I have a problem with building cx_Oracle (5.0 and 5.0.3) on Ubuntu 9.04. >> >> When I run python setup.py build I get warnings: >> >> root@sq2wkj-desktop:~/cx_Oracle-5.0.3# python setup.py build >> running build >> running build_ext >> building 'cx_Oracle' extension >> creating build/temp.linux-i686-2.6-11g >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-prototypes -fPIC -I/opt/oracle/instantclient/include >> -I/usr/include/python2.6 -c cx_Oracle.c -o >> build/temp.linux-i686-2.6-11g/cx_Oracle.o -DBUILD_VERSION=5.0.3 >> In file included from /opt/oracle/instantclient/include/oci.h:3024, >> from cx_Oracle.c:10: >> /opt/oracle/instantclient/include/ociap.h:10788: warning: function >> declaration isn't a prototype >> /opt/oracle/instantclient/include/ociap.h:10794: warning: function >> declaration isn't a prototype >> creating build/lib.linux-i686-2.6-11g >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-i686-2.6-11g/cx_Oracle.o -L/opt/oracle/instantclient/lib >> -L/opt/oracle/instantclient -lclntsh -o >> build/lib.linux-i686-2.6-11g/cx_Oracle.so >> >> >> >> >> I have installed instanclient oracle BASIC and instantclient oracle SDK. >> What I have to do to solve this warnings???? >> Thank for help. >> Sorry for my English :) >> Best Regards >> Peter >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> cx-oracle-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >> >> >> > ------------------------------------------------------------------------------ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |