Compiling DCOracle2 on RH Linux 8.0

David Ripton dripton at wizard.net
Sun Jan 25 04:12:59 CET 2004


reidyre at yahoo.com (Ron Reidy) wrote in message news:<ab425431.0401211512.6c698e00 at posting.google.com>...

> I am trying to compile DCOracle2 on RedHat 8.0 and make is giving me
> the following error:
> 
> gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@  
> -I/oracle/app/oracle/9i/rdbms/demo
> -I/oracle/app/oracle/9i/network/public
> -I/oracle/app/oracle/9i/plsql/public
> -I/oracle/app/oracle/9i/rdbms/public -DORACLE9i -c ././dco2.c -o
> ./dco2.o
> gcc: cannot specify -o with -c or -S and multiple compilations
> 
> 
> Did I do something wrong?

No.  The DCOracle2 build process isn't very robust.

Look at src/Makefile.  Find a line that says "DEFS=%DEFS" and change
it to "DEFS=-fno-strict-aliasing"



More information about the Python-list mailing list