[m-dev.] samples/cplusplus_calls_mercury broken

Ian MacLarty maclarty at cs.mu.OZ.AU
Fri Apr 8 14:16:50 AEST 2005


When building samples/cplusplus_calls_mercury I get the following error:

mmake depend
mmc --generate-dependencies --grade asm_fast.gc          mercury_main
maclarty at swordfish:/home/jupiter/maclarty/ws20/samples/c_interface/cplusplus_calls_mercury> mmake
mmc --compile-to-c --grade asm_fast.gc          cpp_main_int > cpp_main_int.err 2>&1
mmc --compile-to-c --grade asm_fast.gc          mercury_lib > mercury_lib.err 2>&1
mmc --make-interface --grade asm_fast.gc          cpp_main_int
mmc --make-interface --grade asm_fast.gc          mercury_lib
mmc --compile-to-c --grade asm_fast.gc          mercury_main > mercury_main.err 2>&1
mgnuc --grade asm_fast.gc     -g   --      -c cpp_main_int.c -o cpp_main_int.o
mgnuc --grade asm_fast.gc     -g   --      -c mercury_lib.c -o mercury_lib.o
mgnuc --grade asm_fast.gc     -g   --      -c mercury_main.c -o mercury_main.o
mgnuc --grade asm_fast.gc     -g   --      -c mercury_main_init.c -o mercury_main_init.o
mgnuc --grade asm_fast.gc     -g   --      -DMR_MACHDEPS_ALPHA_REGS_H -DMR_MACHDEPS_MIPS_REGS_H -DMR_MACHDEPS_SPARC_REGS_H -DMR_MACHDEPS_I386_REGS_H -DMR_MACHDEPS_PA_REGS_H -DMR_MACHDEPS_RS6000_REGS_H -g -c cpp_main.cc
In file included from /home/swordfish/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/inc/mercury_imp.h:76,
                 from cpp_main.cc:1:
/home/swordfish/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/inc/mercury_typeclass_info.h:314: conflicting
   types for `typedef struct MR_Dictionary_Struct MR_Dictionary_Struct'
/home/swordfish/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/inc/mercury_types.h:197: previous
   declaration as `struct MR_Dictionary_Struct'
gmake: *** [cpp_main.o] Error 1

Ian.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list