[mercury-users] Problem installing with grade java

Holger Krug hkrug at rationalizer.com
Thu Jul 12 23:42:26 AEST 2001


I tried to install Mercury with grade java enabled, but got an error.

I made the following steps:

$ tar zxf mercury-compiler-0.10.1.tar.gz
$ cd mercury-compiler-0.10.1
$ ./configure --enable-libgrades="none,asm_fast,asm_fast.gc,asm_fast.gc.memprof,asm_fast.gc.prof,asm_fast.gc.tr,asm_fast.gc.tr.debug,asm_fast.prof,hlc.gc,hlc.par.gc,java"
$ make
$ make install
resulting in the error output appended at the end of this mail.

Can anybody help me to get Mercury's Java support installed ?

If necessary I can provide further logs (about 34 KByte after compression
with bzip2).

Appreciate any help.

-- 
Holger Krug
hkrug at rationalizer.com


=============================
$cat make_install.log
=============================
...
MAKEFLAGS=""; export MAKEFLAGS; \
make   -j1 GRADE=hl \
	GC_GRADE=nogc \
	libnogc.a libnogc.so \
	so
...
MERCURY_ALL_C_INCL_DIRS=" -I../runtime -I../boehm_gc -I../boehm_gc/include " ../scripts/mgnuc  --grade hl     --no-ansi    -g     -c mercury_type_info.c -o mercury_type_info.o
In file included from mercury_type_info.c:19:
mercury_heap.h: In function `MR_create1':
mercury_heap.h:209: warning: implicit declaration of function `GC_MALLOC'
In file included from mercury_type_info.c:63:
mercury_make_type_info_body.h: In function `MR_create_type_info_maybe_existq':
mercury_make_type_info_body.h:106: warning: implicit declaration of function `MR_ENGINE'
mercury_make_type_info_body.h:106: `fake_reg' undeclared (first use in this function)
mercury_make_type_info_body.h:106: (Each undeclared identifier is reported only once
mercury_make_type_info_body.h:106: for each function it appears in.)
mercury_make_type_info_body.h:106: subscripted value is neither array nor pointer
mercury_make_type_info_body.h:106: subscripted value is neither array nor pointer
mercury_make_type_info_body.h:106: warning: implicit declaration of function `MR_heap_overflow_check'
make[2]: *** [mercury_type_info.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/tmp/mercury-compiler-0.10.1/runtime«
Cleaning up from apparent failed install in `./boehm_gc'...
Done.
Cleaning up from apparent failed install in `./browser'...
Done.
Cleaning up from apparent failed install in `./library'...
Done.
Cleaning up from apparent failed install in `./runtime'...
Done.
Cleaning up from apparent failed install in `./trace'...
Done.
make[1]: *** [install_grades] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/tmp/mercury-compiler-0.10.1«

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