[mercury-users] Problem compiling mercury compiler on AIX 5.3

Degauquier Yves yves.degauquier at winterthur.be
Wed Feb 8 20:21:10 AEDT 2006


Hi,

I'm trying to compile the mercury compliler (0.12.2) on aix 5.3 ML03.

I'm using:
	-gcc 3.3.2 (latest rpm from AIX toolbox)
	-gmake 3.80 (latest rpm from AIX toolbox)

The configure step seems to be correct, but the make fails with:

ar cr   \
	libmer_rt.a mercury.o mercury_accurate_gc.o mercury_agc_debug.o
mercury_bootstrap.o mercury_builtin_types.o mercury_construct.o
mercury_context.o mercury_debug.o mercury_deconstruct.o mercury_deep_copy.o
mercury_deep_profiling.o mercury_dlist.o mercury_dummy.o mercury_engine.o
mercury_file.o mercury_float.o mercury_getopt1.o mercury_getopt.o
mercury_grade.o mercury_hash_table.o mercury_heap_profile.o
mercury_ho_call.o mercury_label.o mercury_layout_util.o mercury_memory.o
mercury_memory_handlers.o mercury_memory_zones.o mercury_minimal_model.o
mercury_misc.o mercury_mm_own_stacks.o mercury_prof.o
mercury_profiling_builtin.o mercury_prof_mem.o mercury_prof_time.o
mercury_regs.o mercury_reg_workarounds.o mercury_runtime_util.o
mercury_signal.o mercury_stacks.o mercury_stack_trace.o mercury_string.o
mercury_tabling.o mercury_term_size.o mercury_thread.o mercury_timing.o
mercury_trace_base.o mercury_trace_term.o mercury_trail.o
mercury_type_desc.o mercury_type_info.o mercury_type_tables.o
mercury_wrapper.o
ranlib libmer_rt.a
gmake[2]: Leaving directory
`/usr/local/Applications/MAS/tools/src/mercury-compiler-0.12.2/runtime'
cd robdd && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts
../scripts/mmake 
gmake[2]: Entering directory
`/usr/local/Applications/MAS/tools/src/mercury-compiler-0.12.2/robdd'
/tmp/mmake348170-0/mmake:1136: warning: undefined variable `EXTRAOPTS'
../scripts/mgnuc --grade reg.gc      --no-mercury-stdlib-dir   -- -DNDEBUG
-DNEW -DCLEAR_CACHES -DCOMPUTED_TABLE -DEQUAL_TEST -DUSE_ITE_CONSTANT
-DRESTRICT_SET  -Wall  -I../browser -I../library -I../runtime -I../boehm_gc
-I../boehm_gc/include    -c bryant.c -o bryant.o
In file included from ../runtime/mercury_heap.h:19,
                 from ../runtime/mercury_string.h:12,
                 from ../runtime/mercury_imp.h:51,
                 from bryant.c:107:
../runtime/mercury_reg_workarounds.h:62: error: parse error before '*' token
../runtime/mercury_reg_workarounds.h:62: warning: function declaration isn't
a prototype
gmake[2]: *** [bryant.o] Error 1
gmake[2]: Leaving directory
`/usr/local/Applications/MAS/tools/src/mercury-compiler-0.12.2/robdd'
gmake[1]: *** [robdd] Error 2
gmake[1]: Leaving directory
`/usr/local/Applications/MAS/tools/src/mercury-compiler-0.12.2' 

I have the full log of the configure and the make steps.

Is there someone who can help me?

Thanks in advance,
Yves

______________________________________________


Winterthur-Europe Insurance - VAT BE 0403.290.168 RPM/RPR BRUSSELS.
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. 
The integrity and security of this message cannot be guaranteed on the Internet.



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