php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19242 Compile failure for php4apache module
Submitted: 2002-09-05 04:38 UTC Modified: 2002-09-05 16:23 UTC
From: pvy at novosoft dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2002-09-05 OS: windows 2000/sp3
Private report: No CVE-ID: None
 [2002-09-05 04:38 UTC] pvy at novosoft dot ru
Hello!
I'm tryng for compile lastest php for apache1
I was try two configurations and got same errors:

   Creating library ..\Release_TS_inline/php4ts.lib and object ..\Release_TS_inline/php4ts.exp
--------------------Configuration: php4apache - Win32 Release_TS_inline--------------------
Compiling...
mod_php4.c
..\..\main\win95nt.h(33) : warning C4142: benign redefinition of type
..\..\..\php_build\apache\src\include\ap_alloc.h(345) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2081: 'regex_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1064) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2146: syntax error : missing ')' before identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2081: 'regmatch_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2061: syntax error : identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ';'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : '['
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ')'
D:\PHP-CVS\php4\sapi\apache\mod_php4.c(103) : warning C4018: '!=' : signed/unsigned mismatch
php_apache.c
..\..\main\win95nt.h(33) : warning C4142: benign redefinition of type
..\..\..\php_build\apache\src\include\ap_alloc.h(345) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2081: 'regex_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1064) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2146: syntax error : missing ')' before identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2081: 'regmatch_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2061: syntax error : identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ';'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : '['
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ')'
sapi_apache.c
..\..\main\win95nt.h(33) : warning C4142: benign redefinition of type
..\..\..\php_build\apache\src\include\ap_alloc.h(345) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2081: 'regex_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\ap_alloc.h(346) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1063) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1064) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing ')' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1065) : error C2143: syntax error : missing '{' before '*'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : 'type'
..\..\..\php_build\apache\src\include\httpd.h(1066) : error C2059: syntax error : ')'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2146: syntax error : missing ')' before identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2081: 'regmatch_t' : name in formal parameter list illegal
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2061: syntax error : identifier 'pmatch'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ';'
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : '['
..\..\..\php_build\apache\src\include\httpd.h(1068) : error C2059: syntax error : ')'
Error executing cl.exe.

php4apache.dll - 57 error(s), 16 warning(s)


all failures near API_EXPORT defined macro.

-- 
vladimir
Novosibirsk,
West Siberia,
Rissia.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-05 16:23 UTC] kalowsky@php.net
A clean pull from just a few minutes ago doesn't result in this error, so I'm guess this was fixed.  Marking as fixed, if it's still going on, reopen it.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC