php.net |  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
Votes:6
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-14 13:08 UTC] eric at wynja dot 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-04-06 11:11 UTC] sniper@php.net
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 1.3.19.6.
Does 4.3.6 need Apache2? Please help.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 03:01:28 2024 UTC