Bug #15580 Updated: sapi_apache2.c fails to compile with Apache 2.0.28
ID: 15580
Updated by: elixer@php.net
Reported By: vfoitzik@gmx.net
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Debian 3.0
PHP Version: 4.0CVS-2002-02-15
New Comment:
Try the latest CVS version of Apache2 as well. I built 2 days ago
without a problem. Let me know if that helps.
Sean
Previous Comments:
------------------------------------------------------------------------
[2002-02-15 15:26:42] vfoitzik@gmx.net
Hello folks,
today I tried to compile latest PHP with Apache 2.0.28, since PHP 4.1.1
seems to have some variable export problem. Configure goes fine, but
make bails out with the following error messages:
make[3]: Entering directory
`/data/home/vf/ap2/build/php/sapi/apache2filter'
/bin/sh /home/vf/ap2/build/php/libtool --silent --mode=compile gcc -I.
-I/home/vf/ap2/build/php/sapi/apache2filter
-I/home/vf/ap2/build/php/main -I/home/vf/ap2/build/php
-I/usr/local/ap2/include -I/home/vf/ap2/build/php/Zend
-I/home/vf/ap2/build/php/ext/mysql/libmysql
-I/home/vf/ap2/build/php/ext/xml/expat -D_REENTRANT
-I/home/vf/ap2/build/php/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:252: incompatible type for argument 4 of
`ap_get_brigade'
sapi_apache2.c:252: too many arguments to function `ap_get_brigade'
sapi_apache2.c:259: incompatible type for argument 4 of
`ap_get_brigade'
sapi_apache2.c:259: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:471: warning: passing arg 1 of `ap_hook_post_config'
from incompatible pointer type
sapi_apache2.c:474: warning: passing arg 2 of
`ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory
`/data/home/vf/ap2/build/php/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/data/home/vf/ap2/build/php/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/home/vf/ap2/build/php/sapi'
make: *** [all-recursive] Error 1
It seems this is the same problem as #11257, but since this is half a
year ago ...
Configure options:
./configure --with-apxs2=/usr/local/ap2/bin/apxs
Summary:
Debian sid 3.0, 2.4.17, Apache 2.0.28, PHP 20020215
Thanks in advance
Victor
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15580&edit=1
Thread (8 messages)