[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X port of CLN
From: |
Richard B. Kreckel |
Subject: |
Re: Mac OS X port of CLN |
Date: |
Sun, 22 Feb 2004 17:19:18 -0600 |
Hi!
On Fri, 20 Feb 2004, Paul Kienzle wrote:
> The symbol _R is causing problems. Some header must be
> defining it as a constant. I've replace _R with inR in:
>
> modinteger/*.h
> numtheory/cl_nt_sqrtmodp.cc
That's fixed along with the missing random source implementation in
CLN-1.1.6.
> Now all the source compiles, but link fails with:
>
> d: cl_prin_globals.lo has external relocation entries in non-writable
> section (__TEXT,__StaticInit) for symbols:
> cl_module__cl_prin_globals__dtorend
> cl_module__cl_prin_globals__ctorend
> /usr/bin/libtool: internal link edit command failed
>
> Looking into this I've come across CL_PROVIDE and CL_PROVIDE_END
> which appear to require assembler and which are not defined for _ppc_.
> Somebody else will have to tackle this one.
Sure they are defined for __ppc__, see include/cln/modules.h. Anyway, it
works on Linux on PPC. The problem is with the linker on OS X. As I
mentioned, somebody with good knowledge of the linker needs to fix this.
Hoping...
-richy.
--
Richard B. Kreckel
<http://www.ginac.de/~kreckel/email.html>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------