From: [EMAIL PROTECTED] Operating system: Linux Slackware 8.0 PHP version: 4.1.2 PHP Bug Type: Apache2 related Bug description: Can't compile php4.1.2 with Apache2.0.35
When compiling php4.1.2, configured with apxs2 of Apache 2.0.35: sapi_apache2.c: In function `php_apache_sapi_ub_write': sapi_apache2.c:58: too few arguments to function `apr_brigade_create' sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c: In function `php_apache_sapi_register_variables': sapi_apache2.c:148: warning: initialization discards qualifiers from pointer target type sapi_apache2.c: In function `php_apache_sapi_flush': sapi_apache2.c:171: too few arguments to function `apr_brigade_create' sapi_apache2.c:172: too few arguments to function `apr_bucket_flush_create' sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:245: too few arguments to function `apr_brigade_create' sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade' sapi_apache2.c:247: too few arguments to function `ap_get_brigade' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:311: too few arguments to function `apr_brigade_create' sapi_apache2.c:366: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c:375: too few arguments to function `apr_bucket_eos_create' sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:407: `AP_FTYPE_CONTENT' undeclared (first use in this function) sapi_apache2.c:407: (Each undeclared identifier is reported only once sapi_apache2.c:407: for each function it appears in.) sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/home/marat/apache2/php-4.1.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/marat/apache2/php-4.1.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marat/apache2/php-4.1.2/sapi' make: *** [all-recursive] Error 1 Apache 2.0.35 was configured by options --enable-so --enable-MODULE=shared -- Edit bug report at http://bugs.php.net/?id=16461&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16461&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16461&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16461&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16461&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16461&r=support Expected behavior: http://bugs.php.net/fix.php?id=16461&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16461&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16461&r=submittedtwice