From: Fermin Reig <reig@acm.org>
To: Dan Bensen <danbensen@att.net>, caml-list@inria.fr
Subject: Re: [Caml-list] "interface mismatch" in camlp4
Date: Fri, 01 Jun 2012 19:28:13 +0100 [thread overview]
Message-ID: <4FC909BD.60306@acm.org> (raw)
In-Reply-To: <1338565594.20475.YahooMailRC@web180015.mail.gq1.yahoo.com>
On 01/06/12 16:46, Dan Bensen wrote:
> Is there any documentation on this error somewhere?
> I have no idea what it means.
>
> > $ camlp4rf _build/Metl.cmo _build/MetlString.cmo rules.ml
> > Camlp4: Uncaught exception: DynLoader.Error
> > ("./_build/MetlString.cmo", "interface mismatch on Metl")
>
> The first module (Metl) contains a functor, and
> the second one (MetlString) supplies an argument module
> and calls the functor. Both of them extend the PreCast
> parser.
>
I had a similar problem recently. In my case, it was resolved by
upgrading ocaml from 3.12.0 to 3.12.1. Apparently, camlp4 is buggy in
3.12.0 (so I was told, and upgrading fixed the problem for me)
HTH
next prev parent reply other threads:[~2012-06-01 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 15:46 Dan Bensen
2012-06-01 18:28 ` Fermin Reig [this message]
2012-06-01 19:22 ` Dan Bensen
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=4FC909BD.60306@acm.org \
--to=reig@acm.org \
--cc=caml-list@inria.fr \
--cc=danbensen@att.net \
/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).