Bug #10893 Updated: Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared"
| From: | sniper@php.net | Date: | Wed, 16 May 2001 10:13:32 +0000 |
| Subject: | Bug #10893 Updated: Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55456@lists.php.net to get a copy of this message | ||
ID: 10893
Updated by: sniper
Reported By: dan@vitalwerks.com
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
There is something wrong with your sources. Get a fresh
package, unpack / untar it and try again.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 03:38:39] dan@vitalwerks.com
Php 4.0.4pl worked fine. When upgrading to 4.0.5 I ran into this compile error. After I got this
error i tried compiling 4.0.4pl1 and no problems. So I am suspecting it is has something to do w/
4.0.5
CONFIG OPTIONS -
./configure --with-apache=../../../apache_1.3.19 --enable-track-vars --disable-debug --with-mysql
COMPILER VOMIT-
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2 -c zend_hash.c
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/apache/modules/php/php-4.0.5/Zend'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10893&edit=2