[mercury-users] install error with rotd 13-12-06 and 13.1

Barney Fisher barney.fisher at googlemail.com
Fri Dec 22 04:50:28 AEDT 2006


Hi,

When installing rotd 13-12-06 and version 13.1 the installation stops
with an error. I am using gcc  4.1.2 on debian etch.  Here is the some
of the final output:

dir.c:517: warning: 'mercury__fn__dir__copy_c_string_1_0' used but never defined
dir.c:13808: warning: 'mercury__fn__dir__make_dir_open_result_eof_0_0'
used but never defined
dir.c:13761: warning: 'mercury__dir__make_dir_open_result_error_4_0'
used but never defined
dir.c:523: warning: 'mercury__dir__close_4_0' used but never defined
dir.c:525: warning: 'mercury__dir__close_2_5_0' used but never defined
dir.c:527: warning: 'mercury__dir__read_entry_4_0' used but never defined
dir.c:529: warning: 'mercury__dir__read_entry_2_6_0' used but never defined
dir.c:535: warning: 'mercury__fn__dir__add_alternatives_2_0' used but
never defined
dir.c:537: warning: 'mercury__fn__dir__add_char_at_end_2_0' used but
never defined
dir.c:539: warning: 'mercury__dir__find_matching_brace_3_0' used but
never defined
dir.c:541: warning: 'mercury__dir__find_matching_brace_or_comma_6_0'
used but never defined
/home/barney/downloads/mercury-compiler-rotd-2006-12-13/tmp_dir/scripts/mgnuc
--grade asm_fast.gc.profdeep        --       -c enum.c -o enum.o
/home/barney/downloads/mercury-compiler-rotd-2006-12-13/tmp_dir/scripts/mgnuc
--grade asm_fast.gc.profdeep        --       -c eqvclass.c -o
eqvclass.o
eqvclass.c:283: warning: 'mercury__eqvclass__add_equivalence_4_0' used
but never defined
eqvclass.c:285: warning: 'mercury__eqvclass__change_partition_4_0'
used but never defined
eqvclass.c:287: warning: 'mercury__eqvclass__same_eqvclass_list_2_3_0'
used but never defined
eqvclass.c:293: warning: 'mercury__eqvclass__id_to_partition_3_0' used
but never defined
eqvclass.c:295: warning: 'mercury__eqvclass__make_partition_4_0' used
but never defined
/home/barney/downloads/mercury-compiler-rotd-2006-12-13/tmp_dir/scripts/mgnuc
--grade asm_fast.gc.profdeep        --       -c exception.c -o
exception.o
exception.m:1913: error: static declaration of
'mercury_data__proc_layout__mercury__exception__builtin_throw_1_0'
follows non-static declaration
exception.c:3778: error: previous declaration of
'mercury_data__proc_layout__mercury__exception__builtin_throw_1_0' was
here
make[2]: *** [exception.o] Error 1
make[2]: Leaving directory
`/home/barney/downloads/mercury-compiler-rotd-2006-12-13/tmp_dir/library'
To clean up from failed install, remove tmp_dir
make[1]: *** [install_grades] Error 1
make[1]: Leaving directory
`/home/barney/downloads/mercury-compiler-rotd-2006-12-13'
make: *** [install] Error 2


Please can someone help fix this? I need to do some Mercury work!

-- 
Barney
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list