[asterisk-dev] Unable to compile asterisk with MALLOC_DEBUG

Dennis Buteyn dennis.buteyn at xorcom.com
Tue May 28 02:44:55 CDT 2019


I checked out a fresh copy of 13.27, enabled MALLOC_DEBUG and compiled 
Asterisk successfully.

Perhaps your buildroot is not clean? Try make distclean?

Dennis Buteyn
Xorcom Ltd

On 5/27/19 7:54 PM, bala murugan wrote:
> i tried with asterisk 13 and still the same behaviour
>
> On Sun, May 26, 2019 at 2:31 PM bala murugan <fightwithme at gmail.com 
> <mailto:fightwithme at gmail.com>> wrote:
>
>     Understood , I hope this basic should still work on 12 .
>
>     Upgrade is not an Option for me just because of this .
>
>     On Sun, May 26, 2019 at 3:09 AM Jared Smith
>     <jaredsmith at jaredsmith.net <mailto:jaredsmith at jaredsmith.net>> wrote:
>
>         You do realize that Asterisk 12.x is past it's End of Life,
>         and is no longer receiving security updates or bug fixes,
>         right?  You should try with the latest 13.x or 16.x release.
>
>         -Jared
>
>         On Sat, May 25, 2019 at 3:34 PM bala murugan
>         <fightwithme at gmail.com <mailto:fightwithme at gmail.com>> wrote:
>
>             Hi  ,
>
>             I am trying to compile asterisk12 with MALLOC_DEBUG , it
>             always fails with below
>
>             ael.flex: In function 'ael_yyfree':
>
>             ael.flex:667: error: lvalue required as left operand of
>             assignment
>
>             ast_expr2.fl: In function 'ast_yyfree':
>
>             ast_expr2.fl:255: error: lvalue required as left operand
>             of assignment
>
>             [CC] astfd.c -> astfd.o
>
>             make[1]: *** [ast_expr2f.o] Error 1
>
>             make[1]: *** Waiting for unfinished jobs....
>
>
>             how to fix this and compile with MALLOC_DEBUG successfully .
>
>
>             thanks,
>
>             bala
>
>             -- 
>             _____________________________________________________________________
>             -- Bandwidth and Colocation Provided by
>             http://www.api-digital.com --
>
>             asterisk-dev mailing list
>             To UNSUBSCRIBE or update options visit:
>             http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>         -- 
>         _____________________________________________________________________
>         -- Bandwidth and Colocation Provided by
>         http://www.api-digital.com --
>
>         asterisk-dev mailing list
>         To UNSUBSCRIBE or update options visit:
>         http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20190528/f08a63b2/attachment.html>


More information about the asterisk-dev mailing list