Bug #16076 Updated: apache 2.0.32 sapi_apache2.c compile failure
| From: | sniper@php.net | Date: | Sat, 06 Apr 2002 16:11:30 +0000 |
| Subject: | Bug #16076 Updated: apache 2.0.32 sapi_apache2.c compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4210@lists.php.net to get a copy of this message | ||
ID: 16076
Updated by: sniper@php.net
Reported By: eric@wynja.com
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: linux 2.4.17
PHP Version: 4.1.2
New Comment:
You need latest CVS versions of both Apache2 and PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-03-14 13:08:09] eric@wynja.com
Addendum: tried the latest latest version
http://snaps.php.net/php4-200203140900.tar.gz
to see if that might make a difference. Different error,
but still looks related:
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:
In function `apache_php_module_main':
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81:
`NOT_FOUND' undeclared (first use in this function)
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81:
(Each undeclared identifier is reported only once
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81:
for each function it appears in.)
make: *** [sapi/apache/sapi_apache.lo] Error 1
------------------------------------------------------------------------
[2002-03-14 12:15:15] eric@wynja.com
./configure --with-mysql --with-apxs2=/usr/local/bin/apxs
no problem
make
...
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.1.2/libtool --silent
--mode=compile /usr/local/src/php-4.1.2/meta_ccld -I.
-I/usr/local/src/php-4.1.2/sapi/apache2filter
-I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2
-I/usr/local/include -I/usr/local/src/php-4.1.2/Zend
-I/usr/local/src/php-4.1.2/ext/mysql/libmysql
-I/usr/local/src/php-4.1.2/ext/xml/expat -D_REENTRANT
-I/usr/local/src/php-4.1.2/TSRM -DTHREAD=1 -O3 -march=i686
-pthread -DZTS -prefer-pic -c
sapi_apache2.csapi_apache2.c: In function
`php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards
qualifiers from pointer target type
sapi_apache2.c: In function `php_input_filter':
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_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of
`ap_register_input_filter' from
incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16076&edit=1