caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Andrew Warshaver <awarshaver@janestcapital.com>
To: caml-list@yquem.inria.fr
Subject: ocamlbuild .cmxa
Date: Tue, 26 Jun 2007 14:46:53 -0400	[thread overview]
Message-ID: <46815F1D.2020001@janestcapital.com> (raw)

I wish to compile a .cmxa library using ocamlbuild.  I have no trouble 
compiling to a .cma, but for .cmxa, I get the following error:

[awarshaver@nyc-qws-029 multi-oc]$ ocamlbuild janebase/sexp/lib/sexplib.cmxa
+ ocamlfind opt -package bigarray,pcre,res,netstring -I +camlp4 -pp 
camlp4orf -pp 'camlp4o /home/awarshaver/multi-oc/lib/pa_type_conv.cmo 
/home/awarshaver/multi-oc/lib/pa_sexp_conv.cmo' -a -linkpkg -thread 
janebase/sexp/lib/type.cmx janebase/sexp/lib/parser.cmx 
janebase/sexp/lib/lexer.cmx janebase/sexp/lib/sexp.cmx 
janebase/sexp/lib/path.cmx janebase/sexp/lib/conv.cmx 
janebase/sexp/lib/conv_error.cmx -o janebase/sexp/lib/sexplib.cmxa
/usr/local/home/godi310/godi/lib/ocaml/std-lib/unix.cmxa
is not a compilation unit description.
Command exited with code 2.

The only guidance I have found is that there can by no .cmxa files 
included in the library, this is not the case here.  I have a .mllib and 
.mlpack file (I'm not really sure what the difference is).

Any insight would be appreciated.

Andrew


             reply	other threads:[~2007-06-26 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26 18:46 Andrew Warshaver [this message]
2007-06-27 13:16 ` [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=46815F1D.2020001@janestcapital.com \
    --to=awarshaver@janestcapital.com \
    --cc=caml-list@yquem.inria.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;
as well as URLs for NNTP newsgroup(s).