Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild and automatic dependencies
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild and automatic dependencies
On 3/14/07, Joel Reymont <joelr1@gmail.com> 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