php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10893 Failes to compile "zend_hash.c:257: `LONG_MAX' undeclared"
Submitted: 2001-05-16 03:38 UTC Modified: 2001-05-16 06:13 UTC
From: dan at vitalwerks dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Redhat 6.2 - Linux 2.2.17
Private report: No CVE-ID: None
 [2001-05-16 03:38 UTC] dan at vitalwerks dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-16 06:13 UTC] sniper@php.net
There is something wrong with your sources. Get a fresh
package, unpack / untar it and try again.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 02:02:52 2024 UTC