[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:09:52 CDT 2008
A NOTE has been added to this issue.
======================================================================
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: closed
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:09 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
======================================================================
----------------------------------------------------------------------
svnbot - 05-29-08 07:09
----------------------------------------------------------------------
Repository: asterisk
Revision: 118912
_U branches/1.6.0/
------------------------------------------------------------------------
r118912 | seanbright | 2008-05-29 07:09:49 -0500 (Thu, 29 May 2008) | 14
lines
Blocked revisions 118911 via svnmerge
........
r118911 | seanbright | 2008-05-29 08:12:07 -0400 (Thu, 29 May 2008) | 7
lines
Avoid build warning when execinfo.h isn't available.
(closes issue http://bugs.digium.com/view.php?id=12751)
Reported by: ys
Patches:
check_expr.diff uploaded by ys (license 281)
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=118912
Issue History
Date Modified Username Field Change
======================================================================
05-29-08 07:09 svnbot Checkin
05-29-08 07:09 svnbot Note Added: 0087491
======================================================================
More information about the asterisk-bugs
mailing list