PHP 4.0 Bug #5236 Updated: dlerror - conflicting declerations

From: Date: Mon, 23 Apr 2001 20:42:39 +0000
Subject: PHP 4.0 Bug #5236 Updated: dlerror - conflicting declerations
Groups: php.dev 
Request: Send a blank email to php-dev+get-52228@lists.php.net to get a copy of this message
ID: 5236 User Update by: darren@bmv.state.me.us Old-Status: Closed Status: Open Bug Type: *General Issues Description: dlerror - conflicting declerations This is still a problem (php 4.0.4pl1 & apache 1.3.19). Same work around. Previous Comments: --------------------------------------------------------------------------- [2000-12-07 11:15:44] sniper@php.net No feedback. --------------------------------------------------------------------------- [2000-11-01 02:46:26] andi@php.net Does this still happen with 4.0.3pl1? It does seem like an Apache problem though. --------------------------------------------------------------------------- [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 --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=5236

« previous php.dev (#52228) next »