[asterisk-bugs] [Asterisk 0012751]: [patch] failed to compile trunk - utils/check_expr: ast_bt_get_addresses()

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 29 07:05:51 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12751 
====================================================================== 
Reported By:                ys
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   12751
Category:                   Utilities/check_expr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 118910 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-29-2008 07:00 CDT
Last Modified:              05-29-2008 07:05 CDT
====================================================================== 
Summary:                    [patch] failed to compile trunk - utils/check_expr:
ast_bt_get_addresses()
Description: 
I failed to compile trunk, but function ast_bt_get_addresses() must be
defined only, if HAVE_BKTR is set.

.....

gcc -o check_expr.o -c check_expr.c -D_THREAD_SAFE -pthread
-I/usr/home/asterisk/src/asterisk/include  -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g3 -include
/usr/home/asterisk/src/asterisk/include/asterisk/autoconfig.h -Werror
-Wunused -Wundef -Wdeclaration-after-statement -Wmissing-format-attribute
-Wformat-security  -I/usr/local/include -march=i386   -MD -MT check_expr.o
-MF .check_expr.o.d -MP
check_expr.c:126: warning: "struct ast_bt" declared inside parameter list
check_expr.c:126: warning: its scope is only this definition or
declaration, which is probably not what you want
check_expr.c:127: warning: "struct ast_bt" declared inside parameter list
check_expr.c:128: error: conflicting types for 'ast_bt_get_addresses'
check_expr.c:126: error: previous declaration of 'ast_bt_get_addresses'
was here
check_expr.c:128: error: conflicting types for 'ast_bt_get_addresses'
check_expr.c:126: error: previous declaration of 'ast_bt_get_addresses'
was here
gmake[1]: *** [check_expr.o] Error 1
gmake[1]: Leaving directory `/usr/home/asterisk/src/asterisk/utils'
gmake: *** [utils] Error 2

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-29-08 07:05  svnbot         Status                   assigned => resolved
05-29-08 07:05  svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list