Re: compile error
| From: | Rasmus Lerdorf | Date: | Mon, 19 Aug 2002 15:52:49 +0000 |
| Subject: | Re: compile error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113213@lists.php.net to get a copy of this message | ||
You need current PHP CVS to work with Apache 2.0.40. See snaps.php.net
On Mon, 19 Aug 2002, Adam Williams wrote:
> 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
>