Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jonathan Bryant <jtbryant@valdosta.edu>
To: colonna@ccr.jussieu.fr
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] unix.cmxa is not a compilation unit description
Date: Fri, 1 Jun 2007 03:26:25 -0400	[thread overview]
Message-ID: <ED234DCB-B6DB-4E3B-9879-4C5BF546E772@valdosta.edu> (raw)
In-Reply-To: <465FC948.2060804@ccr.jussieu.fr>

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


  reply	other threads:[~2007-06-01  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01  7:22 Francois Colonna
2007-06-01  7:26 ` Jonathan Bryant [this message]
2007-06-01  7:43 ` [Caml-list] " Nicolas Pouillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ED234DCB-B6DB-4E3B-9879-4C5BF546E772@valdosta.edu \
    --to=jtbryant@valdosta.edu \
    --cc=caml-list@yquem.inria.fr \
    --cc=colonna@ccr.jussieu.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox