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.8 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 87EE2BBAF for ; Sun, 4 Oct 2009 21:05:10 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am0EAH+OyEpQRFuwWWdsb2JhbACaawEUF7NHhCoEgVI X-IronPort-AV: E=Sophos;i="4.44,503,1249250400"; d="scan'208";a="34181578" Received: from furbychan.cocan.org ([80.68.91.176]) by mail2-smtp-roc.national.inria.fr with ESMTP; 04 Oct 2009 21:05:10 +0200 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1MuWOL-0008TO-OU; Sun, 04 Oct 2009 20:05:09 +0100 Date: Sun, 4 Oct 2009 20:05:09 +0100 To: Conglun Yao Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Dynlink and ocamlfind for camlp4 3.11? Message-ID: <20091004190509.GA31372@annexia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; dynlink:01 ocamlfind:01 camlp:01 0100,:01 ocaml:01 camlp:01 dynlink:01 ocamlfind:01 ocamlc:01 -package:01 -linkpkg:01 2009:98 wrote:01 caml-list:01 undefined:01 On Sun, Oct 04, 2009 at 03:22:31PM +0100, 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 Is there really a space in "dynlink, json-static". You'll need to try it without the space, or quote it. Rich. -- Richard Jones Red Hat