php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5647 Compile failure
Submitted: 2000-07-17 17:29 UTC Modified: 2000-08-17 08:26 UTC
From: aprasad at fs dot fed dot us Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.2 (Intel 2.2.14-
Private report: No CVE-ID: None
 [2000-07-17 17:29 UTC] aprasad at fs dot fed dot us
./configure --with-mysql --with-apxs
Everything was OK.
> make

/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DEAPI=1 -DXML_BYTE_ORDER=12  -g -O2 -c zend_extensions.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DEAPI=1 -DXML_BYTE_ORDER=12  -g -O2 -c zend_hash.c
zend_hash.c: In function `zend_hash_add_or_update':
zend_hash.c:237: `LONG_MAX' undeclared (first use in this function)
zend_hash.c:237: (Each undeclared identifier is reported only once
zend_hash.c:237: for each function it appears in.)
zend_hash.c: In function `zend_hash_del_key_or_index':
zend_hash.c:482: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_find':
zend_hash.c:801: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_exists':
zend_hash.c:851: `LONG_MAX' undeclared (first use in this function)
make[1]: *** [zend_hash.lo] Error 1
make[1]: Leaving directory `/hdb/mysql/php-4.0.1pl2/Zend'
make: *** [all-recursive] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 06:11 UTC] sniper@php.net
Try adding path to --with-apxs, for example --with-apxs=/usr/local/apache/bin/apxs
Please confirm if it fixes this.

--Jani
 [2000-08-17 08:26 UTC] stas@php.net
User confirmed the fix.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jul 05 04:00:01 2026 UTC