From: [EMAIL PROTECTED] Operating system: Debian 3.0 PHP version: 4.0CVS-2002-02-15 PHP Bug Type: Apache2 related Bug description: sapi_apache2.c fails to compile with Apache 2.0.28
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 bug report at http://bugs.php.net/?id=15580&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15580&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15580&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15580&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15580&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15580&r=support Expected behavior: http://bugs.php.net/fix.php?id=15580&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15580&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15580&r=submittedtwice