[Omake] Fedora Core 9

Alain Frisch alain.frisch at lexifi.com
Fri May 16 00:14:55 PDT 2008


Shivkumar Chandrasekaran wrote:
> I sort of had to install CVS ocaml (3.11+dev12) on my Fedora Core 9
> machine (x86_64). Now I get the following error when I try to install
> omake (both last release and SVN). Any advice? Thanks,

I think the problem is caused by the fact that the new version of OCaml
is stricter: it is no longer legal to define an "external" primitive
which is undefined (beforehand, the error was given when the primitive
was used) [*]. It should be enough to remove the reference to the
missing external caml_sync from omake code.

[*] There is good reason to do so. With the old behavior, the system
linker could remove objects from C libraries linked together with OCaml
libraries if their primitives were not used in the library itself but
only exported. This could prevent modules that depend on these
primitives to be later dynlinked by the program (even if the program is
linked with -linkall). Now, the ocaml backend emits a explicit
references to all the exported primitives to ensure that the linker will
not discard "useless" objects.

Regards,

Alain



More information about the Omake mailing list