[CLN-list] Linking on Mac OS X

Bruno Haible bruno at clisp.org
Thu Aug 19 14:17:03 CEST 2004


Darren Bane wrote:
> I've tracked it down to the fact that each object in the library has a
> _XXX_[cd]torend symbol defined module-local (i.e. nm entry prefixed by
> "s").  However, each module has an unresolved XXX_[cd]torend symbol (nm
> entry prefixed by "U"), without the underscore prefix.
>
> This is the CL_PROVIDE and CL_REQUIRE macros.  My include/cln/config.h
> has ASM_UNDERSCORE defined.  I tried to read the macro definition, but
> got lost.  Can anyone help?

The appended patch fixes it. With it, I can compile CLN (with
--enable-static and --disable-shared, to avoid the linking problems that
I got when trying to compile GMP with --enable-cxx as a shared library.)

Thanks for the report.

Bruno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cln-modules-diffs
Type: text/x-diff
Size: 3391 bytes
Desc: not available
Url : http://www.cebix.net/pipermail/cln-list/attachments/20040819/a8b126cf/cln-modules-diffs.bin


More information about the CLN-list mailing list