php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4114 basic_functions.c:324: `php_if_dl' undeclared here
Submitted: 2000-04-12 04:30 UTC Modified: 2000-04-12 04:35 UTC
From: mysql at hornstra dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: RedHat 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mysql at hornstra dot com
New email:
PHP Version: OS:

 

 [2000-04-12 04:30 UTC] mysql at hornstra dot com
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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-12 04:33 UTC] rasmus at cvs dot php dot net
Fixed in CVS, and note that --enable-discard-path has no meaning when compiling PHP as an Apache module.
I also really doubt that your libimap.a and libzlib.a are installed in your include directories.
Try a snapshot from http://snaps.php.net and fix your configure switches.
 [2000-04-12 04:35 UTC] rasmus at cvs dot php dot net
forgot to close
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC