[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:56:12 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
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-24-2007 07:56 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.
====================================================================== 

---------------------------------------------------------------------- 
 rizzo - 11-24-07 07:56  
---------------------------------------------------------------------- 
thanks for the report. For the time being i simply removed the extra
information, and put a note on how it should be put back in. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-24-07 07:56  rizzo          Note Added: 0074262                          
======================================================================




More information about the asterisk-bugs mailing list