php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16560 sapi_apache2.c won't compile
Submitted: 2002-04-11 20:33 UTC Modified: 2002-04-12 01:19 UTC
From: mdufel at ucsdx dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: freeBSD 4.5-RELEASE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mdufel at ucsdx dot net
New email:
PHP Version: OS:

 

 [2002-04-11 20:33 UTC] mdufel at ucsdx dot 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.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 01:19 UTC] derick@php.net
Already fixed, try php 4.2.0rc3 from www.php.net/~derick tomorrow (when it's released).

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 01:00:02 2025 UTC