[mercury-users] linking

Ralph Becket rbeck at microsoft.com
Wed Oct 27 22:08:07 AEST 1999


When in doubt, do an mmake clean before recompiling.  In my experience,
linking problems usually (90%) turn up when you've changed the compilation
grade, but forget to issue an mmake clean afterwards.  I think the latest
rotd gives you a nicer error message to this effect.

Ralph

> I am getting the following error when attempting to compile 
> either with
> GRADEFLAGS = --debug, or with C2INITFLAGS and MLFLAGS set to 
> --trace and
> MCFLAGS-<module> set to --trace deep
> 
> Undefined                       first referenced
>  symbol                             in file
> mercury__f_matrix__init             Mercury/os/partb_init.o
> ld: fatal: Symbol referencing errors. No output written to partb
> collect2: ld returned 1 exit status
> gmake: *** [partb] Error 1
--------------------------------------------------------------------------
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