[Zope-DB] Error Installing DCOracle2

Christian Klinger cklinger at novareto.de
Tue Dec 7 09:42:30 EST 2004


Hello List,

We try to install DCOracle2 on a Linux Machine.
We use OracleClient "10.1.0.3.0" .

I have put replace the

@DEFS@ = XXX with @DEFS@ =

When i type make i got the this error!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

stbgli07:/tmp/DCOracle2 # make
(cd src; \
cp -p Setup.in Setup )
( cd src; \
make || ./builderrors)
make[1]: Entering directory `/tmp/DCOracle2/src'
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-I/usr/local/include/python2.3 -I/usr/local/include/python2.3 
-I/opt/oracle/OraHome_1//rdbms/demo 
-I/opt/oracle/OraHome_1//network/public 
-I/opt/oracle/OraHome_1//plsql/public 
-I/opt/oracle/OraHome_1//rdbms/public -DORACLE9i -c ././dco2.c -o ./dco2.o
In file included from /opt/oracle/OraHome_1/rdbms/demo/oci.h:2327,
                  from dco2.c:109:
/opt/oracle/OraHome_1/rdbms/demo/oci1.h:148: warning: function 
declaration isn't a prototype
In file included from /opt/oracle/OraHome_1/rdbms/demo/ociap.h:206,
                  from /opt/oracle/OraHome_1/rdbms/demo/oci.h:2351,
                  from dco2.c:109:
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:674: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2665: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2674: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2684: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2693: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2702: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2711: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2719: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2729: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2736: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/nzt.h:2744: warning: function 
declaration isn't a prototype
In file included from /opt/oracle/OraHome_1/rdbms/demo/oci.h:2351,
                  from dco2.c:109:
/opt/oracle/OraHome_1/rdbms/demo/ociap.h:9952: warning: function 
declaration isn't a prototype
/opt/oracle/OraHome_1/rdbms/demo/ociap.h:9958: warning: function 
declaration isn't a prototype
In file included from /usr/local/include/python2.3/Python.h:8,
                  from dco2.c:125:
/usr/local/include/python2.3/pyconfig.h:850:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdio.h:28,
                  from dco2.c:92:
/usr/include/features.h:171:1: warning: this is the location of the 
previous definition
dco2.c: In function `ServerContext_describe':
dco2.c:2432: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c: In function `Cursor_bind':
dco2.c:3393: error: `dword' undeclared (first use in this function)
dco2.c:3393: error: (Each undeclared identifier is reported only once
dco2.c:3393: error: for each function it appears in.)
dco2.c:3393: error: parse error before ')' token
dco2.c:3395: error: parse error before ')' token
dco2.c:3412: error: parse error before ')' token
dco2.c: In function `Cursor_getdesc':
dco2.c:3539: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:3560: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:3622: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c: In function `OracleDate_alloc':
dco2.c:6079: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c: In function `initdco2':
dco2.c:8183: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8187: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8191: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8195: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8199: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8203: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8207: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8211: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dco2.c:8215: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
make[1]: *** [dco2.o] Error 1
make[1]: Leaving directory `/tmp/DCOracle2/src'
                 ---------------------------------------
There were errors building the dco2 module.  This could be because of a
coding error in the dco2 module, or because your Oracle environment is
not set up properly.  Please double check that your Oracle environment is
properly established, and that the proper header files exist (e.g.
$ORACLE_HOME/rdbms/demo/*.h).

If you still have problems, check for updates to DCOracle2 on

         http://www.zope.org

or check out the mailing list archives.  You may also try inquiring on
the mailing list "zope at zope.org".

Please note that the support address "support at digicool.com" is for
Digital Creation's paid support customers only.  Information about obtaining
paid support is available at

         http://www.digicool.com/Solutions/Support/
                 ---------------------------------------


make: *** [src/dco2.so] Error 1

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Do you have some tips?

thx christian



More information about the Zope-DB mailing list