ID: 12260
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Solaris 7 and 8
PHP Version: 4.0.6
New Comment:
please send me a .tar containing the header files for 8.0.4
Previous Comments:
------------------------------------------------------------------------
[2001-07-19 12:52:46] [EMAIL PROTECTED]
Compilation failes --with-oci8 and ORACLE_HOME pointing to oracle 8.0.4
installation. A typedef and define for symbol dword is only available
in oratypes.h of newer Oracle versions (checked with 8.0.5, 8.1.5 and
8.1.7) .
Solution: change dword to sb4 in ext/oci8/oci8.c, that's still matching
the oracle prototype (orl.h of oracle 8.1.7)
sword OCICollAssignElem( OCIEnv *env, OCIError *err, sb4 index,
CONST dvoid *elem,
CONST dvoid *elemind, OCIColl *coll );
gcc error:
oci8.c: In function `php_if_ocicollgetelem':
oci8.c:4480: warning: passing arg 7 of `OCIDateToText' from
incompatible pointer type
oci8.c: In function `php_if_ocicollassignelem':
oci8.c:4604: `dword' undeclared (first use in this function)
oci8.c:4604: (Each undeclared identifier is reported only once
oci8.c:4604: for each function it appears in.)
oci8.c:4604: parse error before `)'
oci8.c:4626: parse error before `)'
oci8.c:4657: parse error before `)'
cheers,
Michael
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12260&edit=1