Buffer.so,oci.so compilation for DCoracle

tksri2000 at yahoo.com tksri2000 at yahoo.com
Thu Apr 13 17:18:29 EDT 2006


I am trying to compile Buffer.so for oracle 10g. This is as part of
DCoracle installation.

I am following the instructions under src/README.txt.


ORACLE_PATH=.:/opt/oracle/product/10.2.0/bin

Python 2.4.3 (#2, Apr 10 2006, 13:02:28)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-53)] on linux2

I get the follwing error:

make
        gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I/users/sk616655/usr/local/include/python2.4
-I/users/sk616655/usr/local/include/python2.4 @DEFS@
-I/opt/oracle/product/10.2.0/rdbms/demo
-I/opt/oracle/product/10.2.0/network/public
-I/opt/oracle/product/10.2.0/plsql/public -DDCORACLE8 -c ././oci_.c -o
./oci_.o
gcc: cannot specify -o with -c or -S and multiple compilations
*** Error code 1
clearmake: Error: Build script failed for "oci_.o"

zsh: exit 1     clearmake


Help please.

sri




More information about the Python-list mailing list