[mercury-users] Build error on MacOS X in hlc.gc
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Oct 31 15:35:48 AEDT 2006
On Tue, 31 Oct 2006, Michael Day wrote:
>> ld: Undefined symbols:
>> <predicate 'exception.wrap_success_or_failure'/2 mode 0>
>
> The actual link command for ld includes a reference to:
>
> .../mercury/lib/hlc.gc/libmer_std.a
>
> running nm on this library shows these symbols:
>
> 00001484 t _mercury__exception__wrap_success_or_failure_2_p_0
> 00001420 t _mercury__exception__wrap_success_or_failure_2_p_1
> 000013cc t _mercury__exception__wrap_success_or_failure_2_p_2
> 00001368 t _mercury__exception__wrap_success_or_failure_2_p_3
>
> and yet ld is still failing with this error message:
>
> ld: Undefined symbols:
> _mercury__exception__wrap_success_or_failure_2_p_0
>
> Clearly that symbol is in the library, and the library is being passed to the
> linker on the command line, so what can be the problem?
Try compiling with `--verbose-commands'. It should show you the
command it uses to invoke the linker then.
Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list