caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Conglun Yao <yaoconglun@gmail.com>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Dynlink and ocamlfind for camlp4 3.11?
Date: Sun, 4 Oct 2009 20:32:17 +0100	[thread overview]
Message-ID: <f7b50d2a0910041232g17ef1cf4v870996f1c66ebf33@mail.gmail.com> (raw)
In-Reply-To: <20091004190509.GA31372@annexia.org>

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

Thanks, Rich.

ocamlfind ocamlc -package dynlink,json-static -syntax camlp4o -c test.ml
ocamlfind ocamlc -package "dynlink,json-static" -syntax camlp4o -c test.ml
ocamlfind ocamlc -package 'dynlink,json-static' -syntax camlp4o -c test.ml

But it still does not work.

System:  cygwin  + OCaml 3.11.1 + findlib 1.2.5 + json-staic 0,9.8

Everything works fine when I use Ubuntu, but when changed to cygwin, it
breaks.

Conglun

On Sun, Oct 4, 2009 at 8:05 PM, Richard Jones <rich@annexia.org> wrote:

> 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
>

[-- Attachment #2: Type: text/html, Size: 1694 bytes --]

  reply	other threads:[~2009-10-04 19:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-04 14:22 Conglun Yao
2009-10-04 14:24 ` Conglun Yao
2009-10-04 19:05 ` [Caml-list] " Richard Jones
2009-10-04 19:32   ` Conglun Yao [this message]
2009-10-04 19:37     ` Richard Jones
2009-10-04 19:53       ` Conglun Yao
2009-10-04 20:06         ` Conglun Yao
2009-10-04 20:33         ` Richard Jones
2009-10-04 20:35           ` Richard Jones
2009-10-04 21:14             ` David Allsopp
2009-10-04 21:40               ` Conglun Yao
2009-10-05  7:39                 ` David Allsopp
2009-10-05 10:14                   ` Conglun Yao
2009-10-05 13:35         ` Gerd Stolpmann
2009-10-05 15:17           ` Conglun Yao
2009-10-05 17:28             ` David Allsopp
2009-10-05 17:55           ` Alain Frisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7b50d2a0910041232g17ef1cf4v870996f1c66ebf33@mail.gmail.com \
    --to=yaoconglun@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=rich@annexia.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).