Bug #68244 [NEW]: php-pdo-oci not compiling
| From: | jfha73 at gmail dot com | Date: | Thu, 16 Oct 2014 14:44:00 +0000 |
| Subject: | Bug #68244 [NEW]: php-pdo-oci not compiling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188140@lists.php.net to get a copy of this message | ||
From: jfha73 at gmail dot com
Operating system: Windows
PHP version: master-Git-2014-10-16 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:php-pdo-oci not compiling
Description:
------------
Hey guys,
I tried using Instant Client 10, 11 and 12 and I keep getting this
error:
type ext\pcre\php_pcre.def > Release_TS\php7ts.dll.def
"cl.exe" /I "d:\instantclient_10_2_x64\sdk\include"
/DHAVE_OCI_H=1 /D C
OMPILE_DL_PDO_OCI /D PDO_OCI_EXPORTS=1 /DHAVE_OCIENVCREATE=1
/DHAVE_OCISTMTFETC
H2=1 /DHAVE_OCIENVNLSCREATE=1 /nologo /FD /I . /I main /I Zend /I TSRM
/I ext /D
_WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /wd4996
/D_USE_
32BIT_TIME_T=1 /MP /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D
ZEND_WIN32_FORCE_IN
LINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I
"D:\PHP-SDK\phpmaster\vc11\x86\deps\include
" /D FD_SETSIZE=256 /FoRelease_TS\ext\pdo_oci\
/FdRelease_TS\ext\pdo_oci\ /FpRe
lease_TS\ext\pdo_oci\ /FRRelease_TS\ext\pdo_oci\ /c
ext\pdo_oci\oci_driver.c ext
\pdo_oci\oci_statement.c ext\pdo_oci\pdo_oci.c
oci_driver.c
pdo_oci.c
oci_statement.c
ext\pdo_oci\oci_statement.c(193) : error C2088: '!' : illegal for
struct
ext\pdo_oci\oci_statement.c(203) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(210) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(210) : error C2440: 'function' : cannot
convert from
'zval' to 'zval *'
ext\pdo_oci\oci_statement.c(210) : warning C4024: '_convert_to_string' :
differe
nt types for formal and actual parameter 1
ext\pdo_oci\oci_statement.c(211) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(212) : error C2100: illegal indirection
ext\pdo_oci\oci_driver.c(484) : warning C4002: too many actual
parameters for ma
cro 'ZVAL_STRING'
ext\pdo_oci\oci_statement.c(225) : error C2088: '!' : illegal for
struct
ext\pdo_oci\oci_driver.c(487) : warning C4002: too many actual
parameters for ma
cro 'ZVAL_STRING'
ext\pdo_oci\oci_statement.c(240) : error C2100: illegal indirection
ext\pdo_oci\oci_driver.c(496) : warning C4002: too many actual
parameters for ma
cro 'ZVAL_STRING'
ext\pdo_oci\oci_statement.c(244) : error C2100: illegal indirection
ext\pdo_oci\oci_driver.c(511) : warning C4002: too many actual
parameters for ma
cro 'ZVAL_STRING'
ext\pdo_oci\oci_statement.c(244) : error C2440: 'function' : cannot
convert from
'zval' to 'zval *'
ext\pdo_oci\oci_statement.c(244) : warning C4024: '_convert_to_string' :
differe
nt types for formal and actual parameter 1
ext\pdo_oci\oci_statement.c(245) : error C2440: 'function' : cannot
convert from
'zval' to 'zval *'
ext\pdo_oci\oci_driver.c(577) : warning C4028: formal parameter 3
different from
declaration
ext\pdo_oci\oci_statement.c(245) : warning C4024: '_zval_dtor' :
different types
for formal and actual parameter 1
ext\pdo_oci\oci_driver.c(578) : warning C4028: formal parameter 3
different from
declaration
ext\pdo_oci\oci_statement.c(247) : error C2100: illegal indirection
ext\pdo_oci\oci_driver.c(583) : warning C4028: formal parameter 2
different from
declaration
ext\pdo_oci\oci_statement.c(248) : error C2100: illegal indirection
ext\pdo_oci\oci_driver.c(586) : warning C4028: formal parameter 2
different from
declaration
ext\pdo_oci\oci_statement.c(248) : error C2106: '=' : left operand must
be l-val
ue
ext\pdo_oci\oci_statement.c(251) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(253) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(316) : error C2039: 'namelen' : is not a
member of '
pdo_bound_param_data'
ext\pdo/php_pdo_driver.h(541) : see declaration of
'pdo_bound_param_data
'
ext\pdo_oci\oci_statement.c(316) : warning C4022: 'OCIBindByName' :
pointer mism
atch for actual parameter 6
ext\pdo_oci\oci_statement.c(316) : warning C4047: 'function' : 'ub2'
differs in
levels of indirection from 'sb2 *'
ext\pdo_oci\oci_statement.c(316) : warning C4024: 'OCIBindByName' :
different ty
pes for formal and actual parameter 8
ext\pdo_oci\oci_statement.c(316) : warning C4047: 'function' : 'ub4 *'
differs i
n levels of indirection from 'int'
ext\pdo_oci\oci_statement.c(316) : warning C4024: 'OCIBindByName' :
different ty
pes for formal and actual parameter 13
ext\pdo_oci\oci_statement.c(316) : error C2198: 'OCIBindByName' : too
few argume
nts for call
ext\pdo_oci\oci_statement.c(348) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(354) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(356) : error C2440: 'function' : cannot
convert from
'zval' to 'zval *'
ext\pdo_oci\oci_statement.c(356) : warning C4024: '_zval_dtor' :
different types
for formal and actual parameter 1
ext\pdo_oci\oci_statement.c(357) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(358) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(363) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(364) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(364) : error C2106: '=' : left operand must
be l-val
ue
ext\pdo_oci\oci_statement.c(365) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(370) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(378) : error C2440: 'initializing' : cannot
convert
from 'zval' to 'zval *'
ext\pdo_oci\oci_statement.c(410) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(412) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(413) : error C2100: illegal indirection
ext\pdo_oci\oci_statement.c(695) : warning C4028: formal parameter 2
different f
rom declaration
ext\pdo_oci\oci_statement.c(695) : warning C4028: formal parameter 4
different f
rom declaration
ext\pdo_oci\oci_statement.c(760) : warning C4028: formal parameter 3
different f
rom declaration
ext\pdo_oci\oci_statement.c(762) : warning C4028: formal parameter 4
different f
rom declaration
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0
\VC\BIN\cl.exe"' : return code '0x2'
Stop.
Test script:
---------------
configure --disable-all --enable-cli --enable-pdo
--with-pdo-oci=shared,C:\instantclient_10_2_x64\sdk
Same line, but different folder for Instant Client 11g and 12c
Expected result:
----------------
compile
Actual result:
--------------
It doesn't compile
--
Edit bug report at https://bugs.php.net/bug.php?id=68244&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68244&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68244&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68244&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68244&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68244&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68244&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68244&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68244&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68244&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68244&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68244&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68244&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68244&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68244&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68244&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68244&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68244&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68244&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68244&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68244&r=mysqlcfg