[mercury-users] undefined reference to `MR_grade_v1_asm_fast_tags2' ????

Marko Schuetz marko at ki.informatik.uni-frankfurt.de
Thu May 27 20:56:33 AEST 1999


>>>>> "Fergus" == Fergus Henderson <fjh at cs.mu.OZ.AU> writes:
[...]

Fergus> Hmm. I'm not sure what's going wrong here.
Fergus> That symbol is supposed to be defined in the -lmer_rt library, i.e.
Fergus> in libmer_rt.a or (if you're using shared libraries) libmer_rt.so.

Fergus> What's the output of the following commands?

Fergus> 	d=/usr/local/mercury-compiler-0.8/lib/mercury/lib/asm_fast.gc
Fergus> 	# or if you're using (t)csh
Fergus> 	# setenv d /usr/local/mercury-compiler-0.8/lib/mercury/lib/asm_fast.gc

Fergus> 	ls -l $d/i386-unknown-freebsd3.0
Fergus> 	nm $d/i386-unknown-freebsd3.0/libmer_rt.a | grep -i grade
Fergus> 	nm $d/i386-unknown-freebsd3.0/libmer_rt.so | grep -i grade

kind% d=/usr/local/mercury-compiler-0.8/lib/mercury/lib/asm_fast.gc
kind% ls -l $d/i386-unknown-freebsd3.0
total 3904
-rw-r--r--  1 root  wheel   122774 Feb 10 17:10 libmer_browser.a
-rwxr-xr-x  1 root  wheel   128997 Feb 10 17:10 libmer_browser.so
-rw-r--r--  1 root  wheel   544586 Feb 10 17:10 libmer_rt.a
-rwxr-xr-x  1 root  wheel   247084 Feb 10 17:10 libmer_rt.so
-rw-r--r--  1 root  wheel  1273182 Feb 10 17:10 libmer_std.a
-rwxr-xr-x  1 root  wheel  1275701 Feb 10 17:10 libmer_std.so
-rw-r--r--  1 root  wheel   192916 Feb 10 17:10 libmer_trace.a
-rwxr-xr-x  1 root  wheel   116930 Feb 10 17:10 libmer_trace.so
kind% nm $d/i386-unknown-freebsd3.0/libmer_rt.a | grep -i grade
mercury_grade.o:
00000000 R MR_grade_v1_asm_fast_gc_tags2
00000001 R MR_runtime_grade
kind% nm $d/i386-unknown-freebsd3.0/libmer_rt.so | grep -i grade
0000c4f1 R MR_grade_v1_asm_fast_gc_tags2_picreg
0000c4f2 R MR_runtime_grade
kind% 

Marko
--------------------------------------------------------------------------
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