PHP 4.0 Bug #4368: Compile thttpd server api error
| From: | macro at go2n dot com dot cn | Date: | Wed, 10 May 2000 04:09:26 +0000 |
| Subject: | PHP 4.0 Bug #4368: Compile thttpd server api error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18560@lists.php.net to get a copy of this message | ||
From: macro@go2n.com.cn
Operating system: Redhat Linux 6.1 & FreeBSD 4.0
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Compile Failure
Bug description: Compile thttpd server api error
When I compile PHP as thttpd API, my thttpd server is
2.16 version, extract it at /tmp/thttpd_2.16 directory,
and PHP 4.0RC1 in /tmp/php-4.0RC1, and I compile with:
cd thttpd_2.16
./configure --prefix=/usr/local/thttpd
cd ../php-4.0RC1
./configure --with-mysql --with-xml \
--with-thttpd=../thttpd_2.16 \
--with-oci8=$ORACLE_HOME
and 'make all'
Here is error message:
thttpd.c: In function `thttpd_hash_environment':
thttpd.c:175: incompatible type for argument 1 of `inet_ntoa'
thttpd.c:175: incompatible type for argument 1 of `inet_ntoa'
thttpd.c:175: incompatible type for argument 1 of `inet_ntoa'
thttpd.c:175: incompatible type for argument 1 of `inet_ntoa'
thttpd.c:175: incompatible type for argument 1 of `inet_ntoa'
make[1]: *** [thttpd.lo] Error 1
make[1]: Leaving directory `/home/macro/php-4.0RC1/sapi/thttpd'
make: *** [all-recursive] Error 1