[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 14:46:57 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17644
======================================================================
Reported By: pprindeville
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17644
Category: Functions/func_env
Reproducibility: always
Severity: major
Priority: normal
Status: new
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:
======================================================================
Date Submitted: 2010-07-14 14:00 CDT
Last Modified: 2010-07-15 14:46 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
======================================================================
----------------------------------------------------------------------
(0124580) svnbot (reporter) - 2010-07-15 14:46
https://issues.asterisk.org/view.php?id=17644#c124580
----------------------------------------------------------------------
Repository: asterisk
Revision: 276769
U trunk/configure
U trunk/configure.ac
U trunk/include/asterisk/autoconfig.h.in
U trunk/include/asterisk/compat.h
------------------------------------------------------------------------
r276769 | tilghman | 2010-07-15 14:46:57 -0500 (Thu, 15 Jul 2010) | 5
lines
Define LLONG_MAX on systems that do not have it.
(closes issue https://issues.asterisk.org/view.php?id=17644)
Reported by: pprindeville
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=276769
Issue History
Date Modified Username Field Change
======================================================================
2010-07-15 14:46 svnbot Checkin
2010-07-15 14:46 svnbot Note Added: 0124580
======================================================================
More information about the asterisk-bugs
mailing list