[
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: | John D. Barnett <barnett@p...> |
| Subject: | [Caml-list] compilation woes |
Hi- I'm new to ocaml, and am having problems using the native code compiler, ocamlopt (ocaml-3.00-10 on intel RHLinux 7.1). I have a program split across multiple modules, each of which is compiled to a .cmxa file. The final compile/link step gives an error: Files a.cmxa and b.cmxa make inconsistent assumptions over implementation Foo If I remove any references to module Foo from a.ml, and recompile, then I still get errors for b.o/b.a in linking, with undefined references to a function in Foo which isn't called from b.ml!! BTW, everything works using the bytecode compiler, ocamlc. Does anyone have an idea of what could be happening or what I might be doing wrong? Thanks in advance, John ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners