PHP 4.0 Bug #8411 Updated: error: `LONG_MAX' undeclared
| From: | jules-phpbug at |SPAM|jules dot com dot au | Date: | Wed, 27 Dec 2000 23:59:13 +0000 |
| Subject: | PHP 4.0 Bug #8411 Updated: error: `LONG_MAX' undeclared | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42342@lists.php.net to get a copy of this message | ||
ID: 8411
User Update by: jules-phpbug@|SPAM|jules.com.au
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Description: error: `LONG_MAX' undeclared
I removed the src dir, unpacked it again, and now it works. I changed nothing else! Very
strange... Oh well ;-)
Previous Comments:
---------------------------------------------------------------------------
[2000-12-24 21:06:09] jules-phpbug@|SPAM|jules.com.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8411