From: [EMAIL PROTECTED] Operating system: Solaris8 / Intel PHP version: 4.2.0 PHP Bug Type: Apache2 related Bug description: PHP4.20 & sapi_apache2.c compiling
I had downloaded Apache 2.0.35 and PHP 4.2.0.; for configuring PHP I had used option with-apxs2. During "make" I've got following messages: Making all in apache2filter /bin/sh /export/home/hraskaf/php-4.2.0/libtool --silent --mode=compile gcc -I. -I/export/home/hrasc In file included from sapi_apache2.c:32: /usr/apache/include/ap_config.h:1266: warning: `XtOffsetOf' redefined /export/home/hraskaf/php-4.2.0/main/php.h:346: warning: this is the location of the previous definin In file included from /usr/apache2/include/util_filter.h:61, from sapi_apache2.c:33: /usr/apache2/include/httpd.h:1423: conflicting types for `ap_os_is_path_absolute' /usr/apache/include/os-inline.c:29: previous declaration of `ap_os_is_path_absolute' In file included from sapi_apache2.c:35: /usr/apache/include/http_config.h:154: parse error before `configfile_t' /usr/apache/include/http_config.h:154: warning: no semicolon at end of struct or union /usr/apache/include/http_config.h:156: warning: data definition has no type or storage class /usr/apache/include/http_config.h:175: parse error before `}' /usr/apache/include/http_config.h:175: warning: data definition has no type or storage class /usr/apache/include/http_config.h:224: parse error before `pool' /usr/apache/include/http_config.h:225: parse error before `*' /usr/apache/include/http_config.h:226: parse error before `*' /usr/apache/include/http_config.h:227: parse error before `*' /usr/apache/include/http_config.h:228: parse error before `*' /usr/apache/include/http_config.h:274: parse error before `pool' /usr/apache/include/http_config.h:275: parse error before `pool' /usr/apache/include/http_config.h:332: parse error before `*' /usr/apache/include/http_config.h:371: parse error before `*' /usr/apache/include/http_config.h:372: parse error before `*' /usr/apache/include/http_config.h:373: parse error before `*' /usr/apache/include/http_config.h:374: parse error before `*' /usr/apache/include/http_config.h:381: parse error before `*' /usr/apache/include/http_config.h:395: parse error before `*' In file included from sapi_apache2.c:37: /usr/apache/include/http_core.h:131: parse error before `*' /usr/apache/include/http_core.h:153: parse error before `*' /usr/apache/include/http_core.h:153: warning: data definition has no type or storage class In file included from sapi_apache2.c:38: /usr/apache/include/http_protocol.h:137: parse error before `*' /usr/apache/include/http_protocol.h:138: parse error before `*' In file included from sapi_apache2.c:39: /usr/apache/include/http_log.h:107: parse error before `pool' /usr/apache/include/http_log.h:125: parse error before `*' /usr/apache/include/http_log.h:138: parse error before `pool' /usr/apache/include/http_log.h:138: warning: no semicolon at end of struct or union /usr/apache/include/http_log.h:146: parse error before `}' /usr/apache/include/http_log.h:146: warning: data definition has no type or storage class /usr/apache/include/http_log.h:148: parse error before `*' /usr/apache/include/http_log.h:148: parse error before `*' /usr/apache/include/http_log.h:148: warning: data definition has no type or storage class /usr/apache/include/http_log.h:149: parse error before `*' In file included from sapi_apache2.c:41: /usr/apache/include/util_script.h:73: parse error before `*' /usr/apache/include/util_script.h:78: parse error before `BUFF' /usr/apache/include/util_script.h:84: parse error before `child_info' sapi_apache2.c: In function `php_apache_sapi_log_message': sapi_apache2.c:215: `APLOG_STARTUP' undeclared (first use in this function) sapi_apache2.c:215: (Each undeclared identifier is reported only once sapi_apache2.c:215: for each function it appears in.) sapi_apache2.c:220: warning: passing arg 5 of `ap_log_error' from incompatible pointer type sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:278: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:358: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type sapi_apache2.c: In function `php_add_filter': sapi_apache2.c:460: warning: passing arg 5 of `ap_log_error' from incompatible pointer type sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:514: `APR_HOOK_MIDDLE' undeclared (first use in this function) sapi_apache2.c: At top level: sapi_apache2.c:522: `STANDARD20_MODULE_STUFF' undeclared here (not in a function) sapi_apache2.c:522: initializer element is not constant sapi_apache2.c:522: (near initialization for `php4_module.version') sapi_apache2.c:523: warning: initialization makes integer from pointer without a cast sapi_apache2.c:524: warning: initialization makes integer from pointer without a cast sapi_apache2.c:527: warning: initialization from incompatible pointer type sapi_apache2.c:529: warning: initialization makes integer from pointer without a cast *** Error code 1 make: Fatal error: Command failed for target `sapi_apache2.lo' -- Edit bug report at http://bugs.php.net/?id=16894&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16894&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16894&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16894&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16894&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16894&r=support Expected behavior: http://bugs.php.net/fix.php?id=16894&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16894&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16894&r=submittedtwice