From: Philippe Wang <lists@philippewang.info>
To: Joel Reymont <joelr1@gmail.com>, ocaml ml <caml-list@inria.fr>
Subject: Re: [Caml-list] Cygwin, OCaml 3.10 and dllunix
Date: Mon, 02 Jul 2007 16:15:30 +0200 [thread overview]
Message-ID: <46890882.1090205@philippewang.info> (raw)
In-Reply-To: <EAEF5616-490D-4FE3-99E3-33604F7A0909@gmail.com>
Joel Reymont wrote:
> How would I resolve this error under Cygwin?
>
> /usr/local/lib/ocaml/unix.cma: loaded
> Cannot load required shared library dllunix.
> Reason: dllunix.so: dynamic loading not supported on this platform.
> /usr/local/lib/ocaml/site-lib/oUnit: added to search path
> /usr/local/lib/ocaml/site-lib/oUnit/oUnit.cma: loaded
> Reference to undefined global `Unix'
>
> Thanks, Joel
>
>
> --
> http://topdog.cc - EasyLanguage to C# compiler
> http://wagerlabs.com - Blog
Hi,
It seems you want to load modules with the top level ("ocaml" command),
but your system doesn't allow dynamic loading...
So I suggest you to use ocamlmktop.
It allows you to create a toplevel with the required libraries.
http://caml.inria.fr/pub/docs/manual-ocaml/manual023.html#htoc113
--
Philippe Wang
mail[at]philippewang.info
prev parent reply other threads:[~2007-07-02 14:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 13:32 Joel Reymont
2007-07-02 13:57 ` [Caml-list] " Igor Peshansky
2007-07-02 18:43 ` Alain Frisch
2007-07-02 14:15 ` Philippe Wang [this message]
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=46890882.1090205@philippewang.info \
--to=lists@philippewang.info \
--cc=caml-list@inria.fr \
--cc=joelr1@gmail.com \
/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