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: Wed, 14 Mar 2007 12:36:20 +0000 [thread overview]
Message-ID: <729DDA34-5FBE-4570-B10F-B2443B58A2F1@gmail.com> (raw)
In-Reply-To: <cd67f63a0703140524r142d3877h9740d12feab1a544@mail.gmail.com>
Nicolas,
On Mar 14, 2007, at 12:24 PM, Nicolas Pouillard wrote:
> ocamlbuild runs ocamldep -module on your file so you can experiment
> by yourself.
generator.ml:
open Ninja
module E = Easy
ocamldep -modules generator.ml
generator.ml: Easy List Ninja String
ocamlbuild test.byte --
+ ocamlfind ocamlc -package ounit -linkpkg easy_code.cmo
generator.cmo parser_util.cmo symtab.cmo easy_parser.cmo
easy_lexer.cmo parser_test.cmo generator_test.cmo test.cmo -o test.byte
Error while linking generator.cmo: Reference to undefined global `Easy'
The warnings in the _log file are about OUnit which is an external
library. There are no other warnings. Everything builds fine if I
remove "module E = Easy" and replace all references to E.xxx with
Easy.xxx.
Thanks, Joel
--
http://wagerlabs.com/
next prev parent reply other threads:[~2007-03-14 12:36 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 [this message]
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
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=729DDA34-5FBE-4570-B10F-B2443B58A2F1@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