PHP 4.0 Bug #5236 Updated: dlerror - conflicting declerations

From: Date: Sat, 04 Nov 2000 00:49:30 +0000
Subject: PHP 4.0 Bug #5236 Updated: dlerror - conflicting declerations
Groups: php.dev 
Request: Send a blank email to php-dev+get-37062@lists.php.net to get a copy of this message
ID: 5236 Updated by: sniper Reported By: darren@bmv.state.me.us Status: Feedback Bug Type: *General Issues Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-08-02 17:49:41] waldschrott@php.net user feedback: Yes, it is still a problem. See Bug #5534 Note that I was able to get around this problem by modifying apache's os.h file an changing const char *dlerror(void); to char *dlerror(void); The change really should be made to php however. Unless it is a bug in apache of course. I'm not sure where the fault lies for this one other then thinking that php needs to use the apache stuff as it is installed by apache. --------------------------------------------------------------------------- [2000-07-26 01:54:33] waldschrott@php.net Please verify that it´s still happening using the latest version of PHP (release 4.0.1pl2 or CVS). --------------------------------------------------------------------------- [2000-06-27 16:39:57] darren@bmv.state.me.us 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5236

« previous php.dev (#37062) next »