caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild and automatic dependencies
Date: Fri, 16 Mar 2007 14:00:19 +0000	[thread overview]
Message-ID: <FEDA1DA0-0C6F-4F21-810A-E668FFE04830@gmail.com> (raw)
In-Reply-To: <cd67f63a0703140611g131f5056hbf1f641a9bb65b94@mail.gmail.com>

It appears that simply copying foo.mli into foo.ml should solve the  
issue.

I kind of hate having two identical files that I'll need to update.  
Do I have to get used to it?

	Thanks, Joel

On Mar 14, 2007, at 1:11 PM, Nicolas Pouillard wrote:

> $ 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 ?

--
http://wagerlabs.com/






  parent reply	other threads:[~2007-03-16 14:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 12:14 Joel Reymont
2007-03-14 12:24 ` [Caml-list] " Nicolas Pouillard
2007-03-14 12:36   ` Joel Reymont
2007-03-14 12:43     ` Nicolas Pouillard
2007-03-14 12:47       ` Joel Reymont
2007-03-14 13:11         ` Nicolas Pouillard
2007-03-14 20:11           ` skaller
2007-03-14 20:57             ` Alain Frisch
2007-03-15  3:46               ` skaller
2007-03-16 14:00           ` Joel Reymont [this message]
2007-03-16 14:22             ` Daniel de Rauglaudre
2007-03-17  0:18               ` skaller
2007-03-17  3:01                 ` Daniel de Rauglaudre
2007-03-17  8:14                 ` Alain Frisch
2007-03-17 13:52                   ` Modules for Dummies skaller
2007-03-16 14:40             ` [Caml-list] ocamlbuild and automatic dependencies Jacques Garrigue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FEDA1DA0-0C6F-4F21-810A-E668FFE04830@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.pouillard@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).