From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q0G9sq44020945 for ; Mon, 16 Jan 2012 10:54:52 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroBAG/zE0/RVdS0kGdsb2JhbABCnQSQKQgiAQEBAQkJDQcUBCGBcgEBAQQSAiwBGxILAQMMBgULDQ0hIgERAQUBChIGEwgKCQeHYJhUCotqgm+EGz+IcQIFC4NxiBsElRGOCj2Dew X-IronPort-AV: E=Sophos;i="4.71,517,1320620400"; d="scan'208";a="127140412" Received: from mail-wi0-f180.google.com ([209.85.212.180]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 16 Jan 2012 10:54:47 +0100 Received: by wibhn6 with SMTP id hn6so2521775wib.39 for ; Mon, 16 Jan 2012 01:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=PgWiEIEbBhhRW5xJevZXA1WeXgkVUdnfJaV5Rvf+GO0=; b=NUic8jrVBw6msgaKMQzWb4iw3Fd2NeMZITgLl/CxyGdVCY2jzJh3MaiKKDC3kWj5WX VBBZf+oDiaHQG0oHCiI/2ST5UO+StzUAS99ud2I9nLlimLjzXR76XPnhNWCQGLLElig+ jsWixLakJ5k5478wwVD9S0PuCRxVTF2TCmkl8= Received: by 10.180.93.193 with SMTP id cw1mr18488993wib.5.1326707686413; Mon, 16 Jan 2012 01:54:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.198.147 with HTTP; Mon, 16 Jan 2012 01:54:25 -0800 (PST) In-Reply-To: <4F13EDCF.60504@riken.jp> References: <4F13EDCF.60504@riken.jp> From: Gabriel Scherer Date: Mon, 16 Jan 2012 10:54:25 +0100 Message-ID: To: Francois Berenger Cc: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q0G9sq44020945 Subject: Re: [Caml-list] inconsistent assumptions over interface [...] 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 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 >