From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Ashish Agarwal <agarwal1975@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] inconsistent assumptions over interface
Date: Mon, 27 Apr 2015 17:02:44 +0200 [thread overview]
Message-ID: <A606B4C854C5437F98FE85436C332950@erratique.ch> (raw)
In-Reply-To: <CAMu2m2LjDbvjCpn6Bo+mVATOuk=c9zfLuoMwByf0+gd3FYz92A@mail.gmail.com>
> It's Eliom related, though I don't know why that would matter.
>
> # Error: The files ~/.opam/4.02.1/lib/eliom/client/eliom_pervasives.cmi
> # and ../_server/foo.cmi make inconsistent assumptions
> # over interface Eliommod_parameters
Don't know anything about eliom but it seems that you are trying to compile server code with client code, both seem to have a different Eliommod_parameters module. I don't know if the Eliommod_parameters cmi are supposed to be the same in both cases (if there's a discrepancy that didn't use to exist it may be due to compiling with `-keep-locs` which could result in problems along the line of [1,2] but I don't know how eliom's source is structured).
Usually in these cases it's a good idea to have a look at the hash of the inconsistent .cmi files with ocamlobjinfo and try to locate the corresponding .cmi in the included dirs to get a better idea of what's going on.
Best,
Daniel
[1] https://github.com/ocamllabs/ocaml-ctypes/issues/283
[2] http://caml.inria.fr/mantis/view.php?id=6311#c13598
next prev parent reply other threads:[~2015-04-27 15:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 14:39 Ashish Agarwal
2015-04-27 14:53 ` Drup
2015-04-27 15:02 ` Ashish Agarwal
2015-04-27 15:02 ` Daniel Bünzli [this message]
2015-04-27 15:07 ` Ashish Agarwal
2018-04-22 14:53 [Caml-list] Inconsistent " Yann Hamdaoui
2018-04-22 15:29 ` Nicolás Ojeda Bär
2018-04-23 14:14 ` Yann Hamdaoui
2018-06-02 20:02 ` Yawar Amin
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=A606B4C854C5437F98FE85436C332950@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=agarwal1975@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