error compiling cvs build
| From: | php at home dot uh dot nu | Date: | Fri, 25 Feb 2000 02:42:12 +0000 |
| Subject: | error compiling cvs build | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10909@lists.php.net to get a copy of this message | ||
Howdy folks,
Looks like I found another build error, this time it looks like its related to
the --enable-sysvshm --enable-sysvsem options.
Here is my config
./configure --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME
--with-apache=$RC_PROJ_ROOT/apache_1.3.9 --with-ftp --with-gd --enable-xml --enable-wddx
--enable-sysvshm --enable-sysvsem --enable-inline-optimization --with-zlib --enable-track-vars
--enable-magic-quotes --disable-debug
make[3]: Entering directory `/home/waltb/rocketcash/php4/sapi/apache'
gcc -DHAVE_CONFIG_H -I. -I/home/waltb/rocketcash/php4/sapi/apache -I../.. -I../../Zend
-I/home/waltb/rocketcash/php4 -I/home/waltb/apollo/rocketcash/apache_1.3.9/src/include
-I/home/waltb/apollo/rocketcash/apache_1.3.9/src/os/unix -I/home/oracle/rdbms/public
-I/home/oracle/network/public -I/home/oracle/plsql/public -I/home/oracle/rdbms/public
-I/home/oracle/network/public -I/home/oracle/plsql/public -I/home/oracle/rdbms/public
-I/home/oracle/network/public -I/home/oracle/plsql/public
-I/home/waltb/rocketcash/php4/ext/xml/expat/xmltok
-I/home/waltb/rocketcash/php4/ext/xml/expat/xmlparse
-I/home/waltb/apollo/rocketcash/apache_1.3.9/src/include
-I/home/waltb/apollo/rocketcash/apache_1.3.9/src/os/unix -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -c
sapi_apache.c && touch sapi_apache.lo
In file included from /home/waltb/apollo/rocketcash/apache_1.3.9/src/include/httpd.h:76,
from sapi_apache.c:28:
/home/waltb/apollo/rocketcash/apache_1.3.9/src/include/ap_config.h:188: conflicting types for
`gethostname'
/usr/include/unistd.h:733: previous declaration of `gethostname'
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/home/waltb/rocketcash/php4/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/waltb/rocketcash/php4/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/waltb/rocketcash/php4/sapi'
make: *** [all-recursive] Error 1
Walt