English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2002-05-17 (16:16)
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 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