From: "Stéphane Glondu" <steph@glondu.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] using ocamlc
Date: Tue, 18 Jun 2013 16:39:13 +0200 [thread overview]
Message-ID: <51C07111.8060809@glondu.net> (raw)
In-Reply-To: <CA+3iOzks0bHbp4eKuxtTqyMAuTxbmyPnYmXsHb-b4KAWEjdh4w@mail.gmail.com>
Le 18/06/2013 15:18, Gergely Buday a écrit :
> $ 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
Does your camlp4o.opt match your ocamlc (same location, same -version,
same -where)?
Cheers,
--
Stéphane
prev parent reply other threads:[~2013-06-18 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 13:18 Gergely Buday
2013-06-18 14:39 ` Stéphane Glondu [this message]
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=51C07111.8060809@glondu.net \
--to=steph@glondu.net \
--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).