[PHP-DEV] PHP 4.0 Bug #6297: oci8 compilation error From: cpd <email protected>
Date: 08/22/00

From: cpd <email protected>
Operating system: linux 2.2.13
PHP version: 4.0.1pl2
PHP Bug Type: Oracle related
Bug description: oci8 compilation error

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 `}'

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>