[syslinux] malloc in libcom32 broken?

Jeff Kalikstein jeff at kalikstein.com
Wed Dec 8 11:20:54 PST 2004


This is still not working for me.  I see extern size_t
__stack_size in malloc.c, and size_t stack_size in
stack.o, but no __stack_size.  I am not entirely
familiar with the name mangling conventions of gcc,
though.
 
--- "H. Peter Anvin" <hpa at zytor.com> wrote:

> Jeff Kalikstein wrote:
> 
> > I get a link error when trying to call malloc from
> > libcom32.  I tried to simplify the case by adding
> the
> > malloc to the sample hello.c in the modules
> directory,
> > but I still get the following error:
> > 
> 
> Okay, verified; stack.o is missing from
> com32/lib/Makefile.  Just add 
> stack.o to the list of objects and everything
> *should* work...
> 
> 




More information about the Syslinux mailing list