PHP 4.0 Bug #7738: Will not compile properly
| From: | morten at ronseth dot net | Date: | Fri, 10 Nov 2000 08:59:19 +0000 |
| Subject: | PHP 4.0 Bug #7738: Will not compile properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37657@lists.php.net to get a copy of this message | ||
From: morten@ronseth.net
Operating system: MacOS X Server 1.2
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: Will not compile properly
Halts with the following output:
Making all in apache
/bin/sh /usr/local/src/php-4.0.2/libtool --silent
--mode=compile cc -I.
-I/usr/local/src/php-4.0.2/sapi/apache -I/usr/local
/src/php-4.0.2 -I/usr/local/src/php-4.0.2/main
-I/System/Library/Frameworks/Apache.framework/Versi
ons/1.3/Headers -I/usr/loc
al/src/php-4.0.2/Zend -I/usr/local/src/php-4.0.2
-I/usr/local/src/php-4.0.2/ext/mysql/libmysql
-I/usr/local/src/php-4.0.2/ex
t/xml/expat/xmltok
-I/usr/local/src/php-4.0.2/ext/xml/expat/xmlparse
-traditional-cpp -DXML_BYTE_ORDER=21
-traditional-cpp
-g -O2 -c
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c
In file included from
/System/Library/Frameworks/Apache.framework/Versio
ns/1.3/Headers/httpd.h:71,
from
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:33:
/System/Library/Frameworks/Apache.framework/Versio
ns/1.3/Headers/ap_config.h:391: warning:
`HAVE_MMAP' redefined
/usr/local/src/php-4.0.2/php_config.h:286: warning: this
is the location of the previous definition
/System/Library/Frameworks/Apache.framework/Versio
ns/1.3/Headers/ap_config.h:396: warning:
`HAVE_SNPRINTF' redefined
/usr/local/src/php-4.0.2/php_config.h:391: warning: this
is the location of the previous definition
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c: In
function `sapi_apache_flush':
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:152:
warning: dereferencing `void *' pointer
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:152:
request for member `connection' in something not a
structure or union
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c: In
function `sapi_apache_header_handler':
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:203:
warning: assignment makes pointer from integer
without a cast
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c: In
function `sapi_apache_register_server_variables':
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:233:
warning: initialization makes pointer from integer
without a cast
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c: At
top level:
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:355:
`block_alarms' undeclared here (not in a function)
/usr/local/src/php-4.0.2/sapi/apache/mod_php4.c:355:
too many errors, bailing out
make[3]: *** [mod_php4.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
--
Edit Bug report at: http://bugs.php.net/?id=7738&edit=1