Re: [APC-DEV] APC for PHP 5.3 on Windows
| From: | shire | Date: | Thu, 03 Jul 2008 20:40:17 +0000 |
| Subject: | Re: [APC-DEV] APC for PHP 5.3 on Windows | ||
| References: | 1 2 3 4 5 | Groups: | php.apc.dev |
| Request: | Send a blank email to php-apc-dev+get-142@lists.php.net to get a copy of this message | ||
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)? -shireC:\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 redefinitionC:\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 mismatchapc_zend.c c:\php\php53\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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.capc.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 mismatchapc_compile.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 mismatchapc_debug.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 mismatchapc_shm.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 mismatchapc_stack.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 variableGenerating 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 redefinitionC:\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 redefinitionC:\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 mismatchapc_compile.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 mismatchapc_debug.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 mismatchapc_shm.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 mismatchapc_stack.c c:\php\php52\tsrm\readdir.h(10) : warning C4005: '_WIN32_WINNT' : macro redefinitionC:\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 redefinitionC:\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 redefinitionC:\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 variableGenerating 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