[mercury-users] install error with rotd 13-12-06 and 13.1
Barney Fisher
barney.fisher at googlemail.com
Sat Dec 23 23:10:39 AEDT 2006
> It should just be sufficient to invoke configure with the
> --disable-deep-profiler option. That way you don't need to disable the
> other profiling grades.
Yes, this allowed me to install Mercury. I can now compile code with
the grade asm_fast.gc.tr which is what my system needs but when
compiling with grade asm_fast.gc.tr.debug I get an error. Here is a
copy of the final screen of output from running mmake (the error is at
the bottom).
mgnuc --grade asm_fast.gc.tr.debug -- -c interpreter.c -o
interpreter.o
interpreter.c:185: warning: 'mercury__interpreter__implies_conj_6_0'
used but never defined
interpreter.c:187: warning: 'mercury__interpreter__implies_conj_6_1'
used but never defined
interpreter.c:189: warning: 'mercury__interpreter__implies_6_0' used
but never defined
interpreter.c:191: warning: 'mercury__interpreter__implies_6_1' used
but never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c literal.c -o literal.o
mgnuc --grade asm_fast.gc.tr.debug -- -c main.c -o main.o
mgnuc --grade asm_fast.gc.tr.debug -- -c open_list.c -o open_list.o
open_list.c:187: warning: 'mercury__open_list__filter_4_0' used but
never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c options.c -o options.o
mgnuc --grade asm_fast.gc.tr.debug -- -c refine.c -o refine.o
refine.c:253: warning:
'mercury__refine__get_not_covered_pos_example_3_0' used but never
defined
refine.c:255: warning:
'mercury__refine__add_literal_to_clause_body_3_0' used but never
defined
refine.c:257: warning:
'mercury__refine__literal_inputs_will_be_instantiated_2_0' used but
never defined
refine.c:259: warning:
'mercury__refine__literal_inputs_will_be_instantiated0_3_0' used but
never defined
refine.c:261: warning: 'mercury__refine__valid_clause_1_0' used but
never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c search.c -o search.o
search.c:158: warning: 'mercury__search__search_aux_9_0' used but never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c search_node.c -o
search_node.o
search_node.c:336: warning:
'mercury__search_node__IntroducedFrom__pred__unforgetable__269__1_2_0'
used but never defined
search_node.c:338: warning:
'mercury__search_node__IntroducedFrom__pred__add_upper_bound_information__236__1_3_0'
used but never defined
search_node.c:340: warning:
'mercury__search_node__IntroducedFrom__pred__add_score_information__226__1_3_0'
used but never defined
search_node.c:342: warning:
'mercury__search_node__IntroducedFrom__pred__add_cover_information__216__1_3_0'
used but never defined
search_node.c:344: warning:
'mercury__search_node__IntroducedFrom__pred__unevaluated_children__189__1_5_0'
used but never defined
search_node.c:346: warning:
'mercury__search_node__IntroducedFrom__pred__unevaluated_children__187__1_3_0'
used but never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c
substitution_map.c -o substitution_map.o
substitution_map.c:232: warning: 'mercury__substitution_map__size_2_0'
used but never defined
substitution_map.c:234: warning:
'mercury__substitution_map__within_bounds_2_0' used but never defined
substitution_map.c:236: warning:
'mercury__substitution_map__within_bounds_2_1' used but never defined
substitution_map.c:238: warning:
'mercury__substitution_map__member_3_0' used but never defined
substitution_map.c:240: warning:
'mercury__substitution_map__member_3_1' used but never defined
substitution_map.c:242: warning:
'mercury__substitution_map__member0_5_0' used but never defined
substitution_map.c:244: warning:
'mercury__substitution_map__member0_5_1' used but never defined
substitution_map.c:246: warning:
'mercury__substitution_map__overlay0_5_0' used but never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c theory.c -o theory.o
mgnuc --grade asm_fast.gc.tr.debug -- -c tr_array.c -o tr_array.o
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module20':
sys/substitution_map/substitution_map/tr_array.m:443: warning:
assignment makes pointer from integer without a cast
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module21':
sys/substitution_map/substitution_map/tr_array.m:452: warning:
assignment makes pointer from integer without a cast
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module22':
sys/substitution_map/substitution_map/tr_array.m:348: warning:
assignment makes pointer from integer without a cast
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module23':
sys/substitution_map/substitution_map/tr_array.m:357: warning:
assignment makes pointer from integer without a cast
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module24':
sys/substitution_map/substitution_map/tr_array.m:399: warning:
assignment makes pointer from integer without a cast
sys/substitution_map/substitution_map/tr_array.m: In function
'tr_array_module25':
sys/substitution_map/substitution_map/tr_array.m:408: warning:
assignment makes pointer from integer without a cast
tr_array.c: At top level:
tr_array.c:388: warning: 'mercury__tr_array__bsearch_2_6_0' used but
never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c value.c -o value.o
value.c:167: warning:
'mercury__value__IntroducedFrom__pred__values__58__1_2_0' used but
never defined
value.c:181: warning: 'mercury__value__strip_functor_2_0' used but never defined
value.c:183: warning: 'mercury__value__strip_functor0_2_0' used but
never defined
mgnuc --grade asm_fast.gc.tr.debug -- -c main_init.c -o main_init.o
ml --grade asm_fast.gc.tr.debug -- -o main main_init.o \
arg_sub.o argument.o background.o
background_interface.o bk_implies.o bottom_clause.o clause.o covers.o
evaluation.o example.o generic_search.o interpreter.o literal.o main.o
open_list.o options.o refine.o search.o search_node.o
substitution_map.o theory.o tr_array.o value.o \
/usr/local/mercury-rotd-2006-12-13/lib/mercury/lib/asm_fast.gc.tr.debug/libmer_browser.a(mdb.dl.o):
In function `<predicate 'mdb:dl.dlopen'/6 mode 0>':
mdb.dl.c:(.text+0x242e): warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
Why are there loads of 'used but never defined' warnings? is this to
do with gcc 4.1.2?
> reproduce it. On possibility is that it is an issue with gcc 4.1; try
> building with gcc 3.4 (debian package gcc-3.4) and see if it goes away.
I have not tryed gcc 3.4 yet.
--
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