Re: [INTERNALS-WIN] Compiling memcache and APC for PHP 5.6

From: Date: Fri, 16 May 2014 10:00:21 +0000
Subject: Re: [INTERNALS-WIN] Compiling memcache and APC for PHP 5.6
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-1007@lists.php.net to get a copy of this message
On Thu, May 15, 2014 at 7:08 PM, Jorge F. Hernandez <jfha73@gmail.com>wrote: > Hey guys, > > Does anybody know what can cause this? > > When I try to compile memcache and APC PECL extensions for PHP 5.6 I get > this: > > MEMCACHE: > > Creating library Release_TS\php_memcache.lib and object > Release_TS\php_memcache.exp > memcache_pool.obj : error LNK2019: unresolved external symbol _compress > referenced in function _mmc_compress > memcache_pool.obj : error LNK2019: unresolved external symbol _uncompress > referenced in function _mmc_uncompress > Release_TS\php_memcache.dll : fatal error LNK1120: 2 unresolved externals > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > APC (some lines erased - Warnings, not errors): > > ..\pecl\APC-3.1.13\apc_bin.c(487) : error C2065: 'IS_CONSTANT_ARRAY' : > undeclared identifier > ..\pecl\APC-3.1.13\apc_bin.c(487) : error C2051: case expression not > constant > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > I'm using the latest versions of each. > > ALSO: > > APC won't compile for PHP 5.5 either, I tried version 3.1.9 and 3.1.13 > > ..\pecl\APC-3.1.9\apc_zend.c(170) : error C2039: 'Ts' : is not a member > of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > ..\pecl\APC-3.1.9\apc_zend.c(171) : error C2039: 'Ts' : is not a member > of '_zend_execute_data' > d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : > see declaration of '_zend_execute_data' > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual > Studio 11.0\VC\BIN\cl.exe"' : return code '0x2' > Stop. > > Thanks, > could you please open a bugreport about it? this is a change in the internals API which needs the extensions to be updated with, see https://github.com/php/php-src/blob/php-5.6.0beta3/UPGRADING.INTERNALS for the details (Removal of IS_CONSTANT_ARRAY and IS_CONSTANT_INDEX hack) -- Ferenc Kovács @Tyr43l - http://tyrael.hu

« previous php.internals.win (#1007) next »