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

Marko Schuetz marko at ki.informatik.uni-frankfurt.de
Thu May 27 19:06:34 AEST 1999


>>>>> "Warwick" == Warwick HARVEY <warwick at cs.mu.OZ.AU> writes:

[...]

Warwick> If the above doesn't work, then start by sending us a

It didn't.

Warwick> transcript of the complete build process (preferably after an
Warwick> `mmake realclean' just to be sure), rather than just the
Warwick> final link stage which you sent this time.

kind% mmake hello_world.depend
mmc --generate-dependencies    hello_world
kind% mmake hello_world       
rm -f hello_world.c
mmc --compile-to-c --grade asm_fast.gc       hello_world.m > hello_world.err 2>&1
mgnuc --grade asm_fast.gc           -c hello_world.c -o hello_world.o
c2init --grade asm_fast.gc       hello_world.c > hello_world_init.c
mgnuc --grade asm_fast.gc           -c hello_world_init.c -o hello_world_init.o
ml --grade asm_fast.gc       -o hello_world hello_world_init.o \
        hello_world.o    
hello_world.o(.rodata+0x10): undefined reference to `MR_grade_v1_asm_fast_gc_tags2'
gmake: *** [hello_world] Error 1

Adding -v:

kind% ml --grade asm_fast.gc  -v     -o hello_world hello_world_init.o \ 
        hello_world.o                                                                                               ml: using grade `asm_fast.gc'
gcc -s -L/usr/local/mercury-compiler-0.8/lib/mercury/lib/asm_fast.gc/i386-unknown-freebsd3.0 -L/usr/local/mercury-compiler-0.8/lib/mercury/lib/i386-unknown-freebsd3.0 -R/usr/local/mercury-compiler-0.8/lib/mercury/lib/asm_fast.gc/i386-unknown-freebsd3.0 -R/usr/local/mercury-compiler-0.8/lib/mercury/lib/i386-unknown-freebsd3.0 -o hello_world hello_world_init.o hello_world.o -lmer_trace -lmer_browser -lmer_std -lmer_rt -lgc -lm |
mdemangle
hello_world.o(.rodata+0x10): undefined reference to `MR_grade_v1_asm_fast_gc_tags2'


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