[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation failure (was: Re: [Demexp-dev] Compilation warnings with OCa
From: |
David MENTRE |
Subject: |
Compilation failure (was: Re: [Demexp-dev] Compilation warnings with OCaml 3.09) |
Date: |
Tue, 6 Dec 2005 09:34:29 +0100 |
Hello Thomas,
2005/12/5, Thomas Petazzoni <address@hidden>:
> Moreover, the compilation fails with:
>
> /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function
> `camlCduce_lib__code_begin': référence indéfinie vers « camlStats
> » /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function
> `camlCduce_lib__code_begin': référence indéfinie vers « camlCustom
> » /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function
> `camlCduce_lib__code_begin': référence indéfinie vers « camlEncodings
> » /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function
> `camlCduce_lib__code_begin': référence indéfinie vers « camlUpool »
> [...]
Well, I have no idea of the possible issue. Have you this error for
byte code and/or native code version?
A random guess: ocamlopt has been modified regarding -pack option:
Native-code compiler (ocamlopt):
* Revised implementation of the -pack option (packing of several compilation
units into one). The .cmx files that are to be packed with
"ocamlopt -pack -o P.cmx" must be compiled with "ocamlopt -for-pack P".
In exchange for this additional constraint, ocamlopt -pack is now
available on all platforms (no need for binutils).
http://caml.inria.fr/pub/distrib/ocaml-3.09/notes/Changes
I need to setup a sid machine to help you debug this, but I won't have
time for it the next two weeks.
Yours,
d.
- Compilation failure (was: Re: [Demexp-dev] Compilation warnings with OCaml 3.09),
David MENTRE <=