[mercury-users] linker error

mauro_c2r@libero.it mauro_c2r at libero.it
Tue May 13 00:52:55 AEST 2003


Hi,
I have downloaded Mercury 0.11.0 on my system running Mandrake Linux 9.0
When I try to compile my first program (hello_world.m from the tutorial) the linker reports this 
error:

$ mmc -v hello_world.m
% Parsing file `hello_world' and imported interfaces...
[...]
% Linking...
% Invoking system command `ml --grade asm_fast.gc --mercury-standard-library-directory 
/usr/local/mercury-0.11.0/lib/mercury  -L/usr/local/mercury-0.11.0/lib/mercury/lib/asm_fast.
gc/i686-pc-linux-gnu -- -o hello_world hello_world_init.o hello_world.o    '...
% done.
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status

Thanks,
Mauro


--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list