php.net |  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
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: makesoft at tera dot com dot br Assigned: maxim (profile)
Status: Closed Package: OCI8 related
PHP Version: 4.2.0 OS: Linux
Private report: No CVE-ID: None
 [2002-04-24 12:01 UTC] makesoft at tera dot com dot br
I can?t compile PHP-4.2.0 with oracle 8.
`OCI_DURATION_STATEMENT' undeclared (first use in this function)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-24 19:56 UTC] sniper@php.net
reclassified.

 [2002-04-26 11:56 UTC] sander@php.net
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] maxim@php.net
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:

http://lbdwww.epfl.ch/f/teaching/courses/oracle9i/appdev.920/a96584/oci16m10.htm#546355

Please confirm me the exact version details.

Maxim Maletsky
 [2002-11-25 12:16 UTC] maxim@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC