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 q0GIU369008712 for ; Mon, 16 Jan 2012 19:30:03 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkCAFZsFE/RVdS0kGdsb2JhbABDnQg0h3ABhwOBAwgiAQEBAQkJDRsEIYFyAQEBAwESAiwBGxILAQMBCwYFBAcaISIBEQEFAQoSBhMSEIdYCJkZCotqgm+END+IcQIFC4NxhHMFAgIIAwUOJR4EAgEBDQUEEQUBBgEBBgEFFAUHAQsBAgEBCAEBAQECgUkGARUCA0MFAgYEBwMLEQQHBw8aAgcBAQIDDQECAwEBAwIDAgMEAQSDRwSCW4VgjFaOCj2CTIFM X-IronPort-AV: E=Sophos;i="4.71,519,1320620400"; d="scan'208";a="127290128" 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 19:29:57 +0100 Received: by wibhn6 with SMTP id hn6so3180480wib.39 for ; Mon, 16 Jan 2012 10:29:57 -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; bh=KK4OqVfpkF7LetilLYd3q20f4s+Dam1YJhF6p65skaA=; b=KUKlPSvkKz+I/7HyptQV6HauEe11VxBDiomNSddT7ZgntJP5XIzIW8AXn8C6XCt/QQ DMz+rWLUSgetV48zmcNdR+qcs6UTfRPtffk8Bckp1kXqsjRVrNuvtPO4kKoVZZyzlfMU C/UgIJEsnS2PBHF2orS8uQApRVEUhJiC5AK/Y= Received: by 10.181.11.163 with SMTP id ej3mr22295095wid.4.1326738597496; Mon, 16 Jan 2012 10:29:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.62.7 with HTTP; Mon, 16 Jan 2012 10:29:35 -0800 (PST) In-Reply-To: <4F13EDCF.60504@riken.jp> References: <4F13EDCF.60504@riken.jp> From: Ashish Agarwal Date: Mon, 16 Jan 2012 13:29:35 -0500 Message-ID: To: Francois Berenger Cc: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=f46d043be1e0d045ae04b6a9661d Subject: Re: [Caml-list] inconsistent assumptions over interface [...] --f46d043be1e0d045ae04b6a9661d Content-Type: text/plain; charset=ISO-8859-1 Re-compile, and re-install biocaml. That should fix it. On Mon, Jan 16, 2012 at 4: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 > > --f46d043be1e0d045ae04b6a9661d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Re-compile, and re-install biocaml. That should fix it.

On Mon, Jan 16, 2012 at 4:28 AM, Francois Berenger <berenger@riken.jp&g= t; wrote:
Hello,

When I run:
$> ocamlfind ocamlopt -package batteries -linkpkg -o test_logger
=A0 biocaml_logger.= ml test_logger.ml
I get:
File "
test_logger.= ml", line 1, characters 0-1:
Error: Files biocaml_logger.cmx
=A0 =A0 =A0 and /usr/local/godi/lib/ocaml/pkg-lib/batteries/batteri= es_uni.cmxa
=A0 =A0 =A0 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. =A0Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners<= /a>
Bug reports:
http://caml.inria.fr/bin/caml-bugs


--f46d043be1e0d045ae04b6a9661d--