[asterisk-bugs] [Asterisk 0011362]: [patch] Error compiling chan_h323 with DEBUG_THREADS

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Nov 24 07:59:05 CST 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=11362 
====================================================================== 
Reported By:                Laureano
Assigned To:                rizzo
====================================================================== 
Project:                    Asterisk
Issue ID:                   11362
Category:                   Channels/chan_h323
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89539 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             11-23-2007 23:02 CST
Last Modified:              11-24-2007 07:59 CST
====================================================================== 
Summary:                    [patch] Error compiling chan_h323 with DEBUG_THREADS
Description: 
Trying to compile chan_h323 with DEBUG_THREADS compiler flag activated
produce the following error:
   [CC] chan_h323.c -> chan_h323.o
chan_h323.c: In function "cleanup_connectionâ:
chan_h323.c:2361: error: "struct ast_channel" has no member named "lock"
chan_h323.c:2361: error: "struct ast_channel" has no member named "lock"
chan_h323.c:2361: error: "struct ast_channel" has no member named "lock"
chan_h323.c:2361: error: "struct ast_channel" has no member named "lock"
chan_h323.c:2361: error: "struct ast_channel" has no member named "lock"
make[1]: *** [chan_h323.o] Error 1
make: *** [channels] Error 2

chan_h323 references to the lock structure, which has been renamed to
lock_dont_use.

I think that the options are:
1) Delete the references to ast_mutex primitives and leave only the
debugging message on line number 2361 to avoid accesing the ast_mutex
primitives (as suggested on revision 89293).
2) Apply the uploaded patch.

All suggestions are welcome.

Disclaimer on file.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-24-07 07:59  rizzo          Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list