Version française
Home     About     Download     Resources     Contact us    
Browse thread
unix.cmxa is 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: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] unix.cmxa is not a compilation unit description
You are trying to make a native library that contains a library and
ocamlopt don't supports it.

On 6/1/07, Francois Colonna <colonna@ccr.jussieu.fr> wrote:
> Hello
>
> I got this error at link :
>
> make
> ocamlc  -a -o frames.cma unix.cma -cclib -lunix str.cma -cclib -lstr
> tools.cmo utils.cmo system_units.cmo atomic_symbol.cmo
> chemical_element.cmo atom.cmo path.cmo aggregate.cmo chemical_group.cmo
> molecule.cmo backbone_link.cmo amino_acids.cmo side_chain.cmo
> side_chains.cmo residues.cmo proteins.cmo
> ocamlopt  -a -o frames.cmxa unix.cmxa -cclib -lunix str.cmxa -cclib
> -lstr tools.cmx utils.cmx system_units.cmx atomic_symbol.cmx
> chemical_element.cmx atom.cmx path.cmx aggregate.cmx chemical_group.cmx
> molecule.cmx backbone_link.cmx amino_acids.cmx side_chain.cmx
> side_chains.cmx residues.cmx proteins.cmx
>
> /usr/local/lib/ocaml/unix.cmxa is not a compilation unit description.    <===
>
>
> Does anybody knows how to fix it ?
> Thanks
> François Colonna
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


-- 
Nicolas Pouillard