I'm trying to compile PHP 4.2.2.  I am running Apache 2.0.40 (yes I know
support is experimental).  I am compiling on Redhat 7.3 Linux 2.4.18.  I
did my PHP configure line:

./configure --enable-track-vars --with-mysql --with-mail 
--with-apxs2=/usr/local/apache2/bin/apxs

and then I do a make, and it errors out with:

make[3]: Entering directory `/root/php-4.2.2/sapi/apache2filter'
/bin/sh /root/php-4.2.2/libtool --silent --mode=compile gcc  -I.
-I/root/php-4.2.2/sapi/apache2filter -I/root/php-4.2.2/main
-I/root/php-4.2.2 -I/usr/local/apache2/include -I/root/php-4.2.2/Zend
-I/root/php-4.2.2/ext/mysql/libmysql -I/root/php-4.2.2/ext/xml/expat
-D_REENTRANT -I/root/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes
pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

Has anyone else had similar errors and found a solution?

                        Adam


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to