|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-03 04:34 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 00:00:01 2025 UTC |
The config line is ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql I am using apache 1.3.14 This has been reported before, as a search on the string "dlfcn" in the bug database turns up several reports. However, none of them have been with PHP 4.0.4. Basically, when .../php-4.0.4/sapi/apache/sapi_apache.c is being compiled, you get the following: In file included from /usr/local/apache/include/ap_config.h:116, from /usr/local/apache/include/httpd.h:71, from sapi_apache.c:32: /usr/local/apache/include/os.h:122: conflicting types for `dlerror' /usr/include/dlfcn.h:51: previous declaration of `dlerror' I tried to trace down where dlfcn.h is being included prior to line 113 #undef HAVE_DLFCN_H in .../apache/include/os.h, but so far to no avail. As a workaround, commenting out line 123 where it says const char *dlerror(void); got the compile to work.