From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q0H1Vrww017029 for ; Tue, 17 Jan 2012 02:31:53 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AooCAPbOFE+GoCGihWdsb2JhbABEnQiPKIEuAQEBCA0LBRYlgXIBAQQBODYQCwsYCQQhDwI0EhMGAgEBDgmHXwi2DoN8hHMFAgIeFQEBBQMEDQULBAIEAQUIBQQRBQEGAQEGAQUHJQECAQEFAwEBAQECFhUDAQYMBwICAx0DAQYJAgENAQEDCwILAgsDAQEJgUIaIkCDHASIOYxYhVGMfw X-IronPort-AV: E=Sophos;i="4.71,520,1320620400"; d="scan'208";a="139939265" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Jan 2012 02:31:46 +0100 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 6372C12602B3 for ; Tue, 17 Jan 2012 10:31:44 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 375851270063 for ; Tue, 17 Jan 2012 10:31:44 +0900 (JST) Message-ID: <4F14CF80.20303@riken.jp> Date: Tue, 17 Jan 2012 10:31:44 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16 MIME-Version: 1.0 To: caml-list@yquem.inria.fr References: <4F13EDCF.60504@riken.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.1.16.141514 Subject: Re: [Caml-list] inconsistent assumptions over interface [...] 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 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 >>