[PHP-DEV] PHP 4.0 Bug #4368: Compile thttpd server api error From: macro <email protected>
Date: 05/10/00

From: macro <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>