caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dan Bensen <danbensen@att.net>
To: Fermin Reig <reig@acm.org>, caml-list@inria.fr
Subject: Re: [Caml-list] "interface mismatch" in camlp4
Date: Fri, 1 Jun 2012 12:22:18 -0700 (PDT)	[thread overview]
Message-ID: <1338578538.66544.YahooMailRC@web180009.mail.gq1.yahoo.com> (raw)
In-Reply-To: <4FC909BD.60306@acm.org>

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

> I had a similar problem recently. In my case, it was
> resolved by upgrading ocaml from 3.12.0 to 3.12.1.

I'm running 3.12.1 on godi.




________________________________
From: Fermin Reig <reig@acm.org>
To: Dan Bensen <danbensen@att.net>; caml-list@inria.fr
Sent: Fri, June 1, 2012 8:28:27 PM
Subject: Re: [Caml-list] "interface mismatch" in camlp4

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

[-- Attachment #2: Type: text/html, Size: 1778 bytes --]

      reply	other threads:[~2012-06-01 19:22 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
2012-06-01 19:22   ` Dan Bensen [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=1338578538.66544.YahooMailRC@web180009.mail.gq1.yahoo.com \
    --to=danbensen@att.net \
    --cc=caml-list@inria.fr \
    --cc=reig@acm.org \
    /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).