php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6297 oci8 compilation error
Submitted: 2000-08-22 10:35 UTC Modified: 2006-07-17 08:09 UTC
From: cpd at cosco dot com dot br Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.0.1pl2 OS: linux 2.2.13
Private report: No CVE-ID: None
 [2000-08-22 10:35 UTC] cpd at cosco dot com dot br
When I tried to compile php4 with OCI8. I'v got the error 
described below.

My configuration is:
./configure --with-gd 
--prefix=/usr --with-apxs=/usr/sbin/apxs 
--with-oci8=$ORACLE_HOME
--with-config-file-path=/etc/httpd



In file included from
/home/oracle/app/oracle/product/8.1.5/plsql/public/oci.h:1552,
                 from
/home/ftp/incoming/php-4.0.1pl2/ext/oci8/php_oci8.h:56,
                 from internal_functions.c:38:
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1964: parse error
before `{'
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1966: `date'
undeclared here (not in a function)
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1966: warning: data
definition has no type or storage class
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1967: `date'
undeclared here (not in a function)
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1967: warning: data
definition has no type or storage class
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1968: parse error
before `}'
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1987: stray '\' in
program
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1988: stray '\' in
program
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1989: `date'
undeclared here (not in a function)
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1989: warning: data
definition has no type or storage class
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1989: stray '\' in
program
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1990: `date'
undeclared here (not in a function)
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1990: warning: data
definition has no type or storage class
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1990: stray '\' in
program
/home/oracle/app/oracle/product/8.1.5/plsql/public/orl.h:1991: parse error
before `}'




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-23 19:12 UTC] sniper@php.net
Could you please try  PHP4.0.3pl1 or preferrably the latest snapshot
from http://snaps.php.net/ to check whether this is fixed already or not.

--Jani
 [2000-12-15 19:54 UTC] sniper@php.net
No feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC