From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 3CCBF7EE4B for ; Tue, 8 Oct 2013 19:45:16 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.90,1057,1371074400"; d="scan'208";a="36113641" Received: from adijon-153-1-46-2.w83-203.abo.wanadoo.fr (HELO alcazar) ([83.203.213.2]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 08 Oct 2013 19:45:14 +0200 Date: Tue, 8 Oct 2013 19:44:40 +0200 From: Maxence Guesdon To: caml-list@inria.fr Cc: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> Message-ID: <20131008194440.425e2d19@alcazar> In-Reply-To: <52541870.7040000@gmail.com> References: <52541870.7040000@gmail.com> Organization: INRIA X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.21; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] ocamldoc ... "Warning: Module or module type BatSet.StringSet not found" On Tue, 08 Oct 2013 15:36:32 +0100 Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> wrote: > Hi, > > A couple of weeks ago I started to use ocamldoc. > In certain situation, it gives me: > > "Warning: Module or module type BatSet.StringSet not found" > > The simplest "program" that triggers it is: > > module StringSet = BatSet.StringSet > > I get it with the following command: > > ocamlfind doc -html -package batteries main.ml > > I thought that some -I path was missing, so I tried: > > ocamlfind doc -html -thread -package batteries `ocamlfind query -i-format -recursive batteries` main.ml > > but the warning remains. > > It is not a big deal but I still wonder why I get it. > ((The program itself compiles without kind of warning.)) This message is not about not finding libraries so adding -I options is useless. ocamldoc complains about not finding ocamldoc information about BatSet.StringSet to create cross reference links in documentation. To fix it, you have to give sources of BatSet on the ocamldoc command line, or use the -load option to load an ocamldoc dump produced from the BatSet sources. Regards, Maxence