php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4021 Complie fails on "basic_functions.c:324: `php_if_dl' undeclared here"
Submitted: 2000-04-04 02:57 UTC Modified: 2000-04-27 13:45 UTC
From: texas at ludd dot luth dot se Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: Linux 2.2.14
Private report: No CVE-ID: None
 [2000-04-04 02:57 UTC] texas at ludd dot luth dot se
Using Slackware 7.0. PHP 4.0 Beta 4 works great but RC1 dies when compiling.

Configured with:
./configure --with-mysql=/usr/local/mysql/ --with-apache=../apache_1.3.12 --enable-track-vars --disable-debug --disable-magic-quotes --disable-shared


make generates the following error:

include -I/root/apps2/apache_1.3.12/src/os/unix -I/usr/local/mysql//include -I/root/apps2/php-4.0RC1/ext/xml/expat/xmltok -I/root/apps2/php-4.0RC1/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2  -c basic_functions.c && touch basic_functions.lo
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
make[3]: *** [basic_functions.lo] Error 1
make[3]: Leaving directory `/root/apps2/php-4.0RC1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/apps2/php-4.0RC1/ext/standard'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/apps2/php-4.0RC1/ext'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-06 06:58 UTC] texas at ludd dot luth dot se
Problem gone after changing "--with-mysql=/usr/local/mysql/" to just ""--with-mysql". No idea why.
 [2000-04-27 13:45 UTC] sas at cvs dot php dot net
Fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 07:00:02 2026 UTC