caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] inconsistent assumptions over interface [...]
Date: Mon, 16 Jan 2012 10:54:25 +0100	[thread overview]
Message-ID: <CAPFanBF9iTOzrAz-WeEakKAEjsjSnCuBuk8bVS8gFiLWk5XHvA@mail.gmail.com> (raw)
In-Reply-To: <4F13EDCF.60504@riken.jp>

This means that biocaml and batteries interface with different
compiled versions of BatLogger. The solution is most likely to
recompile on biocaml's side, so that it gets uptodate with
batteries-side change. Assuming, of course, that you use Batteries's
BatLogger directly instead of duplicating the code locally (in which
case you have a problem at version desynchronization).

On Mon, Jan 16, 2012 at 10:28 AM, Francois Berenger <berenger@riken.jp> wrote:
> Hello,
>
> When I run:
> $> ocamlfind ocamlopt -package batteries -linkpkg -o test_logger
>   biocaml_logger.ml test_logger.ml
> I get:
> File "test_logger.ml", line 1, characters 0-1:
> Error: Files biocaml_logger.cmx
>       and /usr/local/godi/lib/ocaml/pkg-lib/batteries/batteries_uni.cmxa
>       make inconsistent assumptions over interface BatLogger
>
> This message is not very clear to me.
> How can I troubleshoot this further?
>
> Should I look for some duplicated mli files somewhere?
>
> In despair, I tried:
> $> make clean ; make depend ; make
> without any improvement. :(
>
> Thanks for any help,
> Francois.
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


  reply	other threads:[~2012-01-16  9:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16  9:28 Francois Berenger
2012-01-16  9:54 ` Gabriel Scherer [this message]
2012-01-17  1:31   ` Francois Berenger
2012-01-16 18:29 ` Ashish Agarwal

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=CAPFanBF9iTOzrAz-WeEakKAEjsjSnCuBuk8bVS8gFiLWk5XHvA@mail.gmail.com \
    --to=gabriel.scherer@gmail.com \
    --cc=berenger@riken.jp \
    --cc=caml-list@yquem.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).