PHP 4.0 Bug #4114: basic_functions.c:324: `php_if_dl' undeclared here

From: Date: Wed, 12 Apr 2000 08:30:20 +0000
Subject: PHP 4.0 Bug #4114: basic_functions.c:324: `php_if_dl' undeclared here
Groups: php.dev 
Request: Send a blank email to php-dev+get-17833@lists.php.net to get a copy of this message
From: mysql@hornstra.com Operating system: RedHat 6.2 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Compile Failure Bug description: basic_functions.c:324: `php_if_dl' undeclared here I try to compile under RedHat 6.2 (Apache 1.3.12 and MySQL 3.22.32 both installed from RPM's), with "./configure --with-apxs=/usr/sbin/apxs --enable-discard-path --with-ftp --with-gettext --with-imap=/usr/include/imap --with-ldap --with-mysql --with-zlib=/usr/include" After some editing of the configurescript (RH seems to put some things in strange places), this runs just fine. When doing a "make", the compile fails: Making all in standard make[2]: Entering directory `/home/lijn/downloads/php-4.0RC1/ext/standard' make[3]: Entering directory `/home/lijn/downloads/php-4.0RC1/ext/standard' /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/lijn/downloads/php-4.0RC1/ext/standard -I../.. -I../../Zend -I/home/lijn/downloads/php-4.0RC1 -I/usr/include/apache -I/usr/local/include -I/usr/include/imap -I/home/lijn/downloads/php-4.0RC1/ext/mysql/libmysql -I/home/lijn/downloads/php-4.0RC1/ext/xml/expat/xmltok -I/home/lijn/downloads/php-4.0RC1/ext/xml/expat/xmlparse -DEAPI=1 -I/usr/local/include -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -Wall -c basic_functions.c basic_functions.c:324: `php_if_dl' undeclared here (not in a function) basic_functions.c:324: initializer element for `basic_functions[201].handler' is not constant basic_functions.c: In function `php_info_basic': basic_functions.c:707: warning: implicit declaration of function `php_info_dl' make[3]: *** [basic_functions.lo] Error 1 make[3]: Leaving directory `/home/lijn/downloads/php-4.0RC1/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/lijn/downloads/php-4.0RC1/ext/standard' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/lijn/downloads/php-4.0RC1/ext' make: *** [all-recursive] Error 1 Any clues yet?

« previous php.dev (#17833) next »