On Tue, 7 Dec 2004, Scott Klement wrote:

This appears to be caused by the AC_FUNC_MALLOC macro in configure.ac.

Try:
 a) editing configure.ac
 b) comment-out the AC_FUNC_MALLOC line, and
 c) re-run ./autogen.sh and ./configure

Please let us know if that solves the problem.

I'm not sure if we should do this. The autoconf manual section on Particular Function Checks says:


"If the malloc function is compatible with the GNU C library malloc (i.e., `malloc (0)' returns a valid pointer), define HAVE_MALLOC to 1. Otherwise define HAVE_MALLOC to 0, ask for an AC_LIBOBJ replacement for `malloc', and define malloc to rpl_malloc so that the native malloc is not used in the main project."

http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC46

Apparently solaris doesn't have this behaviour so autoconf is correctly trying to redefine malloc to a portable version. The manual also has the code for the portable malloc so I'll just put that together and make another tarball to try.

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.