|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2002-05-21 04:12 UTC] steve dot miller at consultant dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Thu Oct 30 22:00:01 2025 UTC | 
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 #