users-prolog
[Top][All Lists]
Advanced

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

Re: Compilation on Darwin/MacOSX


From: Lindsey Spratt
Subject: Re: Compilation on Darwin/MacOSX
Date: Thu, 29 Jan 2004 08:45:53 -0600


On Wednesday, January 28, 2004, at 09:59  AM, Alexander Diemand wrote:

Dear All

I am trying to compile some prolog programs on a Mac running Darwin/OSX(10.3).
GNU Prolog version: 1.2.16
GCC 3.3 (Apple's version)

While examples in GNU Prolog work fine, programs with native interface to
other libraries fail.
Example:

ld: obj-Darwin/pgsql.pl.o has external relocation entries in non-writable
section (__TEXT,__text) for symbols:
_strdup

The symbol "_strdup" is defined in libc but the linker cannot find it (??!!).

I compile gprolog 1.2.16 on OSX 10.3 as part of my XGP project (http://xgp.sourceforge.net/). While I've had some complicated linking issues, I haven't seen the particular problem you have. What is the exact command line you use to do the compilation?

Lindsey Spratt
http://homepage.mac.com/lspratt






reply via email to

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