|
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 AllI 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 toother libraries fail. Example:ld: obj-Darwin/pgsql.pl.o has external relocation entries in non-writablesection (__TEXT,__text) for symbols: _strdupThe 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
[Prev in Thread] | Current Thread | [Next in Thread] |