Stéphane Glondu a écrit :
>
> It seems that chain.cmo is linked before protection.cmo inside the .cma.
> The order of modules inside of a .cma file is important. The behaviour
> is the same as if they were #loaded in the same order in a toplevel. Try
> writing explicitly all .ml files of $(SOURCE
Hello,
Guillaume Yziquel wrote:
> I've been recently trying to compile a module I made. I can load the
> .cmo I generate out of it, but not the .cma I generate out of it.
> [...]
>> # #load "ocaml-yziquel.cma";;
>> Reference to undefined global `Protection'
>> [...]
IIUC, in this .cma, there are
Hello, list.
I've been recently trying to compile a module I made. I can load the
.cmo I generate out of it, but not the .cma I generate out of it.
> [EMAIL PROTECTED]:~/svn/ocaml-yziquel$ ocaml
> Objective Caml version 3.10.2
>
> # #load "ocaml-yziquel.cma";;
> Reference to undefined gl