[Asterisk-bugs] [Asterisk 0010145]: Asterisk wont compile anymore

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 7 07:14:06 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10145 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10145
Category:                   Utilities/aelparse
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 73817 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-07-2007 06:46 CDT
Last Modified:              07-07-2007 07:14 CDT
====================================================================== 
Summary:                    Asterisk wont compile anymore
Description: 
After running svn update asterisk is no longer compiling. Here's the
error:
   [LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o
ast_expr2.o strcompat.o -> aelparse
aelbison.o(.text+0x128f): In function `ael_yyparse':
/home/michiel/dev/personal/asterisk/asterisk-trunk/utils/ael.y:450:
warning: strcpy() is almost always misused, please use strlcpy()
pbx_ael.o(.text+0x4ab2): In function `pbx_load_module':
/home/michiel/dev/personal/asterisk/asterisk-trunk/utils/pbx_ael.c:4097:
warning: sprintf() is often misused, please use snprintf()
aelbison.o(.text+0x129c): In function `ael_yyparse':
/home/michiel/dev/personal/asterisk/asterisk-trunk/utils/ael.y:451:
warning: strcat() is almost always misused, please use strlcat()
ast_expr2.o(.text+0x2555): In function `op_func':
/home/michiel/dev/personal/asterisk/asterisk-trunk/utils/ast_expr2.y:385:
undefined reference to `exp2'
ast_expr2.o(.text+0x27c0):/home/michiel/dev/personal/asterisk/asterisk-trunk/utils/ast_expr2.y:385:
undefined reference to `log2'
collect2: ld returned 1 exit status
gmake[1]: *** [aelparse] Error 1
gmake: *** [utils] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 07-07-07 07:14  
---------------------------------------------------------------------- 
No idea what the functions EXPR2 and LOG2 are used for but the uploaded
patch removes them and makes asterisk compile again 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-07 07:14  mvanbaak       Note Added: 0066729                          
======================================================================




More information about the Asterisk-bugs mailing list