php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5661 undeclared function
Submitted: 2000-07-18 10:56 UTC Modified: 2001-04-28 16:13 UTC
From: phil at kasteldevelopment dot com Assigned: zeev (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: linux slack 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phil at kasteldevelopment dot com
New email:
PHP Version: OS:

 

 [2000-07-18 10:56 UTC] phil at kasteldevelopment dot com
linux:/mnt/files/programs/php4/php-4.0.1pl2# make
Making all in Zend
make[1]: Entering directory `/mnt/files/programs/php4/php-4.0.1pl2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DXML_BYTE_ORDER=12  -g -O2 -c zend_hash.c
zend_hash.c: In function `zend_hash_add_or_update':
zend_hash.c:237: `LONG_MAX' undeclared (first use in this function)
zend_hash.c:237: (Each undeclared identifier is reported only once
zend_hash.c:237: for each function it appears in.)
zend_hash.c: In function `zend_hash_del_key_or_index':
zend_hash.c:482: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_find':
zend_hash.c:801: `LONG_MAX' undeclared (first use in this function)
zend_hash.c: In function `zend_hash_exists':
zend_hash.c:851: `LONG_MAX' undeclared (first use in this function)
make[1]: *** [zend_hash.lo] Error 1
make[1]: Leaving directory `/mnt/files/programs/php4/php-4.0.1pl2/Zend'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-28 23:01 UTC] hholzgra@php.net
in php.h we have:

#ifndef LONG_MAX
#define LONG_MAX 2147483647L
#endif

#ifndef LONG_MIN
#define LONG_MIN (- LONG_MAX - 1)
#endif

just in cas limits.h is not there or does not define LONG_MAX

maybe this should be done in zend.h to ?


 [2000-11-23 18:14 UTC] sniper@php.net
Is this still a problem when using PHP 4.0.3pl1 ?
It shouldn't be..you're using linux which should have limits.h.
Or your system is somehow messed up.

--Jani
 [2000-11-23 19:03 UTC] sniper@php.net
I heard rumours that Zeev has promised to put fallback #define's into Zend header
files. 

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 23:01:30 2024 UTC