PHP 4.0 Bug #8559: dlerror previously defined

From: Date: Fri, 05 Jan 2001 00:57:36 +0000
Subject: PHP 4.0 Bug #8559: dlerror previously defined
Groups: php.dev 
Request: Send a blank email to php-dev+get-43006@lists.php.net to get a copy of this message
From: fang-pin.chang@cyberdude.com Operating system: AIX 4.2.0 PHP version: 4.0.4 PHP Bug Type: Compile Failure Bug description: dlerror previously defined 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. -- Edit Bug report at: http://bugs.php.net/?id=8559&edit=1

« previous php.dev (#43006) next »