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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 23 23:17:34 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
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:              
====================================================================== 
Date Submitted:             11-23-2007 23:02 CST
Last Modified:              11-23-2007 23:17 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-23-07 23:17  Corydon76      Status                   new => assigned     
11-23-07 23:17  Corydon76      Assigned To               => rizzo           
======================================================================




More information about the asterisk-bugs mailing list