> 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