DCOracle2 and header files ??

From: Dave Harrison (dave_at_nullcube.com)
Date: 03/14/04


Date: Sun, 14 Mar 2004 11:21:47 +1100
To: python-list@python.org

Hi All,

Im trying to use the DCOracle2 library but I've never worked with Oracle
before, yet have to investigate the effort involved in porting a
database we have to it.

When I try running a `make` in the DCOracle2 dir having set the env
variables correctly I get the following error :

make || ./builderrors)
make[1]: Entering directory `/root/DCOracle2/src'
gcc -fPIC -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -I/usr/include/python2.2 -I/usr/include/python2.2 -DHAVE_CONFIG_H -I/u01/app/oracle/or_home/rdbms/demo -I/u01/app/oracle/or_home/network/public -I/u01/app/oracle/or_home/plsql/public -I/u01/app/oracle/or_home/rdbms/public -DORACLE9i -DUSEOWNXID -c ././dco2.c -o ./dco2.o
dco2.c: In function `Cursor_bind':
dco2.c:3275: error: `dword' undeclared (first use in this function)
dco2.c:3275: error: (Each undeclared identifier is reported only once
dco2.c:3275: error: for each function it appears in.)
dco2.c:3275: error: syntax error before ')' token
dco2.c:3277: error: syntax error before ')' token
dco2.c:3294: error: syntax error before ')' token
make[1]: *** [dco2.o] Error 1
make[1]: Leaving directory `/root/DCOracle2/src'

Ive looked in the /u01/app/oracle/or_home/rdbms/demo dir to check for
the header files that should be there, but they arent. Does anyone know
how I am supposed to install the header files ?? or if this is a problem
that has another solution ??

Im no longer subscribed to the python-list mailling list, so if you
could reply directly I would appreciate it.

Thanks in advance
Dave

-- 
Dave Harrison
Nullcube
dave@nullcube.com
http://www.nullcube.com


Relevant Pages

  • Re: a vc project which use GDI+, i get the following errors:
    ... C2071: 'NotificationUnhookProc': illegal storage class ... C2059: syntax error: 'const' ... C4229: anachronism used: modifiers on data are ignored ... 'GdiplusStartup': undeclared identifier ...
    (microsoft.public.win32.programmer.gdi)
  • GDI+ failing !!? HELP...
    ... GDI+ is failing on my VC6, ... error C2065: 'ULONG_PTR': undeclared identifier ... error C2165: 'left-side modifier': cannot modify pointers to data ... error C2059: syntax error: 'const' ...
    (microsoft.public.vc.mfc)
  • GDI+ failing !!? HELP...
    ... GDI+ is failing on my VC6, ... error C2065: 'ULONG_PTR': undeclared identifier ... error C2165: 'left-side modifier': cannot modify pointers to data ... error C2059: syntax error: 'const' ...
    (microsoft.public.vc.language)
  • Re: It record exists then...
    ... Dim rs As Recordset, db As Database ... Set db = CurrentDb ... Error: Syntax Error. ... If this PartNumber already exists in the InfoTbl (in the field ...
    (microsoft.public.access.formscoding)
  • Re: JET Database errors
    ... I checked the sql of the page and it appears to be correct. ... to edit any records in any databases on my server give the same error). ... a copy of JET Database update 4.0, but I'm not going to install it until I ... > The first thing I would check for is a syntax error in the UPDATE ...
    (microsoft.public.frontpage.programming)