[mercury-users] Intermittent problems with building Mercury

Jonathan Morgan jonmmorgan at gmail.com
Wed Feb 1 15:24:10 AEDT 2006


I have had problems under Cygwin compiling both 0.12.0 and 0.12.2, but not
0.12.1 (see error message below).  These problems first cropped up after I
had installed 0.12.0, and then extracted a clean copy to a different place
to test the IL backend.  The clean copy came up with these problems, but a
copy of the directory I had installed from always worked, even after running
mmake clean.  0.12.1 was fine, but these problems have come up again with
0.12.2.  What do I do about it?

make[1]: Entering directory `/installs/mercury-compiler-0.12.2'
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=.
MMAKE_DIR=../scripts ../scripts/mmake
make[2]: Entering directory `/installs/mercury-compiler-0.12.2/scripts'
make[2]: Nothing to be done for `default_target'.
make[2]: Leaving directory `/installs/mercury-compiler-0.12.2/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts
../scripts/mmake
make[2]: Entering directory `/installs/mercury-compiler-0.12.2/util'
../scripts/mgnuc --grade asm_fast.gc  --no-mercury-stdlib-dir   --
-I../runtime -O0     -o info_to_mdb info_to_mdb.c
In file included from ../runtime/mercury_regs.h:85,
                 from ../runtime/mercury_std.h:21,
                 from info_to_mdb.c:21:
../runtime/machdeps/i386_regs.h:47: global register variable follows a
function definition
../runtime/machdeps/i386_regs.h:48: global register variable follows a
function definition
../runtime/machdeps/i386_regs.h:56: global register variable follows a
function definition
make[2]: *** [info_to_mdb] Error 1
make[2]: Leaving directory `/installs/mercury-compiler-0.12.2/util'
make[1]: *** [util] Error 2
make[1]: Leaving directory `/installs/mercury-compiler-0.12.2'

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20060201/cb278e35/attachment.html>


More information about the users mailing list