[PHP-DOC] Bug #10636 Updated: php_oci8.c -- undefined constants From: joey <email protected>
Date: 07/22/01

ID: 10636
Updated by: joey
Reported By: cynic <email protected>
Status: Open
Bug Type: Documentation problem
Operating System: NT 5 SP 1
PHP Version: 4.0.5
New Comment:

Had an empty status, appears to be open?

Previous Comments:
------------------------------------------------------------------------

[2001-05-07 11:34:21] cynic <email protected>

-> docuprob

------------------------------------------------------------------------

[2001-05-07 11:33:54] cynic <email protected>

thies sez:

    what version of oci are compiling against? i bet it's 8.0.x!

    please take out the HAVE_OCI8_TEMP_LOB=1 in the
    compiler-setting for oci8 - and you should be all set.

    aou could also upgrade the client to 8.1.x to make the error
    go-away!

really, this is the case. thies, do you think you could add a note on this to the manual?

------------------------------------------------------------------------

[2001-05-03 13:36:59] cynic <email protected>

oh, it's actually php4-200105030645, not 4.0.5

------------------------------------------------------------------------

[2001-05-03 11:52:52] cynic <email protected>

this is what I got when I tried to build php_oci8.dll from the latest snapshot:

--------------------Configuration: oci8 - Win32 Release_TS--------------------
Compiling...
oci8.c
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(2839) : warning C4018: '>=' : signed/unsigned mismatch
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3130) : warning C4018: '!=' : signed/unsigned mismatch
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3215) : warning C4013: 'OCILobCreateTemporary' undefined; assuming extern returning int
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3220) : error C2065: 'OCI_TEMP_CLOB' : undeclared identifier
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3231) : warning C4013: 'OCILobOpen' undefined; assuming extern returning int
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3234) : error C2065: 'OCI_LOB_READWRITE' : undeclared identifier
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3298) : warning C4013: 'OCILobClose' undefined; assuming extern returning int
Error executing xicl6.exe.

php_oci8.dll - 2 error(s), 5 warning(s)

I haven't tried to build the oci extension for several months, but it used to work, and I haven't touched the orant directory since, nor the include nor library paths in MSVC.

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=10636&edit=1