php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1318 oci 8 problems
Submitted: 1999-04-15 07:03 UTC Modified: 2006-07-17 08:06 UTC
From: sakalis at ceid dot upatras dot gr Assigned:
Status: Closed Package: OCI8 related
PHP Version: 3.0.7 OS: solaris 2.5.1
Private report: No CVE-ID: None
 [1999-04-15 07:03 UTC] sakalis at ceid dot upatras dot gr
php 3.0.7 has problems with oracle 8.0.3 while complining oci functions.

at make i got these messages:

gcc -g -O2 -O2   -I. -I.  -I/public/oracle/product/8.0.3/rdbms/demo
-I/public/oracle/product/8.0.3/network/public
-I/public/oracle/product/8.0.3/plsql/public
-I/tmp/sakalis/apache_1.3.6/src/include
-I/tmp/sakalis/apache_1.3.6/src/os/unix
                           -c functions/oci8.c -o functions/oci8.o
functions/oci8.c: In function `php3_minit_oci8':
functions/oci8.c:313: `SQLT_BFILEE' undeclared (first use this function)
functions/oci8.c:313: (Each undeclared identifier is reported only once
functions/oci8.c:313: for each function it appears in.)
functions/oci8.c:314: `SQLT_CFILEE' undeclared (first use this function)
functions/oci8.c: In function `oci8_make_pval':
functions/oci8.c:757: `SQLT_BFILEE' undeclared (first use this function)
functions/oci8.c:757: `SQLT_CFILEE' undeclared (first use this function)
gcc -g make: *** [functions/oci8.o] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-04-15 09:13 UTC] thies
fixed in CVS. oracle made a braindead AND incompatibe change in the header files between 8.0.3 and 8.0.5...


workaround for 3.0.7:

add:

#ifndef SQLT_BFILEE
  #define SQLT_BFILEE 114
#endif
#ifndef SQLT_CFILEE
  #define SQLT_CFILEE 115
#endif
 

in line 87 of functions/oci8.c

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Aug 24 22:01:26 2019 UTC