Bug #16560 Updated: sapi_apache2.c won't compile
| From: | derick@php.net | Date: | Fri, 12 Apr 2002 05:19:48 +0000 |
| Subject: | Bug #16560 Updated: sapi_apache2.c won't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4716@lists.php.net to get a copy of this message | ||
ID: 16560
Updated by: derick@php.net
Reported By: mdufel@ucsdx.net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: freeBSD 4.5-RELEASE
PHP Version: 4.1.2
New Comment:
Already fixed, try php 4.2.0rc3 from www.php.net/~derick tomorrow (when
it's released).
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-04-11 20:33:41] mdufel@ucsdx.net
I am trying to compile PHP 4.1.2 with apache 2.0.35. Here is my
configure line:
./configure --with-mysql --with-apxs2 --with-openssl -with-bz2
--enable-calendar --enable-ftp --enable-sockets --enable-magic-quotes
This is what I get when I run "make":
Making all in apache2filter
/bin/sh /root/php-4.1.2/libtool --silent --mode=compile
/root/php-4.1.2/meta_ccl
d -I. -I/root/php-4.1.2/sapi/apache2filter -I/root/php-4.1.2/main
-I/root/php-4
.1.2 -I/usr/local/apache/include -I/root/php-4.1.2/Zend
-I/root/php-4.1.2/ext/my
sql/libmysql -I/root/php-4.1.2/ext/xml/expat -D_REENTRANT
-D_THREAD_SAFE -I/roo
t/php-4.1.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c
sapi_apache2.c
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 tar
get 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 in
compatible pointer type
*** Error code 1
Stop in /root/php-4.1.2/sapi/apache2filter.
*** Error code 1
Stop in /root/php-4.1.2/sapi/apache2filter.
*** Error code 1
Stop in /root/php-4.1.2/sapi.
*** Error code 1
Stop in /root/php-4.1.2.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16560&edit=1