[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking gprolog libraries using GCC
From: |
Fergus Henderson |
Subject: |
Re: linking gprolog libraries using GCC |
Date: |
Thu, 22 Aug 2002 15:21:31 +1000 |
User-agent: |
Mutt/1.4i |
On 21-Aug-2002, address@hidden <address@hidden> wrote:
>
> I just encountered what might be a related problem--I am linking gprolog
> in with additional libraries beyond those that 'gplc' uses and one of
> them ( the Mac OS X Foundation Framework, I think) already has a
> function named Allocate. I renamed gprolog's Allocate to AllocateGP (and
> rebuilt) and it all worked. So far.
This should be considered a bug in both GNU Prolog and the Mac OS X
Foundation Framework. Libraries written in C should prefix all their
names with a (hopefully unique) prefix associated with the library name.
--
Fergus Henderson <address@hidden> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.