[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is malloc being defined as rpl_malloc ??

From: Dr. David Kirkby
Subject: Why is malloc being defined as rpl_malloc ??
Date: Sun, 04 May 2003 00:57:25 +0100

I have a configure script that runs okay on the following systems,
which while quite varied in OS, are a bit Sun biased. 

1) A 32-bit PC running Redhat Linux
2) A 32-bit Sun running Solaris 2.5
3) A 64-bit Sun Ultra 80 running Solaris 9
4) A 32-bit Sun running NetBSD
5) A 32-bit Sun running OpenBSD
6) A 32-bit Sun running running Debian Linux
7) A 32-bit Sun running Redhat Linux.

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:


There is no call to rpl_malloc in the code, but I noticed that the
command line to cc,:

Clearly malloc is being redefined as something else, which is then not
avaialble to be linked in. Has anyone any ideas why this is happening
? config.log show:

-DPACKAGE_VERSION=\"4.3.0\" -DPACKAGE_STRING=\"atlc\ 4.3.0\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"atlc\"
-Dmalloc=rpl_malloc -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRTOL=1 '

#define malloc rpl_malloc

Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]