I'm getting errors compiling the Oracle driver 2.6 under RH Linux 3ES and
Oracle 9i (9.2.0.4)

Using gmake 3.79.1 and gcc 3.2.3:

Using Makefile
with MODLIBS changed to refer to Oracle 9 libraries:
MODLIBS  =  -L$(ORACLE_HOME)/lib \
-lclntsh -lcore9 -lcommon9 -lgeneric9 -lclient9

The first and last lines reported are:

gcc -pipe -I/opt/oracle/product/9.2/rdbms/demo -
I/opt/oracle/product/9.2/rdbms/public -
I/opt/oracle/product/9.2/network/public -
I/opt/oracle/product/9.2/plsql/public  -O -D__NO_STRING_INLINES -
D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC  -
I/opt/aolserver/aolserver40/include -I/opt/tcl/tcl845/include -DNO_CONST  -
DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -
D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -
DHAVE_READDIR_R=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -
DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -
DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -
DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -
DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -
DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1   -DHAVE_TIMEGM=1 -DHAVE_POLL=1 -
DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_CMMSG=1    -c -o ora8.o ora8.c
ora8.c:219: syntax error before "Ns_DbHandle"
ora8.c:219: warning: no semicolon at end of struct or union
ora8.c:243: syntax error before '}' token
ora8.c:258: syntax error before '*' token
...  640 more lines ...
ora8.c:5456: `tinfo' undeclared (first use in this function)
ora8.c:5459: `name' undeclared (first use in this function)
/usr/include/bits/sigset.h: At top level:
ora8.c:1680: warning: `long_get_data' defined but not used
make: *** [ora8.o] Error 1


Using makefile-80:

gcc -Wall -g -fpic -I/opt/oracle/product/9.2/rdbms/demo -
I/opt/oracle/product/9.2/network/public -
I/opt/oracle/product/9.2/plsql/public -I/opt/aolserver/aolserver40/include -
c ora8.c
In file included from ora8.c:73:
/opt/oracle/product/9.2/rdbms/demo/oci.h:2159:21: ociextp.h: No such file
or directory
In file included from /opt/oracle/product/9.2/rdbms/demo/oci.h:2164,
                 from ora8.c:73:
/opt/oracle/product/9.2/rdbms/demo/ociap.h:192:17: nzt.h: No such file or
directory
In file included from /opt/oracle/product/9.2/rdbms/demo/oci.h:2164,
                 from ora8.c:73:
/opt/oracle/product/9.2/rdbms/demo/ociap.h:6607: syntax error
before "nzttWallet"
... 810 more lines ...
ora8.c: In function `Ns_DbColumnIndex':
ora8.c:5456: `tinfo' undeclared (first use in this function)
ora8.c:5459: `name' undeclared (first use in this function)
ora8.c: At top level:
ora8.c:1680: warning: `long_get_data' defined but not used
make: *** [ora8.o] Error 1

Any help with this, or advice on other ways to obtain the oracle driver,
much appreciated.

Eric Lee


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to