From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 424BFBC0A for ; Wed, 14 Mar 2007 14:11:36 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2EDBZeq014564 for ; Wed, 14 Mar 2007 14:11:36 +0100 Received: by nf-out-0910.google.com with SMTP id a25so190564nfc for ; Wed, 14 Mar 2007 06:11:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lFYu4IJ5Ar3S8OpIxF3+C1TJe6L9HZG88d6aFSCU6OaidNmRdvPY118LrTZEUNp10BnRQJWVvLaferFWFgdcMp1b3s2WKKlpY0jthn4lI9axAEING1jmfDluHCoNvJbZtmOc7l6RhD0fLa986WD/WyVsNwFCgD7rqSO3/nlv01I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sbTrojWsXA0myfQt79dS4ipvdO9IFJsof79PGTsT5yiW9fdseqvrZTVoXsanKisLxffDhuHR7sSGr55EQDwVeaXLAxPMiWAXJWovyHciRyJM3F6SFI79Gpw4wda0aWOCcNl+iK7qYRt5Pvzbx8LcsIETshPlB98VUCEKzFzUnWE= Received: by 10.114.111.1 with SMTP id j1mr2890455wac.1173877892187; Wed, 14 Mar 2007 06:11:32 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Wed, 14 Mar 2007 06:11:32 -0700 (PDT) Message-ID: Date: Wed, 14 Mar 2007 14:11:32 +0100 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] ocamlbuild and automatic dependencies Cc: "Caml List" In-Reply-To: <8FC891E5-C8B6-410F-B2EB-5E06594A0165@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80E2E3A7-2603-4706-8186-566C6DA14452@gmail.com> <729DDA34-5FBE-4570-B10F-B2443B58A2F1@gmail.com> <8FC891E5-C8B6-410F-B2EB-5E06594A0165@gmail.com> X-j-chkmail-Score: MSGID : 45F7F487.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45F7F487.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; dependencies:01 cmo:01 mli:01 foo:01 mli:01 foo:01 ocamlc:01 ocamlc:01 cmo:01 foo':01 bug:01 2007,:98 wrote:01 wrote:01 caml-list:01 On 3/14/07, Joel Reymont wrote: > > On Mar 14, 2007, at 12:43 PM, Nicolas Pouillard wrote: > > > That's strange easy.cmo is missing. > > There's no easy.ml, only easy.mli. Does this change anything? > Yep that's all the difference. That's no more an ocamlbuild problem :) $ cat foo.mli type t = A | B $ cat bar.ml module F = Foo type t = F.t $ ocamlc -c foo.mli $ ocamlc bar.ml Error while linking bar.cmo: Reference to undefined global `Foo' Perhaps a bug ? -- Nicolas Pouillard