PHP 4.0 Bug #5236: dlerror - conflicting declerations
| From: | darren at bmv dot state dot me dot us | Date: | Tue, 27 Jun 2000 20:39:57 +0000 |
| Subject: | PHP 4.0 Bug #5236: dlerror - conflicting declerations | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22405@lists.php.net to get a copy of this message | ||
From: darren@bmv.state.me.us
Operating system: AIX 4.2.1
PHP version: 4.0.0 Release
PHP Bug Type: Installation problem
Bug description: dlerror - conflicting declerations
A very simplue configuration... --enable-mysql --with-apxs
apache 1.3.12
gcc 2.95.1 and 2.95.2
I've seen this same error detailed numerous times in the past year.
Make results in....
/bin/sh /home/darren/Temp/php-4.0.0/libtool --silent --mode=compile gcc -DHAVE_C
ONFIG_H -I. -I/home/darren/Temp/php-4.0.0/sapi/apache -I/home/darren/Temp/php-4.
0.0 -I/usr/local/apache/include -I/home/darren/Temp/php-4.0.0/Zend -I/home/darre
n/Temp/php-4.0.0 -I/home/darren/Temp/php-4.0.0/ext/mysql/libmysql -I/home/darren
/Temp/php-4.0.0/ext/xml/expat/xmltok -I/home/darren/Temp/php-4.0.0/ext/xml/expat
/xmlparse -DXML_BYTE_ORDER=21 -O2 -g -Wall -c sapi_apache.c
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:35: previous declaration of `dlerror'
gmake[3]: *** [sapi_apache.lo] Error 1
gmake[3]: Leaving directory `/home/darren/Temp/php-4.0.0/sapi/apache'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/darren/Temp/php-4.0.0/sapi/apache'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/darren/Temp/php-4.0.0/sapi'
gmake: *** [all-recursive] Error 1