php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4368 Compile thttpd server api error
Submitted: 2000-05-10 00:09 UTC Modified: 2000-08-18 13:08 UTC
From: macro at go2n dot com dot cn Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: Redhat Linux 6.1 & FreeBSD 4.0
Private report: No CVE-ID: None
 [2000-05-10 00:09 UTC] macro at go2n dot com dot cn
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 18:25 UTC] derick@php.net
Did you solve this problem? If not, please try the latest version and report back whether you can compile or not. 
 [2000-08-18 13:08 UTC] waldschrott@php.net
Closed due to missing user feedback.
 [2000-08-18 13:08 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC