Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] not a compilation unit description...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Arne Koewing <Arne.Koewing@I...>
Subject: [Caml-list] not a compilation unit description...
compiling one of my programms with the native code compiler
i get this error, does anyone know waht it exactly means?

ocamlfind ocamlopt -noassert -inline 10  -a -o jammal.cmxa -package "pxp" \
  -linkpkg \
  -predicates "" jammal_parser.cmx
/usr/lib/ocaml/pcre/pcre.cmxa is not a compilation unit description.

I had a look to the compiler-source, this message should only be printed
if an .cmx file has the wrong magic number.
this file is an .cmxa with a correct magic number but it seems the
native-code compiler wants to treat it as a .cmx file.

any ideas? (is it a bug?)

 thanks for help,

 Arne Koewing

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: