ID: 20626
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
-Bug Type: Compile Warning
+Bug Type: Compile Failure
Operating System: OpenBSD 3.1-stable
-PHP Version: 4CVS-2002-11-25 (stable)
+PHP Version: 4.3.0-dev
New Comment:
this is some openbsd oddity, and actually a libtool bug..but leaving
open, maybe someone knows how to 'fix' this.
Previous Comments:
[2002-11-25 12:21:27] [EMAIL PROTECTED]
Specifiying build as an Apache shared library module fails
to work on my system.
Configure couldn't get much simpler:
./configure --with-apxs=/usr/sbin/apxs
The compile goes OK, but libtool runs into some trouble. I
have libtool 1.4, and I'm running Apache 1.3.24 (standard
with of OpenBSD 3.1) with OpenBSD's security patches, if
that makes any difference.
Full output of libtool lines below:
/bin/sh libtool --silent --mode=compile gcc
-I/usr/lib/apache/include -Isapi/apache/
-I/usr/local/src/php4/sapi/apache/ -DPHP_ATOM_INC
-I/usr/local/src/php4/include -I/usr/local/src/php4/main
-I/usr/local/src/php4 -I/usr/local/src/php4/Zend
-I/usr/local/src/php4/ext/xml/expat
-DDEV_RANDOM=/dev/arandom -DMOD_SSL=208108 -DEAPI
-DUSE_EXPAT -I/usr/local/src/php4/TSRM -g -O2 -prefer-pic
-c /usr/local/src/php4/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from
/usr/lib/apache/include/ap_config.h:114,
from /usr/lib/apache/include/httpd.h:72,
from
/usr/local/src/php4/sapi/apache/php_apache_http.h:22,
from
/usr/local/src/php4/sapi/apache/sapi_apache.c:24:
/usr/lib/apache/include/os.h:141: warning:
`DLSYM_NEEDS_UNDERSCORE' redefined
/usr/local/src/php4/main/php_config.h:330: warning: this is
the location of the previous definition
In file included from
/usr/local/src/php4/TSRM/tsrm_config.h:1,
from
/usr/local/src/php4/TSRM/tsrm_config_common.h:13,
from
/usr/local/src/php4/TSRM/tsrm_virtual_cwd.h:26,
from /usr/local/src/php4/main/php.h:360,
from
/usr/local/src/php4/main/php_variables.h:25,
from
/usr/local/src/php4/sapi/apache/php_apache_http.h:40,
from
/usr/local/src/php4/sapi/apache/sapi_apache.c:24:
/usr/local/src/php4/TSRM/../main/php_config.h:330: warning:
`DLSYM_NEEDS_UNDERSCORE' redefined
/usr/lib/apache/include/os.h:141: warning: this is the
location of the previous definition
/bin/sh libtool --silent --mode=compile gcc
-I/usr/lib/apache/include -Isapi/apache/
-I/usr/local/src/php4/sapi/apache/ -DPHP_ATOM_INC
-I/usr/local/src/php4/include -I/usr/local/src/php4/main
-I/usr/local/src/php4 -I/usr/local/src/php4/Zend
-I/usr/local/src/php4/ext/xml/expat
-DDEV_RANDOM=/dev/arandom -DMOD_SSL=208108 -DEAPI
-DUSE_EXPAT -I/usr/local/src/php4/TSRM -g -O2 -prefer-pic
-c /usr/local/src/php4/sapi/apache/mod_php4.c -o
sapi/apache/mod_php4.lo
In file included from
/usr/lib/apache/include/ap_config.h:114,
from /usr/lib/apache/include/httpd.h:72,
from
/usr/local/src/php4/sapi/apache/php_apache_http.h:22,
from
/usr/local/src/php4/sapi/apache/mod_php4.c:22:
/usr/lib/apache/include/os.h:141: warning:
`DLSYM_NEEDS_UNDERSCORE' redefined
/usr/local/src/php4/main/php_config.h:330: warning: this
is the location of the previous definition
In file included from
/usr/local/src/php4/TSRM/tsrm_config.h:1,
from
/usr/local/src/php4/TSRM/tsrm_config_common.h:13,
from
/usr/local/src/php4/TSRM/tsrm_virtual_cwd.h:26,
from /usr/local/src/php4/main/php.h:360,
from
/usr/local/src/php4/main/php_variables.h:25,
from
/usr/local/src/php4/sapi/apache/php_apache_http.h:40,
from
/usr/local/src/php4/sapi/apache/mod_php4.c:22:
/usr/local/src/php4/TSRM/../main/php_config.h:330: warning:
`DLSYM_NEEDS_UNDERSCORE' redefined
/usr/lib/apache/include/os.h:141: warning: this is the
location of the previous definition
/bin/sh libtool --silent --mode=compile gcc
-I/usr/lib/apache/include -Isapi/apache/
-I/usr/local/src/php4/sapi/apache/ -DPHP_ATOM_INC
-I/usr/local/src/php4/include -I/usr/local/src/php4/main
-I/usr/local/src/php4 -I/usr/local/src/php4/Zend
-I/usr/local/src/php4/ext/xml/expat
-DDEV_RANDOM=/dev/arandom -DMOD_SSL=208108 -DEAPI
-DUSE_EXPAT -I/usr/local/src/php4/TSRM -g -O2 -prefer-pic
-c /usr/local/src/php4/sapi/apache/php_apache.c -o
sapi/apache/php_apache.lo
In file included from
/usr/lib/apache/include/ap_config.h:114,
from /usr/lib/apache/include/httpd.h:72,
from
/usr/local/src/php4/sapi/apache/php_apache_http.h:22,
from
/usr/local/src/php4/sapi/apache/p