|Summary:||ASTERISK-04599: Solaris res_agi failed to find __ast_malloc symbol|
|Reporter:||Lee Essen (essele)||Labels:|
|Date Opened:||2005-07-15 05:24:17||Date Closed:||2005-07-15 18:00:18|
|Description:||The res_agi code specifically includes astmm.h, but for some reason the resultant library failed to find the __ast_malloc routine and causes asterisk to exit whenever attempting to execute agi.|
I believe the include of astmm.h is in there to solve the lack of a vasprintf function on Solaris, but this has already been worked around in a different way in the cli.c code.
I would suggest a macro definition for Solaris, but another workaround is to do the same as in cli.c -- I have tested this and it works fine.
|Comments:||By: Kevin P. Fleming (kpfleming) 2005-07-15 17:59:58|
I've committed a fix for this to CVS HEAD, but don't have a Solaris machine to build on for testing. Please test it and let me know the results (if it still has problems, reopen the bug). Thanks!