[asterisk-bugs] [Asterisk 0017644]: funcs/func_env.c fails to compile because of missing definition for LLONG_MAX in <limits.h>
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 15 18:39:08 CDT 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=17644
======================================================================
Reported By: pprindeville
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 17644
Category: Functions/func_env
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA:
Regression: Yes
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 276114
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-07-14 14:00 CDT
Last Modified: 2010-07-15 18:39 CDT
======================================================================
Summary: funcs/func_env.c fails to compile because of missing
definition for LLONG_MAX in <limits.h>
Description:
Compilation fails:
i586-linux-uclibc-gcc -o func_env.o -c func_env.c -MD -MT func_env.o -MF
.func_env.o.d -MP -pthread
-I/home/philipp/kernel/build_i586/asterisk-rHEAD/include -Os -pipe
-fomit-frame-pointer -march=k6-2 -fno-align-functions -fno-align-loops
-fno-align-jumps -fno-align-labels -isysroot
/home/philipp/kernel/build_i586/staging_dir -isystem
/home/philipp/kernel/build_i586/staging_dir/usr/include -D_GNU_SOURCE
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3
-O6 -fPIC -DAST_MODULE=\"func_env\"
func_env.c: In function 'file_read':
func_env.c:467: error: 'LLONG_MAX' undeclared (first use in this
function)
func_env.c:467: error: (Each undeclared identifier is reported only once
func_env.c:467: error: for each function it appears in.)
func_env.c: In function 'file_write':
func_env.c:723: error: 'LLONG_MAX' undeclared (first use in this
function)
make[2]: *** [func_env.o] Error 1
with gcc 4.2.5 and uclibc-0.9.28
======================================================================
----------------------------------------------------------------------
(0124588) tilghman (administrator) - 2010-07-15 18:39
https://issues.asterisk.org/view.php?id=17644#c124588
----------------------------------------------------------------------
POSIX defines the value given as the minimum acceptable value for
LLONG_MAX. At such time when we need to manipulate files in Asterisk which
are larger than 9 quintillion bytes (or even a filesystem that supports
larger than 9 exabytes long, you are welcome to reopen this issue.
See http://www.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
Issue History
Date Modified Username Field Change
======================================================================
2010-07-15 18:39 tilghman Note Added: 0124588
2010-07-15 18:39 tilghman Status assigned => closed
2010-07-15 18:39 tilghman Resolution reopened => fixed
======================================================================
More information about the asterisk-bugs
mailing list