From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 7383C7F71A for ; Wed, 23 Apr 2014 10:52:43 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of rj@robertjakob.de) identity=pra; client-ip=37.59.40.50; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rj@robertjakob.de"; x-sender="rj@robertjakob.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of rj@robertjakob.de) identity=mailfrom; client-ip=37.59.40.50; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rj@robertjakob.de"; x-sender="rj@robertjakob.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@robertjakob.de) identity=helo; client-ip=37.59.40.50; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rj@robertjakob.de"; x-sender="postmaster@robertjakob.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcUAIp+V1MlOygy/2dsb2JhbABZgwZPEAPEdguBDBZ0giUBAQQBeQULCw44ITYGE4gtAwkIBAnIKQ2GbReMQIEwNTMHLoJ2gRUElwWDJ4Uehi2FU4Mz X-IPAS-Result: ArcUAIp+V1MlOygy/2dsb2JhbABZgwZPEAPEdguBDBZ0giUBAQQBeQULCw44ITYGE4gtAwkIBAnIKQ2GbReMQIEwNTMHLoJ2gRUElwWDJ4Uehi2FU4Mz X-IronPort-AV: E=Sophos;i="4.97,910,1389740400"; d="scan'208";a="69694274" Received: from robertjakob.de ([37.59.40.50]) by mail2-smtp-roc.national.inria.fr with ESMTP; 23 Apr 2014 10:52:43 +0200 Received: from c166188.informatik.uni-freiburg.de (c166188.informatik.uni-freiburg.de [132.230.166.188]) by robertjakob.de (Postfix) with ESMTPSA id 49AC280920; Wed, 23 Apr 2014 10:52:41 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) From: Robert Jakob In-Reply-To: Date: Wed, 23 Apr 2014 10:52:39 +0200 Cc: caml-list@inria.fr Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Evgenii Lepikhin X-Mailer: Apple Mail (2.1874) Subject: Re: [Caml-list] strange behavior of camlp4 + batteries On 23.04.2014, at 10:26, Evgenii Lepikhin wrote: > Hello, >=20 > I was unable to use Batteries inside camlp4 module. Short command line te= st: >=20 > $ camlp4o -I .../ocaml -I .../batteries -I .../num nums.cma bigarray.cma > batteries.cma >=20 > Camlp4: Uncaught exception: DynLoader.Error (".../batteries.cma", "error = while > linking .../batteries.cma.\nThe external function `caml_ba_dim_3' is not > available") >=20 > Bigarray is installed correctly: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > $ cat test.ml > open Bigarray >=20 > let () =3D > let a =3D Array3.create float32 c_layout 10 10 10 in > Printf.printf "dim3 =3D %i\n" (Array3.dim3 a) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > $ ocamlbuild -use-ocamlfind test.native -- > Finished, 4 targets (0 cached) in 00:00:00. > dim3 =3D 10 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 > What=92s wrong? May be this is related to this error? http://www.robertjakob.de/posts/camlb= adim.html Robert=