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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id EF1B3BC69 for ; Mon, 2 Jul 2007 16:15:35 +0200 (CEST) Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [213.186.42.179]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id l62EFZUx007717 for ; Mon, 2 Jul 2007 16:15:35 +0200 Received: (qmail 151 invoked by uid 503); 2 Jul 2007 14:15:59 -0000 Received: (QMFILT: 1.0); 02 Jul 2007 14:15:59 -0000 Received: from b6.ovh.net (HELO mail148.ha.ovh.net) (213.186.33.56) by 26.mail-out.ovh.net with SMTP; 2 Jul 2007 14:15:59 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 2 Jul 2007 14:15:33 -0000 Received: from unknown (HELO ?132.227.62.166?) (132.227.62.166) by ns0.ovh.net with SMTP; 2 Jul 2007 14:15:30 -0000 Message-ID: <46890882.1090205@philippewang.info> Date: Mon, 02 Jul 2007 16:15:30 +0200 From: Philippe Wang User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: Joel Reymont , ocaml ml Subject: Re: [Caml-list] Cygwin, OCaml 3.10 and dllunix References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Remote: 132.227.62.166 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Miltered: at concorde with ID 46890887.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; cygwin:01 ocaml:01 dllunix:01 cygwin:01 usr:01 lib:01 ocaml:01 dllunix:01 usr:01 lib:01 site-lib:01 site-lib:01 unix':01 compiler:01 ocamlmktop:01 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