Re: [APC-DEV] Head fails to compile on Windows

From: Date: Thu, 10 Jan 2008 22:52:52 +0000
Subject: Re: [APC-DEV] Head fails to compile on Windows
References: 1  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-102@lists.php.net to get a copy of this message
Hi Scott, thanks for the report. I had intentionally excluded apc_signal.c from config.w32 when I added the signaling support since I'm not aware of the signaling features having any utility on windows. Can you try removing apc_signal.c from apc_sources= in config.w32 and let me know if there are still problems compiling? Gopal, you added this a couple days ago when you committed the apc_pool implementation. Was there a specific reason? -lucas On 1/10/08 10:37 AM, "Scott MacVicar" <scottmac@php.net> wrote: > Hi, > > The latest CVS Head fails to compile on Windows using VC6. It appears to > be caused by the signal system on Windows being completely different to > that of POSIX compliant operating systems. > > I've attached the build log. > > Scott > C:\work\php_5_2-dev>nmake > > Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > EXT gd build complete > apc_signal.c > ..\pecl\apc\apc_signal.c(44) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(44) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(44) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(44) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(44) : error C2059: syntax error : ',' > ..\pecl\apc\apc_signal.c(44) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(44) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(45) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(45) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(45) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(45) : error C2059: syntax error : 'type' > ..\pecl\apc\apc_signal.c(45) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(46) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(46) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(46) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(46) : error C2059: syntax error : 'type' > ..\pecl\apc\apc_signal.c(46) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(51) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(51) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(51) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(51) : error C2059: syntax error : 'type' > ..\pecl\apc\apc_signal.c(51) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(66) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(66) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(66) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(66) : error C2059: syntax error : 'type' > ..\pecl\apc\apc_signal.c(66) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(88) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(88) : error C2081: 'siginfo_t' : name in formal > parameter list illegal > ..\pecl\apc\apc_signal.c(88) : error C2143: syntax error : missing ')' before > '*' > ..\pecl\apc\apc_signal.c(88) : error C2143: syntax error : missing '{' before > '*' > ..\pecl\apc\apc_signal.c(88) : error C2059: syntax error : ',' > ..\pecl\apc\apc_signal.c(88) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(88) : error C2059: syntax error : ')' > ..\pecl\apc\apc_signal.c(136) : warning C4013: 'apc_register_signal' > undefined; assuming extern returning int > ..\pecl\apc\apc_signal.c(136) : error C2065: 'apc_core_unmap' : undeclared > identifier > NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' > Stop.

« previous php.apc.dev (#102) next »