PHP 4.0 Bug #2287: Conflicting type for dlerror

From: Date: Mon, 13 Sep 1999 13:52:22 +0000
Subject: PHP 4.0 Bug #2287: Conflicting type for dlerror
Groups: php.dev 
Request: Send a blank email to php-dev+get-10849@lists.php.net to get a copy of this message
From: fmal@fmal.com Operating system: AIX 4.3.2 PHP version: 4.0 Beta 2 PHP Bug Type: Compile Failure Bug description: Conflicting type for dlerror During make I have this error : make[2]: Entering directory `/usr2/php-4.0b2/ext/apache' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr2/apache_ 1.3.9/src/include -I/usr2/apache_1.3.9/src/os/unix -I/usr/local/include -I/usr2 /mysql/include/mysql -I../.. -I../../libzend -O2 -O2 -c apache.c In file included from /usr2/apache_1.3.9/src/include/ap_config.h:115, from ../../php.h:170, from apache.c:22: /usr2/apache_1.3.9/src/os/unix/os.h:117: conflicting types for `dlerror' /usr/include/dlfcn.h:57: previous declaration of `dlerror' make[2]: *** [apache.o] Error 1 make[2]: Leaving directory `/usr2/php-4.0b2/ext/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr2/php-4.0b2/ext' make: *** [all-recursive] Error 1 The configure script is : ./configure \ --disable-debug \ --enable-track-vars \ --enable-magic-quotes \ --with-apache=/usr2/apache_1.3.9 \ --with-mysql=/usr2/mysql NB : I have already patched in apache/src/os/unix/os-aix-dso.c the dlerror declarations, following Apache bug #3073

« previous php.dev (#10849) next »