replacement of talloc
ab at samba.org
Thu Jul 19 14:18:08 MDT 2012
On Thu, Jul 19, 2012 at 7:48 PM, akib sayyed <mailing.akib at gmail.com> wrote:
> i am compiling using gnutoolchain to compile my code. and error is not
> while compiling its while linking
So it has missing symbols, most likely in form of malloc and free.
Your setup is basically a single statically linked program. You would
need to implement memory management on your own. This is actually
easier to be done with talloc as you can simply use a single talloc
pool internally that hands out memory out of a single raw memory
chunk. Since talloc already hides malloc use from the original program
you would need to rewrite few places within talloc where memory is
> On Thu, Jul 19, 2012 at 9:55 PM, Alexander Bokovoy <ab at samba.org> wrote:
>> On Thu, Jul 19, 2012 at 7:21 PM, akib sayyed <mailing.akib at gmail.com>
>> > yes it does run calypso but only some part is ran on actual calypso and
>> > actual main part in ran on pc
>> > in other words layer 1 is ran on calypso and l2 l3 are on host pc.
>> > i want to port l2 l3 on calypso
>> I don't think you'll get any success in 256KiB of memory there. But good
>> Is there any specific error when compiling talloc?
/ Alexander Bokovoy
More information about the samba-technical