php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9657 zend_hash.c:257: `LONG_MAX' undeclared
Submitted: 2001-03-09 11:49 UTC Modified: 2001-04-10 10:54 UTC
From: pbonnet at sqli dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4pl1 OS: Linux Suse
Private report: No CVE-ID: None
 [2001-03-09 11:49 UTC] pbonnet at sqli dot com
immo:/aenix/php-4.0.4pl1 # make
Making all in Zend
make[1]: Entering directory `/aenix/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -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 `/aenix/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 13:42 UTC] sniper@php.net
Can you find 'limits.h' in your system (you should..)
and check if it defines LONG_MAX.

And please add your configure line into this bug report.

--Jani

 [2001-04-10 10:54 UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.

--Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Feb 23 08:01:25 2019 UTC