Browse thread
unix.cmxa is not a compilation unit description
-
Francois Colonna
- Jonathan Bryant
- Nicolas Pouillard
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jonathan Bryant <jtbryant@v...> |
| Subject: | Re: [Caml-list] unix.cmxa is not a compilation unit description |
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