|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-13 08:40 UTC] thies@php.net
[2002-05-16 00:00 UTC] php-bugs at lists dot php dot net
[2002-05-16 05:42 UTC] michael at six dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 08:00:01 2025 UTC |
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