php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18089 compile failure apache 2
Submitted: 2002-07-01 10:42 UTC Modified: 2002-07-01 11:00 UTC
From: mw at suk dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2002-07-01 OS: RedHat Linux 7.3
Private report: No CVE-ID: None
 [2002-07-01 10:42 UTC] mw at suk dot net
Compiled using Apache v2.0.39 and following configure line:

./configure \
        --prefix=/usr/server \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-mbstring \
        --enable-sockets \
        --with-apxs2=/usr/server/bin/apxs \
        --with-config-file-path=/data/apache/conf \
        --with-mysql=/usr \
        --without-pear

Output:
...
/bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/usr/src/server/php4-200207010000/sapi/apache2filter/ -DPHP_ATOM_INC -I/usr/src/server/php4-200207010000/include -I/usr/src/server/php4-200207010000/main -I/usr/src/server/php4-200207010000 -I/usr/server/include -I/usr/src/server/php4-200207010000/Zend -I/usr/include/mysql -I/usr/src/server/php4-200207010000/ext/xml/expat  -D_REENTRANT -I/usr/src/server/php4-200207010000/TSRM -g -O2 -pthread -DZTS  -prefer-pic -c /usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo 
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1
[root@tux php4-200207010000]# make install
/bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/usr/src/server/php4-200207010000/sapi/apache2filter/ -DPHP_ATOM_INC -I/usr/src/server/php4-200207010000/include -I/usr/src/server/php4-200207010000/main -I/usr/src/server/php4-200207010000 -I/usr/server/include -I/usr/src/server/php4-200207010000/Zend -I/usr/include/mysql -I/usr/src/server/php4-200207010000/ext/xml/expat  -D_REENTRANT -I/usr/src/server/php4-200207010000/TSRM -g -O2 -pthread -DZTS  -prefer-pic -c /usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo 
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
/usr/src/server/php4-200207010000/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1


Used the 200207010000 snapshot (php4-latest.tar.bz2) from snaps.php.net

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 11:00 UTC] sniper@php.net
You need latest CVS of Apache. 2.0.39 is too old.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 12:01:31 2024 UTC