caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hugo Ferreira <hmf@inescporto.pt>
To: caml-list@yquem.inria.fr
Subject: Error linking with library: Ancient.
Date: Tue, 16 Mar 2010 19:12:35 +0000	[thread overview]
Message-ID: <4B9FD823.2070707@inescporto.pt> (raw)

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


             reply	other threads:[~2010-03-16 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 19:12 Hugo Ferreira [this message]
2010-03-16 19:22 ` Michael Ekstrand
2010-03-16 19:34   ` [Caml-list] " Hugo Ferreira
2010-03-16 19:57   ` Hugo Ferreira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B9FD823.2070707@inescporto.pt \
    --to=hmf@inescporto.pt \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).