[asterisk-bugs] [Asterisk 0010995]: [patch] Issues with threadstorage.c

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Oct 21 16:38:31 CDT 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10995 
====================================================================== 
Reported By:                snuffy
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10995
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 85764 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-16-2007 08:33 CDT
Last Modified:              10-21-2007 16:38 CDT
====================================================================== 
Summary:                    [patch] Issues with threadstorage.c
Description: 
This fixes a few issues with threadstorage not building, still one
remaining error listed below.

It compiles everything then throws this error about _ast_calloc() not
being found.


====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 10-21-07 16:38  
---------------------------------------------------------------------- 
Leaving this as 'ast_calloc' the compilation fails at final linking

threadstorage.o(.text+0xa4): In function
`__ast_threadstorage_object_add':
../main/threadstorage.c:57: undefined reference to `_ast_calloc'
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2


To make it compile correctly I changed ast_calloc to just calloc it then
successfully compiles 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-21-07 16:38  snuffy         Status                   closed => feedback  
10-21-07 16:38  snuffy         Resolution               fixed => reopened   
10-21-07 16:38  snuffy         Note Added: 0072324                          
======================================================================




More information about the asterisk-bugs mailing list