php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8411 error: `LONG_MAX' undeclared
Submitted: 2000-12-24 21:06 UTC Modified: 2000-12-27 18:59 UTC
From: jules-phpbug at |SPAM|jules dot com dot au Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: Linux 2.2.18
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: jules-phpbug at |SPAM|jules dot com dot au
New email:
PHP Version: OS:

 

 [2000-12-24 21:06 UTC] jules-phpbug at |SPAM|jules dot com dot au
Configure line:

./configure --with-mysql=shared --with-imap=shared,../imap-4.5 --with-apxs=/home/www/bin/apxs

Full error:
zend_hash.c: In function `zend_hash_add_or_update':
zend_hash.c:257: `LONG_MAX' undeclared (first use in this function)
zend_hash.c:257: (Each undeclared identifier is reported only once
zend_hash.c:257: for each function it appears in.)
zend_hash.c: In function `zend_hash_del_key_or_index':
zend_hash.c:502: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_find':
zend_hash.c:852: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_exists':
zend_hash.c:902: `LONG_MAX' undeclared (first use in this function)
make[1]: *** [zend_hash.lo] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.4/Zend'
make: *** [all-recursive] Error 1

Tried both linux 2.2.17 and 2.2.18.  Same result.

Using same configure line, PHP4.0.2 and 4.0.3pl1 compile without problems.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-27 18:59 UTC] jules-phpbug at |SPAM|jules dot com dot au
I removed the src dir, unpacked it again, and now it works.  I changed nothing else!  Very strange...  Oh well ;-)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 20:00:02 2026 UTC