[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:58 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-15 14:46 svnbot         Status                   assigned => resolved
2010-07-15 14:46 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list