[m-dev.] /usr/bin/ld: Undefined symbols:_MR_global_pointer _GC_register_dynamic_libraries ___data_start __end _data_start

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Apr 9 22:00:35 AEST 2001


On 30-Apr-2001, Terrence Brannon <princepawn at earthlink.net> wrote:
> On Mac OS X, in what appears to be the final link state, I get some undefined symbols:
> /usr/bin/ld: Undefined symbols:
> _MR_global_pointer
> _GC_register_dynamic_libraries
> ___data_start
> __end
> _data_start

The last four all look like problems with the Boehm collector.
Try `make test' in the boehm_gc directory.

`MR_global_pointer' is supposed to be defined in runtime/mercury_dummy.o,
which should get linked into runtime/libmer_rt.a.
Try `nm' on runtime/mercury_dummy.o.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list