From: [EMAIL PROTECTED] Operating system: Red Hat Linux 7.1 / kernel 2.4.4 PHP version: 4.0CVS-2002-04-08 PHP Bug Type: Compile Failure Bug description: DL_ERROR() instead of dlerror() in ext/standard/dl.c 1.68 breaks build
dl.c version 1.68 line 48 defines GET_DL_ERROR() as DL_ERROR() instead of (as in previous versions of dl.c) dlerror(). When building, that gives me the following error when gcc tries to link together all of the various object files and libraries to make the php binary: ext/standard/dl.o: In function `php_dl': /store/cvs/php/php4/ext/standard/dl.c:137: undefined reference to `DL_ERROR' If I change dl.c back to using dlerror() instead of DL_ERROR(), it builds fine. Here is my configure command line: ./configure \ --disable-short-tags \ --enable-magic-quotes \ --with-openssl \ --with-zlib-dir=/usr/lib \ --enable-calendar \ --with-curl \ --with-dom=/usr/local/lib \ --with-gettext \ --with-mcrypt \ --with-mysql=/usr/local/mysql \ --with-pgsql \ --with-oci8=/store/oracle \ --with-ncurses \ --with-readline=/usr/local/lib \ --with-mm=../mm-1.1.3 \ --enable-sockets \ --enable-sysvsem --enable-sysvshm \ --with-iconv \ --with-xmlrpc \ --with-zip=/usr/local/lib \ --enable-inline-optimization \ --enable-dba \ --with-gdbm \ --with-ndbm \ --with-db2 \ --with-db3 \ --with-shmop -- Edit bug report at http://bugs.php.net/?id=16500&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16500&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16500&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16500&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16500&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16500&r=support Expected behavior: http://bugs.php.net/fix.php?id=16500&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16500&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16500&r=submittedtwice