|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16076 apache 2.0.32 sapi_apache2.c compile failure
Submitted: 2002-03-14 12:15 UTC Modified: 2002-04-06 11:11 UTC
Avg. Score:4.8 ± 0.4
Reproduced:6 of 6 (100.0%)
Same Version:5 (83.3%)
Same OS:3 (50.0%)
From: eric at wynja dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.1.2 OS: linux 2.4.17
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: eric at wynja dot com
New email:
PHP Version: OS:


 [2002-03-14 12:15 UTC] eric at wynja dot com
./configure  --with-mysql --with-apxs2=/usr/local/bin/apxs

no problem

Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory 
make[3]: Entering directory 
/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/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/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 
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 
sapi_apache2.c:247: too few arguments to function 
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 
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-14 13:08 UTC] eric at wynja dot com
Addendum: tried the latest latest version
to see if that might make a difference.  Different error, 
but still looks related:

In function `apache_php_module_main':
`NOT_FOUND' undeclared (first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)
make: *** [sapi/apache/sapi_apache.lo] Error 1
 [2002-04-06 11:11 UTC]
You need latest CVS versions of both Apache2 and PHP.

 [2004-04-23 00:04 UTC] critical_section at yahoo dot com
I have the same damn error:

/usr/HTTPServer/include/os.h:82: os-inline.c: No such file or directory
make: *** [sapi/apache/sapi_apache.lo] Error 1

This is with PHP4.3.6, with Apache
Does 4.3.6 need Apache2? Please help.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC