[m-dev.] /usr/bin/ld: Undefined symbols: _MR_global_pointer

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 12 15:41:39 AEST 2001


Another possible work-around for that linker problem
is linking in libmer_rt.a twice:

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.41
diff -u -d -u -r1.41 Mmakefile
--- Mmakefile	2001/01/29 06:47:17	1.41
+++ Mmakefile	2001/04/12 05:39:06
@@ -63,6 +63,7 @@
 		$(TRACE_DIR)/lib$(TRACE_LIB_NAME).$A \
 		$(BROWSER_DIR)/lib$(BROWSER_LIB_NAME).$A \
 		$(LIBRARY_DIR)/lib$(STD_LIB_NAME).$A \
+		$(RUNTIME_DIR)/lib$(RT_LIB_NAME).$A \
 		$(RUNTIME_DIR)/lib$(RT_LIB_NAME).$A ` \
 		    case $(GRADE) in \
 			*.par*.gc*.prof*) \
-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list