[Home]

Summary:ASTERISK-11387: Compilation failed with malloc debug
Reporter:snuffy (snuffy)Labels:
Date Opened:2008-02-06 02:37:29.000-0600Date Closed:2008-02-06 09:43:49.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) v1-11936.patch
Description:   [CC] global_datastores.c -> global_datastores.o
In file included from /home/snuffy/1.4-asterisk/include/asterisk/linkedlists.h:23,
                from /home/snuffy/1.4-asterisk/include/asterisk/frame.h:37,
                from /home/snuffy/1.4-asterisk/include/asterisk/channel.h:110,
                from /home/snuffy/1.4-asterisk/include/asterisk/global_datastores.h:27,
                from global_datastores.c:26:
/home/snuffy/1.4-asterisk/include/asterisk/lock.h: In function `ast_mutex_lock':
/home/snuffy/1.4-asterisk/include/asterisk/lock.h:701: error: `mtx_prof' undeclared (first use in this function)
/home/snuffy/1.4-asterisk/include/asterisk/lock.h:701: error: (Each undeclared identifier is reported only once
/home/snuffy/1.4-asterisk/include/asterisk/lock.h:701: error: for each function it appears in.)
make[1]: *** [global_datastores.o] Error 1
make: *** [main] Error 2
Comments:By: Dmitry Andrianov (dimas) 2008-02-06 03:51:22.000-0600

please check if attached patch fixes the problem

By: Digium Subversion (svnbot) 2008-02-06 09:40:34.000-0600

Repository: asterisk
Revision: 102653

U   branches/1.4/main/global_datastores.c

------------------------------------------------------------------------
r102653 | file | 2008-02-06 09:40:33 -0600 (Wed, 06 Feb 2008) | 4 lines

Add missing header file and ASTERISK_FILE_VERSION usage.
(closes issue ASTERISK-11387)
Reported by: snuffy

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=102653

By: Digium Subversion (svnbot) 2008-02-06 09:43:49.000-0600

Repository: asterisk
Revision: 102654

_U  trunk/

------------------------------------------------------------------------
r102654 | file | 2008-02-06 09:43:48 -0600 (Wed, 06 Feb 2008) | 11 lines

Blocked revisions 102653 via svnmerge

........
r102653 | file | 2008-02-06 11:43:38 -0400 (Wed, 06 Feb 2008) | 4 lines

Add missing header file and ASTERISK_FILE_VERSION usage.
(closes issue ASTERISK-11387)
Reported by: snuffy

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=102654