[mercury-users] mmc --make and posix module

Simon Taylor stayl at cs.mu.OZ.AU
Wed May 22 16:43:46 AEST 2002


On 22-May-2002, Michael Day <mikeday at bigpond.net.au> wrote:
> ** Error: error reading file `posix.m' to generate dependencies.
> mercury_compile: can't find source for module `posix'.
> 
> When running mmc --make on a module that imports posix from the extras
> package after it has been installed. Compiling without --make works as
> normal. This is with rotd-2002-05-12; an old bug or something new?

To use a library with `mmc --make' the library must be
compiled with `--generate-mmc-deps'.

I'll improve the error message and the documentation,
and add `--generate-mmc-deps' to the MCFLAGS for the extras.

Thanks for reporting this. 

Simon.
--------------------------------------------------------------------------
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