From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p0BA0KvC009968 for ; Tue, 11 Jan 2011 11:00:20 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgFADi5K03DBceE/2dsb2JhbACECJIejgh7iCebNYk9jiSBIYM3dASLDoUq X-IronPort-AV: E=Sophos;i="4.60,306,1291590000"; d="scan'208";a="84809207" Received: from societegide-199-132.cnt.nerim.net (HELO khaki.gide.net) ([195.5.199.132]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Jan 2011 11:00:15 +0100 Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) (authenticated bits=0) by khaki.gide.net (8.13.8/8.13.8) with ESMTP id p0BA0CYc018215 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Tue, 11 Jan 2011 11:00:14 +0100 Received: by qwj9 with SMTP id 9so20957314qwj.27 for ; Tue, 11 Jan 2011 02:00:11 -0800 (PST) Received: by 10.229.211.6 with SMTP id gm6mr1553349qcb.112.1294740011690; Tue, 11 Jan 2011 02:00:11 -0800 (PST) MIME-Version: 1.0 Reply-To: remi.dewitte@gide.net Received: by 10.229.127.25 with HTTP; Tue, 11 Jan 2011 01:59:51 -0800 (PST) From: =?UTF-8?Q?R=C3=A9mi_Dewitte?= Date: Tue, 11 Jan 2011 10:59:51 +0100 Message-ID: To: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p0BA0KvC009968 Subject: [Caml-list] bin_prot Hello, I am struggling to native compile with bin_prot 1.3.0 because it fails at link stage : gcc: lib/libbin_prot.a: No such file or directory File "caml_startup", line 1, characters 0-1: Byte compilation works fine. I have investigated a bit : - At the end of my /usr/local/lib/ocaml/3.11.2/bin_prot/bin_prot.cmxa, I can see MG@ 1lib/libbin_prot.a *-lbin_prot@@ - bin-prot source files are in a lib/ directory when building bin-prot I use the : - ocaml and ocamlbuild 3.11.2 - gcc 4.4.3 - ocamfind 1.2.5 Do you have any idea ? To test, create a simple ml :   type a = A | B of int   with bin_io My _tags contains : <*> : syntax_camlp4o,pkg_bin_prot.syntax Use a generic myocamlbuild.ml from http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild#Generic_plugin Then: ocamlbuild truc.native Many thanks, Rémi