caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Error linking with library: Ancient.
@ 2010-03-16 19:12 Hugo Ferreira
  2010-03-16 19:22 ` Michael Ekstrand
  0 siblings, 1 reply; 4+ messages in thread
From: Hugo Ferreira @ 2010-03-16 19:12 UTC (permalink / raw)
  To: caml-list

Hello,

I am using ocamlbuild to compile and link the Ancient module.
I have a link error. I have tried to change the command line directly
with no success. I have used the exact same options for the GMP and CuDD
libraries and don't understand why it shouldn't work with Ancient also.

Can anyone give me a hint?

TIA,
Hugo F.


/home/hugof/ocaml/godi/bin/ocamlc.opt unix.cma bigarray.cma -g -I 
/home/hugof/workspace/planner/gmp gmp.cma -I 
/home/hugof/workspace/planner/cudd cudd.cma -I 
/home/hugof/ocaml/godi/lib/ocaml/pkg-lib/ancient ancient.cma -custom 
-custom -custom src/parse_utils.d.cmo src/symbols.d.cmo src/pred.d.cmo 
src/pred_instance.d.cmo src/uf/parray.d.cmo src/uf/punion.d.cmo 
src/var_bank.d.cmo src/unify.d.cmo src/clause.d.cmo src/dtrie.d.cmo 
src/ilp/prolog.d.cmo src/prop.d.cmo src/domain.d.cmo 
src/pred_parser.d.cmo src/pred_lexer.d.cmo src/pred_inout.d.cmo 
src/rules.d.cmo src/utils/strings.d.cmo 
src/domains/no_plan_bw_2_op.d.cmo src/utils/priorityq.d.cmo 
src/utils/bootq.d.cmo src/utils/perm.d.cmo src/utils/skewq.d.cmo 
src/ilp/heuristic_1.d.cmo -o src/ilp/heuristic_1.d.byte
/home/hugof/ocaml/godi/lib/ocaml/pkg-lib/ancient/libancient.a(ancient_c.o): 
In function `_mark':
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:150: 
undefined reference to `caml_heap_end'
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:150: 
undefined reference to `caml_page_table'
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:181: 
undefined reference to `caml_heap_end'
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:181: 
undefined reference to `caml_page_table'
/home/hugof/ocaml/godi/lib/ocaml/pkg-lib/ancient/libancient.a(ancient_c.o): 
In function `ancient_delete':
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:362: 
undefined reference to `caml_heap_end'
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:362: 
undefined reference to `caml_page_table'
/home/hugof/ocaml/godi/lib/ocaml/pkg-lib/ancient/libancient.a(ancient_c.o): 
In function `ancient_is_ancient':
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:378: 
undefined reference to `caml_heap_end'
/home/hugof/ocaml/godi/build/godi/godi-ancient/work/ancient-0.8.0/ancient_c.c:378: 
undefined reference to `caml_page_table'
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-16 19:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-16 19:12 Error linking with library: Ancient Hugo Ferreira
2010-03-16 19:22 ` Michael Ekstrand
2010-03-16 19:34   ` [Caml-list] " Hugo Ferreira
2010-03-16 19:57   ` Hugo Ferreira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).