caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <berenger@riken.jp>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] inconsistent assumptions over interface [...]
Date: Tue, 17 Jan 2012 10:31:44 +0900	[thread overview]
Message-ID: <4F14CF80.20303@riken.jp> (raw)
In-Reply-To: <CAPFanBF9iTOzrAz-WeEakKAEjsjSnCuBuk8bVS8gFiLWk5XHvA@mail.gmail.com>

On 01/16/2012 06:54 PM, Gabriel Scherer wrote:
> 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).

There was a local copy of batLogger.ml in my source tree.
I removed it and everything works fine.

Thanks! :)

> 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-17  1:31 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
2012-01-17  1:31   ` Francois Berenger [this message]
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=4F14CF80.20303@riken.jp \
    --to=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).