Home  |  Linux  | Mysql  | PHP  | XML
From:shire Date:Thu Jul  3 14:40:17 2008
Subject:Re: [APC-DEV] APC for PHP 5.3 on Windows

Unfortunately I think we're all a bit short on the resources  
necessary to debug anything outside the simple compilation errors  
when it comes to windows.  It would be useful if there's someone such  
as yourself that could work on patches that for this though.  My only  
other thoughts would be to monitor CVS head or to try and determine  
which revision the bug was introduced.

Sorry that I can't be of more help on this particular one.

-shire


On Jun 28, 2008, at 3:32 PM, Jaroslav Hanslík wrote:

>
> I realized that I was wrong. The situation is a little different. I  
> can compile HEAD against PHP 5.2 but it doesn't work. When I try to  
> display any page I get this error from my Apache 2.2: "The  
> exception unknown software exception (0xc000001e) occurred in the  
> application at location 0x04cffa98". Unfortunately I didn't find  
> any other error message that I can post.
>
> Both compilation logs are attached.
>
> Jaroslav Hanslík
>
>
> shire napsal(a):
>> Can you post your compilation error(s)?
>> -shire
>
> C:\PHP\php53>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN 
> \nmake.exe" /I /nologo "php_apc.dll"
> apc_compile.c
> c:\php\php53\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_compile.c(186) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(189) : error C2065: 'pool' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(189) : error C2223: left of '->palloc'  
> must point to struct/union
> ..\pecl\apc\apc_compile.c(487) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(570) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(797) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(800) : error C2065: 'usegc' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(818) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(905) : warning C4018: '<' : signed/ 
> unsigned mismatch
> apc_zend.c
> c:\php\php53\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_zend.c(237) : error C2440: '=' : cannot convert  
> from 'int (__cdecl *)(zend_execute_data *,void ***)' to  
> 'opcode_handler_t'
> LINK : fatal error LNK1181: cannot open input file '..\Release_TS 
> \pecl\apc\apc_compile.obj'
> EXT apc build completeC:\PHP\php52>"C:\Program Files\Microsoft  
> Visual Studio 8\VC\BIN\nmake.exe" /I /nologo "php_apc.dll"
> 	"cl.exe" /D COMPILE_DL_APC /D APC_EXPORTS=1 /nologo /FD /I . /I  
> main /I regex /I Zend /I TSRM /I ext /D _WINDOWS /D ZEND_WIN32=1 /D  
> PHP_WIN32=1 /D WIN32 /D _MBCS  /wd4996 /D_USE_32BIT_TIME_T=1  /Zi / 
> LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF / 
> D ZEND_DEBUG=0 /D ZTS=1 /I "..\win32build\include"  /D  
> FD_SETSIZE=256 /Fo..\Release_TS\pecl\apc\ /Fd..\Release_TS\pecl\apc 
> \ /Fp..\Release_TS\pecl\apc\ /FR..\Release_TS\pecl\apc\ /c ..\pecl 
> \apc\apc.c ..\pecl\apc\apc_cache.c ..\pecl\apc\apc_compile.c ..\pecl 
> \apc\apc_debug.c ..\pecl\apc\apc_fcntl_win32.c ..\pecl\apc 
> \apc_main.c ..\pecl\apc\apc_pool.c ..\pecl\apc\apc_rfc1867.c ..\pecl 
> \apc\apc_shm.c ..\pecl\apc\apc_sma.c ..\pecl\apc\apc_stack.c ..\pecl 
> \apc\apc_zend.c ..\pecl\apc\php_apc.c
> apc.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_cache.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_cache.c(362) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_cache.c(475) : warning C4018: '>=' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_cache.c(491) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_cache.c(586) : warning C4018: '<' : signed/unsigned  
> mismatch
> apc_compile.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_compile.c(186) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(189) : error C2065: 'pool' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(189) : error C2223: left of '->palloc'  
> must point to struct/union
> ..\pecl\apc\apc_compile.c(487) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(570) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(797) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(800) : error C2065: 'usegc' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(818) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(905) : warning C4018: '<' : signed/ 
> unsigned mismatch
> apc_debug.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_fcntl_win32.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_main.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_pool.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_rfc1867.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_rfc1867.c(78) : warning C4244: '=' : conversion  
> from 'double' to 'int', possible loss of data
> ..\pecl\apc\apc_rfc1867.c(80) : warning C4244: '=' : conversion  
> from 'double' to 'int', possible loss of data
> ..\pecl\apc\apc_rfc1867.c(131) : warning C4018: '>' : signed/ 
> unsigned mismatch
> apc_shm.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_sma.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_sma.c(342) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(393) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(435) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(502) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(538) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(545) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(598) : warning C4018: '<' : signed/unsigned  
> mismatch
> apc_stack.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_zend.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> php_apc.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\php_apc.c(846) : warning C4101: 'eg_class_table' :  
> unreferenced local variable
> ..\pecl\apc\php_apc.c(846) : warning C4101: 'eg_function_table' :  
> unreferenced local variable
> Generating Code...
> c:\php\pecl\apc\apc_pool.c(91) : warning C4700: uninitialized local  
> variable 'upool' used
> 	"cl.exe" /D COMPILE_DL_APC /D APC_EXPORTS=1 /nologo /FD /I . /I  
> main /I regex /I Zend /I TSRM /I ext /D _WINDOWS /D ZEND_WIN32=1 /D  
> PHP_WIN32=1 /D WIN32 /D _MBCS  /wd4996 /D_USE_32BIT_TIME_T=1  /Zi / 
> LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF / 
> D ZEND_DEBUG=0 /D ZTS=1 /I "..\win32build\include"  /D  
> FD_SETSIZE=256 /Fo..\Release_TS\pecl\apc\ /Fd..\Release_TS\pecl\apc 
> \ /Fp..\Release_TS\pecl\apc\ /FR..\Release_TS\pecl\apc\ /c ..\pecl 
> \apc\apc.c ..\pecl\apc\apc_cache.c ..\pecl\apc\apc_compile.c ..\pecl 
> \apc\apc_debug.c ..\pecl\apc\apc_fcntl_win32.c ..\pecl\apc 
> \apc_main.c ..\pecl\apc\apc_pool.c ..\pecl\apc\apc_rfc1867.c ..\pecl 
> \apc\apc_shm.c ..\pecl\apc\apc_sma.c ..\pecl\apc\apc_stack.c ..\pecl 
> \apc\apc_zend.c ..\pecl\apc\php_apc.c
> apc.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_cache.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_cache.c(362) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_cache.c(475) : warning C4018: '>=' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_cache.c(491) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_cache.c(586) : warning C4018: '<' : signed/unsigned  
> mismatch
> apc_compile.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_compile.c(186) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(189) : error C2065: 'pool' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(189) : error C2223: left of '->palloc'  
> must point to struct/union
> ..\pecl\apc\apc_compile.c(487) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(570) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(797) : error C2143: syntax error :  
> missing ';' before 'type'
> ..\pecl\apc\apc_compile.c(800) : error C2065: 'usegc' : undeclared  
> identifier
> ..\pecl\apc\apc_compile.c(818) : warning C4018: '<' : signed/ 
> unsigned mismatch
> ..\pecl\apc\apc_compile.c(905) : warning C4018: '<' : signed/ 
> unsigned mismatch
> apc_debug.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_fcntl_win32.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_main.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_pool.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_rfc1867.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_rfc1867.c(78) : warning C4244: '=' : conversion  
> from 'double' to 'int', possible loss of data
> ..\pecl\apc\apc_rfc1867.c(80) : warning C4244: '=' : conversion  
> from 'double' to 'int', possible loss of data
> ..\pecl\apc\apc_rfc1867.c(131) : warning C4018: '>' : signed/ 
> unsigned mismatch
> apc_shm.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_sma.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\apc_sma.c(342) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(393) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(435) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(502) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(538) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(545) : warning C4018: '<' : signed/unsigned  
> mismatch
> ..\pecl\apc\apc_sma.c(598) : warning C4018: '<' : signed/unsigned  
> mismatch
> apc_stack.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> apc_zend.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> php_apc.c
> c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' :  
> macro redefinition
>         C:\Program Files\Microsoft SDKs\Windows\v6.1\Include 
> \sdkddkver.h(186) : see previous definition of '_WIN32_WINNT'
> ..\pecl\apc\php_apc.c(846) : warning C4101: 'eg_class_table' :  
> unreferenced local variable
> ..\pecl\apc\php_apc.c(846) : warning C4101: 'eg_function_table' :  
> unreferenced local variable
> Generating Code...
> c:\php\pecl\apc\apc_pool.c(91) : warning C4700: uninitialized local  
> variable 'upool' used
>    Creating library ..\Release_TS\php_apc.lib and object .. 
> \Release_TS\php_apc.exp
> EXT apc build complete

Navigate in group php.apc.dev at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants