[Buildroot] malloc/rpl_malloc
Jason Valenzuela
jvalenzuela at dspfl.com
Wed May 21 15:56:55 UTC 2008
I'm trying to compile some packages of my own and am coming up with some
problems at link time with the malloc function. According to the uclibc
FAQ, MALLOC_GLIBC_COMPAT should be enabled in order for the configure
script not to define malloc() to rpl_malloc(). I went to the
toolchain_build_ARCH/uClibc-0.9.29 and did a 'make menuconfig'. This
option under 'General Library Settings->Malloc returns live pointer for
malloc(0)' was indeed enabled, causing me to believe that the uclibc in
my buildroot toolchain is already correctly set.
Now going back to the build_ARCH/MY_PACKAGE directory and checking the
config.h, HAVE_MALLOC has been defined as 0 and the results in
config.log shows that the configure script didn't think malloc() was
compatible with the GNU libc version.
Jason Valenzuela
More information about the buildroot
mailing list