Browse thread
ocamlbuild and automatic dependencies
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Joel Reymont <joelr1@g...> |
| Subject: | Re: [Caml-list] ocamlbuild and automatic dependencies |
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/