[mercury-users] hlc.agc for 0.13.0-beta-2006-06-29

Nicolas Pelletier nicolas.pelletier3 at free.fr
Sat Jul 1 20:04:43 AEST 2006


Hello,

I am trying to compile the mercury compiler 0.13.0-beta-2006-06-29 on a x86-linux-gnu system. My configure command line is:

CC='/usr/bin/gcc-3.4' ./configure --prefix='/opt/mercury' --enable-deep-profiler --enable-agc-grades --enable-hlc-prof-grades --enable-new-mercuryfile-struct

The configure and make steps do not report errors (although there are warnings about pointer casts and undefined variables). The make install step fails for the hlc.agc grade:

/var/tmp/mercury-compiler-0.13.0-beta-2006-06-29/tmp_dir/scripts/mgnuc --grade hlc.agc        --       -c rtti_implementation.c -o rtti_implementation.o
rtti_implementation.m: In function `mercury__rtti_implementation__get_subterm_5_f_0_100000':
rtti_implementation.m:1692: error: `mercury__rtti_implementation__TypeInfo_for_T_11' undeclared (first use in this function)
rtti_implementation.m:1692: error: (Each undeclared identifier is reported only once
rtti_implementation.m:1692: error: for each function it appears in.)
rtti_implementation.m: In function `mercury__rtti_implementation__get_pti_from_arg_types_3_f_0_100000':
rtti_implementation.m:1610: error: `mercury__rtti_implementation__TypeInfo_for_T_7' undeclared (first use in this function)
make[2]: *** [rtti_implementation.o] Error 1
make[2]: Leaving directory `/var/tmp/mercury-compiler-0.13.0-beta-2006-06-29/tmp_dir/library'
To clean up from failed install, remove tmp_dir
make[1]: *** [install_grades] Error 1
make[1]: Leaving directory `/var/tmp/mercury-compiler-0.13.0-beta-2006-06-29'
make: *** [install] Error 2

For the record, I am attaching the compressed compilation log.

Did I attempt something foolish, or is it a known problem ?

Thanks in advance for your answers,

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