From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id DA791BC69 for ; Tue, 26 Jun 2007 21:08:36 +0200 (CEST) Received: from smtp.janestcapital.com (www.janestcapital.com [66.155.124.107]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5QJ8ZtC008460 for ; Tue, 26 Jun 2007 21:08:36 +0200 Received: from [172.25.131.129] [38.96.172.125] by janestcapital.com (SMTPD-9.10) id AF2F0248; Tue, 26 Jun 2007 14:47:11 -0400 Message-ID: <46815F1D.2020001@janestcapital.com> Date: Tue, 26 Jun 2007 14:46:53 -0400 From: Andrew Warshaver User-Agent: Thunderbird 2.0.0.0 (X11/20070505) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: ocamlbuild .cmxa Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IMAIL-SPAM-VALFROM: (5f2e0173000024a5) X-IMAIL-SPAM-VALREVDNS: (5f2e0173000024a5) X-Miltered: at concorde with ID 46816433.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; cmxa:01 cmxa:01 sexp:01 lib:01 ocamlfind:01 -package:01 bigarray:01 pcre:01 netstring:01 camlp:01 -pp:01 camlp:01 -pp:01 lib:01 cmo:01 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