Bug #17331 Updated: Make fails trying to redefine XtOffsetOf in the SAPI module
| From: | sniper@php.net | Date: | Wed, 22 May 2002 13:15:10 +0000 |
| Subject: | Bug #17331 Updated: Make fails trying to redefine XtOffsetOf in the SAPI module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8216@lists.php.net to get a copy of this message | ||
ID: 17331
Updated by: sniper@php.net
Reported By: steve.miller@consultant.com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Suse Linux 7.2
PHP Version: 4.2.1
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Like I said, this is fixed in HEAD.
Previous Comments:
------------------------------------------------------------------------
[2002-05-21 15:33:59] steve.miller@highmead.ltd.uk
Section of make process that generates error.
Making all in sapi
make[1]: Entering directory `/usr/local/php/sapi'
Making all in apache
make[2]: Entering directory `/usr/local/php/sapi/apache'
make[3]: Entering directory `/usr/local/php/sapi/apache'
/bin/sh /usr/local/php/libtool --silent --mode=compile gcc -I.
-I/usr/local/php/sapi/apache -I/usr/local/php/main
-I/usr/local/php -I/usr/local/httpd/include
-I/usr/local/php/Zend -I/usr/local/php/ext/mysql/libmysql
-I/u01/oracle/product/8.1.6/rdbms/public
-I/u01/oracle/product/8.1.6/rdbms/demo
-I/u01/oracle/product/8.1.6/network/public
-I/usr/local/php/ext/xml/expat
-DLINUX=22 -DUSE_HSREGEX -I/usr/local/php/TSRM -g -O2 -prefer-pic -c
sapi_apache.c
In file included from /usr/local/php/main/httpd.h:72,
from sapi_apache.c:32:
/usr/local/php/main/ap_config.h:114: os.h: No such file or directory
In file included from /usr/local/php/main/httpd.h:72,
from sapi_apache.c:32:
/usr/local/php/main/ap_config.h:1386: warning: `XtOffsetOf' redefined
/usr/local/php/main/php.h:346: warning: this is the location of the
previous definition
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/usr/local/php/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php/sapi'
make: *** [all-recursive] Error 1
koln:/usr/local/php #
------------------------------------------------------------------------
[2002-05-21 08:44:48] sniper@php.net
I doubt it's because of that _warning_. It's something else.
And this is fixed in CVS (4.3.0-dev) btw.
--Jani
------------------------------------------------------------------------
[2002-05-21 05:24:20] derick@php.net
Setting the status to feedback until more info is available
------------------------------------------------------------------------
[2002-05-21 04:12:01] steve.miller@consultant.com
PHP 4.2.1 and Apache 1.3.19
httpd -l returns mod_so.c in the list.
./configure --with-oci8 --with-oracle --with-apxs=/usr/local/httpd/bin
configure completes successfully.
make fails with errors in the SAPI module.
php.h tries to redefine XtOffsetOf when you are compiling with apxs.
mentions main/php.h and also os.h and some other header files.
I will post some more information when available.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17331&edit=1