php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18093 incompatible type for argument 3 of `ap_register_output_filter'
Submitted: 2002-07-01 13:21 UTC Modified: 2002-07-01 13:44 UTC
From: bugzilla at cm51-210 dot liwest dot at Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2002-07-01 OS: Linux 2.4.18
Private report: No CVE-ID: None
 [2002-07-01 13:21 UTC] bugzilla at cm51-210 dot liwest dot at
tried to compile cvs version

/bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/usr/src/php4/sapi/apache2filter/ -DPHP_ATOM_INC -I/usr/src/php4/include -I/usr/src/php4/main -I/usr/src/php4 -I/usr/local/apache2/include -I/usr/src/php4/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/src/php4/ext/xml/expat  -I/usr/src/php4/TSRM -g -O2  -prefer-pic -c /usr/src/php4/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo

/usr/src/php4/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
/usr/src/php4/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
/usr/src/php4/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
/usr/src/php4/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
/usr/src/php4/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1

config line:

./configure --with-apxs2 --with-mysql --with-openssl --with-gd --with-jpeg-dir=../jpeg-6b/ --with-png-dir=../libpng-1.2.3/ --with-freetype-dir=../freetype-2.1.2/ --with-zlib

gcc v3.1 (i get the same with 2.96)
redhat 7.3
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)

cvs versions:

sapi_apache2.c:

revision 1.81
date: 2002/06/28 14:45:10;  author: derick;  state: Exp;  lines: +2 -2
- YAAC: I hope this is the last one!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 13:44 UTC] derick@php.net
You need the latest CVS version of apache (2.0.40).

Derick
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 12:00:02 2026 UTC