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=2.6 required=5.0 tests=AWL,DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 76415BBAF for ; Sun, 4 Oct 2009 16:24:40 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuYBAK5MyErRVdrRkGdsb2JhbACCJy6OZYh9PwEBAQEJCQwHEwOkd4E7jXABAwMFhCUEgVI X-IronPort-AV: E=Sophos;i="4.44,503,1249250400"; d="scan'208";a="37482722" Received: from mail-bw0-f209.google.com ([209.85.218.209]) by mail1-smtp-roc.national.inria.fr with ESMTP; 04 Oct 2009 16:24:40 +0200 Received: by bwz5 with SMTP id 5so1950954bwz.27 for ; Sun, 04 Oct 2009 07:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=80qSzg3+irr9JCYwsJij3dhKbuMGHXEisc69O8ScCzQ=; b=L0X9UVJrqPVYiFfWBI/LhvUvsjR9IwKQReaNJ8YGiGpX0kyN/ChUzNhjy8F4fkz5U3 L4lRg4tJs+8r03ZaR4i3559qaQ1mCrsFaTqssR6uZ2L669nmqEKeTM1tlkw0ILfqO9MI volKbmpis8HCXH+0060ZH5b70oSy9GTmawjTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QIYjX6Pepc+VonxKQQ8Kh3/RgFqiEZJnKGD0gNR2Jxfs+7tmlgH/MR/Fn5gTiE0xxQ e0qe0jgXtNhbcjRqzpl9MhKKsNtirs8gO8LOVaPSlMXU61I+COoo62FRgL+Pz7WEXl7x wgStzbokjYCxl2r8/RRE6c3RY7T5hGdhmBIMs= MIME-Version: 1.0 Received: by 10.204.26.130 with SMTP id e2mr1875677bkc.144.1254666279621; Sun, 04 Oct 2009 07:24:39 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Oct 2009 15:24:39 +0100 Message-ID: Subject: Re: Dynlink and ocamlfind for camlp4 3.11? From: Conglun Yao To: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0003255574f2e895b304751cc1c3 X-Spam: no; 0.00; dynlink:01 ocamlfind:01 camlp:01 ocaml:01 camlp:01 dynlink:01 ocamlfind:01 ocamlc:01 -package:01 -linkpkg:01 cygwin:01 ocaml:01 ocamlc:01 -package:01 -linkpkg:01 --0003255574f2e895b304751cc1c3 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Oct 4, 2009 at 3:22 PM, Conglun Yao wrote: > Dear all, > > I have tried to use json-static in OCaml 3.11, but met the annoying > problem: > > Reference to undefined global `Dynlink' > > > As Camlp4 3.11 requires explicit load of dynlink, so I tried > > ocamlfind ocamlc -package dynlink, json-static -syntax > camlp4o -o test test.ml -linkpkg > > But failed with the same error. > Sorry, forget to say, I tried this under cygwin. > > Thanks for any help. > > Conglun > --0003255574f2e895b304751cc1c3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sun, Oct 4, 2009 at 3:22 PM, Conglun = Yao <yaoconglu= n@gmail.com> wrote:
Dear all,

I have tried to use json-static in OCaml 3.11, but met the= annoying problem:

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 Reference to undefined global `Dynlink'


As Camlp4 = 3.11 requires explicit load of=A0 dynlink, so I tried
=A0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ocamlfind oca= mlc -package dynlink, json-static -syntax camlp4o -o test=A0 test.ml -linkpkg

But failed with = the same error.
=A0

Sorry, forget to say,=A0 I tried this under cygwin.

=A0
=
Thanks for any help.

Conglun

--0003255574f2e895b304751cc1c3--