php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19145 Compiling bug
Submitted: 2002-08-28 06:42 UTC Modified: 2002-08-28 06:44 UTC
From: fiera at promotion dot it Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.2 OS: Slackware 8.1
Private report: No CVE-ID: None
 [2002-08-28 06:42 UTC] fiera at promotion dot it
Hello. 
I downloaded and installed Apache 2.0.40 following your 
instructions, and then I tried to install php 4.2.2 
I received this error during the compilation:  
  
 make[3]: Entering directory  
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'  
/bin/sh /usr/local/src/php/php-4.2.2/libtool --silent  
--mode=compile gcc  -I.  
-I/usr/local/src/php/php-4.2.2/sapi/apache2filter  
-I/usr/local/src/php/php-4.2.2/main  
-I/usr/local/src/php/php-4.2.2  
-I/usr/local/apache2.0.40/include  
-I/usr/local/src/php/php-4.2.2/Zend  
-I/usr/local/src/php/php-4.2.2/ext/mysql/libmysql  
-I/usr/local/src/php/php-4.2.2/ext/xml/expat  -D_REENTRANT  
-I/usr/local/src/php/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  
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/usr/local/src/php/php-4.2.2/sapi'  
make: *** [all-recursive] Error 1  
  
  
What can I do? 
Alessandro 
P.S. Now I try to download another time php and to 
configure and compile it. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-28 06:44 UTC] derick@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 07:01:35 2025 UTC