I don't have time to look at it but the error about sapi_globals use
SLS_FETCH(); in the beginning of that function.
The S_ISREG is defined in fopen-wrappers.c. We should probably move it to
someplace more central so that other files see it (it exists on some
systems automagically but not on Windows).
And of course, fork() doesn't exist on Windows. No time to go and look at
why it is used.
Andi
At 07:14 PM 3/29/2001 +0100, James Moore wrote:
>Ive been having a play with fastcgi under win32 and what ever I do I seem to
>get the following errors:
>
>Compiling...
>fastcgi.c
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(103) : warning C4101: 'tmp' :
>unreferenced local variable
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(181) : error C2065: 'sapi_globals' :
>undeclared identifier
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(181) : error C2223: left of
>'->request_info' must point to struct/union
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(185) : warning C4047: 'function' :
>'struct sapi_globals_struct *' differs in levels of indirection from 'int '
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(185) : warning C4024:
>'php_request_startup' : different types for formal and actual parameter 4
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(219) : warning C4013: 'S_ISREG'
>undefined; assuming extern returning int
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(259) : error C2223: left of
>'->server_context' must point to struct/union
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(264) : error C2223: left of
>'->server_context' must point to struct/union
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(350) : warning C4013: 'fork'
>undefined; assuming extern returning int
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(370) : warning C4013: 'wait'
>undefined; assuming extern returning int
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(403) : error C2143: syntax error :
>missing ')' before ','
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(403) : error C2198:
>'init_request_info' : too few actual parameters
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(403) : error C2059: syntax error :
>')'
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(404) : error C2223: left of
>'->server_context' must point to struct/union
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(405) : error C2065:
>'compiler_globals' : undeclared identifier
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(406) : error C2223: left of
>'->request_info' must point to struct/union
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(409) : error C2143: syntax error :
>missing ')' before ','
>D:\php-4.0.5RC4\sapi\fastcgi\fastcgi.c(409) : error C2059: syntax error :
>')'
>Error executing cl.exe.
>
>Is this just me being totally stupid and not defining somthing I should or
>is there actually somthing wrong? or wont it work on win32?
>
>James
>--
>James Moore
>[EMAIL PROTECTED]
>PHP Web Scripting: http://www.php.net/
>PHP QA Team: http://qa.php.net/
>PHP-GTK: http://gtk.php.net/
>VL-SRM: http://www.vl-srm.net/
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]