Bug #12260 Updated: Compile failure --with-oci8 and Oracle 8.0.4

From: Date: Thu, 16 May 2002 09:42:06 +0000
Subject: Bug #12260 Updated: Compile failure --with-oci8 and Oracle 8.0.4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7823@lists.php.net to get a copy of this message
ID: 12260 Updated by: michael@six.de Reported By: michael@six.de Status: No Feedback Bug Type: OCI8 related Operating System: Solaris 7 and 8 PHP Version: 4.0.6 New Comment: sent 8.0.4 header files to thies@php.net, but: 8.0.4 is really old now. Previous Comments: ------------------------------------------------------------------------ [2002-05-16 00:00:03] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-04-13 08:40:50] thies@php.net please send me a .tar containing the header files for 8.0.4 ------------------------------------------------------------------------ [2001-07-19 12:52:46] michael@six.de 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

« previous php.bugs (#7823) next »