This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Why is malloc being defined as rpl_malloc ??
- From: Jim Meyering <jim at meyering dot net>
- To: "Dr. David Kirkby" <drkirkby at ntlworld dot com>
- Cc: "autoconf at gnu dot org" <autoconf at gnu dot org>
- Cc: automake <automake at gnu dot org>
- Date: Mon, 05 May 2003 16:36:57 +0200
- Subject: Re: Why is malloc being defined as rpl_malloc ??
- References: <3EB45765.BB5CC8EA@ntlworld.com>
"Dr. David Kirkby" <drkirkby@ntlworld.com> wrote:
...
> I'm now trying to run the script on a 64-bit Dec Alpha (Digital
> Personal Workstation 600a to be precise) running HP/Compaq's Tru64
> operating system. The build process fails with:
>
> ld:
> Unresolved:
> rpl_malloc
That happens when you use AC_FUNC_MALLOC (and it finds it needs to use
rpl_malloc), and a later configure-time link-test (or run-test) uses
malloc without preceding that use with `#undef malloc'.
Please let us know which macro contains the offending use of malloc.