caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* unix.cmxa is not a compilation unit description
@ 2007-06-01  7:22 Francois Colonna
  2007-06-01  7:26 ` [Caml-list] " Jonathan Bryant
  2007-06-01  7:43 ` Nicolas Pouillard
  0 siblings, 2 replies; 3+ messages in thread
From: Francois Colonna @ 2007-06-01  7:22 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] unix.cmxa is not a compilation unit description
  2007-06-01  7:22 unix.cmxa is not a compilation unit description Francois Colonna
@ 2007-06-01  7:26 ` Jonathan Bryant
  2007-06-01  7:43 ` Nicolas Pouillard
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Bryant @ 2007-06-01  7:26 UTC (permalink / raw)
  To: colonna; +Cc: caml-list

Use .cma for ocamlc, .cmxa for ocamlopt.  It's basically the same  
difference as .cmo files and .cmx files.

On Jun 1, 2007, at 3:22 AM, Francois Colonna 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] unix.cmxa is not a compilation unit description
  2007-06-01  7:22 unix.cmxa is not a compilation unit description Francois Colonna
  2007-06-01  7:26 ` [Caml-list] " Jonathan Bryant
@ 2007-06-01  7:43 ` Nicolas Pouillard
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pouillard @ 2007-06-01  7:43 UTC (permalink / raw)
  To: colonna; +Cc: caml-list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-01  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-01  7:22 unix.cmxa is not a compilation unit description Francois Colonna
2007-06-01  7:26 ` [Caml-list] " Jonathan Bryant
2007-06-01  7:43 ` Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).