Bug #10893: Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared"

From: Date: Wed, 16 May 2001 07:38:39 +0000
Subject: Bug #10893: Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared"
Groups: php.dev 
Request: Send a blank email to php-dev+get-55436@lists.php.net to get a copy of this message
From: dan@vitalwerks.com Operating system: Redhat 6.2 - Linux 2.2.17 PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared" 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 -- Edit Bug report at: http://bugs.php.net/?id=10893&edit=1

« previous php.dev (#55436) next »