[mercury-users] cannot link tomercury std libs

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Nov 13 21:46:29 AEDT 2011


On Sun, 13 Nov 2011, Francis (Grizzly) Smit wrote:

> I get the following :
>
>
> grizzlysmit at pern:~/download/mercury/beta/mercury-extras-11.07-beta-2011-11-04/references$ 
> mmake
> /tmp/mmake.RTIBjl:683: warning: undefined variable `DESTDIR'
> ml --mercury-libs shared --make-shared-lib --grade asm_fast.gc --use-trail 
> --     -o libglobal.so \
>        global.pic_o nb_reference.pic_o reference.pic_o scoped_update.pic_o \
>
> /usr/bin/ld: cannot find -lmer_std
> /usr/bin/ld: cannot find -lmer_rt
> collect2: ld returned 1 exit status
> make: *** [libglobal.so] Error 1

Is the asm_fast.gc.tr grade installed?  (The overall effect of --grade
asm_fast.gc and --use-trail will be to require the use of that grade.)

You can ask the compiler to list the installed grades using:

    $ mmc --output-libgrades

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