|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16798 Compile failure:`OCI_DURATION_STATEMENT' undeclared (first use in this function)
Submitted: 2002-04-24 12:01 UTC Modified: 2002-11-25 12:16 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: makesoft at tera dot com dot br Assigned: maxim
Status: Closed Package: OCI8 related
PHP Version: 4.2.0 OS: Linux
Private report: No CVE-ID:
 [2002-04-24 12:01 UTC] makesoft at tera dot com dot br


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-24 19:56 UTC]

 [2002-04-26 11:56 UTC]
What's your configure line?
In which file and function do you get this error?
 [2002-04-26 15:12 UTC] makesoft at terra dot com dot br
make[3]: Entering directory `/usr/src/php-4.2.0/ext/oci8'
gcc -I. -I/usr/src/php-4.2.0/ext/oci8 -I/usr/src/php-4.2.0/main -I/usr/src/php-4
.2.0 -I/usr/src/apache_1.3.22/src/include -I/usr/src/apache_1.3.22/src/os/unix -
I/usr/src/php-4.2.0/Zend -I/usr/src/php-4.2.0/ext/mysql/libmysql -I/home/oracle/
product/1.0/rdbms/demo -I/usr/src/php-4.2.0/ext/xml/expat  -I/usr/src/php-4.2.0/
TSRM -g -O2  -c oci8.c && touch oci8.lo
oci8.c: In function `zif_ociwritetemporarylob':
oci8.c:3383: `OCI_DURATION_STATEMENT' undeclared (first use in this function)
oci8.c:3383: (Each undeclared identifier is reported only once
oci8.c:3383: for each function it appears in.)
make[3]: *** [oci8.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.2.0/ext/oci8'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.0/ext/oci8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1
 [2002-04-26 15:23 UTC] makesoft at tera dot com dot br
 [2002-11-25 10:34 UTC]
What exactly is the minor version of your Oracle 8? It seems that `OCI_DURATION_STATEMENT' doesn't work on Oracle < 8.1 if used for creating TMP Lobs:

Please confirm me the exact version details.

Maxim Maletsky
 [2002-11-25 12:16 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 17:01:32 2015 UTC