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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id EA432BBAF for ; Sun, 4 Oct 2009 16:22:36 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjUCAN9MyErRVdzPkGdsb2JhbACCJDGOZYh9PwEBAQEJCQwHEwOkeYE7jXABAwMFhCUEgVI X-IronPort-AV: E=Sophos;i="4.44,503,1249250400"; d="scan'208";a="47889875" Received: from mail-fx0-f207.google.com ([209.85.220.207]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Oct 2009 16:22:32 +0200 Received: by fxm3 with SMTP id 3so2111191fxm.44 for ; Sun, 04 Oct 2009 07:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=J6AQTZozBBspLkRyR5WcmikF52C5yFQDENQY2YIq0BY=; b=nf3/R+MdnkPbbXmSW62+YHJQNmZdZ2eO1s1+72eF1kPFYVLhuDgGnylKzwJFsiPohc Flx5A26Erv5aorGZtD6CDv9LgQJxqs5joq+qJuL9nyGfvC3TxC8SzEJNPrBvy1vrkhOX ZImxBiduXa93Glvz4EJkafzCQ7Vkl6Wxjcfww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LQvHIx1/y/iC4ViYpyukTg5PjaleXln6CJszUxSVOxi2zdXEBstLSn05apQX4j7Md0 EEsb0NNntZfU0Oi50hQZNlOyAigUC49ukJrOqUzTPLrv9W40s9IoAqA+TiMbVzAgoZmj 87VVqJ9NNfuMfbwrnEYuYwd5XEd3i5cCFadRs= MIME-Version: 1.0 Received: by 10.204.156.24 with SMTP id u24mr3047881bkw.172.1254666151097; Sun, 04 Oct 2009 07:22:31 -0700 (PDT) Date: Sun, 4 Oct 2009 15:22:31 +0100 Message-ID: Subject: Dynlink and ocamlfind for camlp4 3.11? From: Conglun Yao To: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0015175dda9a3f788804751cba16 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 ocaml:01 ocamlc:01 -package:01 -linkpkg:01 W18:98 --0015175dda9a3f788804751cba16 Content-Type: text/plain; charset=ISO-8859-1 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. Thanks for any help. Conglun --0015175dda9a3f788804751cba16 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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.
Thanks for any help.

Conglun
--0015175dda9a3f788804751cba16--