caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gergely Buday <gbuday@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] using ocamlc
Date: Tue, 18 Jun 2013 15:18:36 +0200	[thread overview]
Message-ID: <CA+3iOzks0bHbp4eKuxtTqyMAuTxbmyPnYmXsHb-b4KAWEjdh4w@mail.gmail.com> (raw)

Hi there,

I want to use ocaml as a compiler for the LEO-II theorem prover. I
guess the following error should tell more to OCaml experts than to
the author of the prover:

$ make
ocamlc  -g -I ./calculus/ -I ./datastructure/ -I ./general/ -I
./interfaces/ -I ./interfaces/minisat/ -I ./interfaces/translation/ -I
./parser-hotptp/ -I ./toplevel/ unix.cma str.cma
/home/gergoe/local/leo2/src/interfaces/minisat/dllminisatinterface.so
 -pp "camlp4o.opt Camlp4MacroParser.cmxs -DDEBUG " -c
datastructure/darray.mli
Camlp4: Uncaught exception: DynLoader.Error
("./Camlp4MacroParser.cmxs", "error loading shared library:
./Camlp4MacroParser.cmxs: undefined symbol: camlList__combine_254")

File "datastructure/darray.mli", line 1:
Error: Preprocessor error
make: *** [datastructure/darray.cmi] Error 2

I have the version

$ ocamlc -version
4.00.1

What is missing here? I installed OCaml first from yum repository on
my CentOS box, but LEO-II needs OCaml 4.00 so I installed it from
source.

The mentioned cmxs file is in the directory where I call make:

$ find ~/local/ -name Camlp4MacroParser.cmxs
/home/gergoe/local/leo2/src/Camlp4MacroParser.cmxs

- Gergely

             reply	other threads:[~2013-06-18 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 13:18 Gergely Buday [this message]
2013-06-18 14:39 ` Stéphane Glondu

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=CA+3iOzks0bHbp4eKuxtTqyMAuTxbmyPnYmXsHb-b4KAWEjdh4w@mail.gmail.com \
    --to=gbuday@gmail.com \
    --cc=caml-list@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).