From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA17423; Sat, 8 May 2004 17:16:30 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA17601 for ; Sat, 8 May 2004 17:16:29 +0200 (MET DST) Received: from corwin.easynet.fr (corwin.easynet.fr [212.180.1.123]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i48FGSSH003020 for ; Sat, 8 May 2004 17:16:29 +0200 Received: from asi-62.asi256ip.easynet.fr ([212.180.39.62] helo=gros) by corwin.easynet.fr with esmtp (Exim 4.32) id 1BMTYy-00089U-IK for caml-list@inria.fr; Sat, 08 May 2004 17:16:28 +0200 Received: from grand ([192.168.0.14] helo=grand.gallu.homelinux.org) by gros with smtp (Exim 3.36 #1 (Debian)) id 1BMTYy-0004gv-00 for ; Sat, 08 May 2004 17:16:28 +0200 Received: by grand.gallu.homelinux.org (sSMTP sendmail emulation); Sat, 8 May 2004 17:16:28 +0200 From: "Sylvain LE GALL" Date: Sat, 8 May 2004 17:16:28 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] Problem using modules like "Str", "Graphics" under Windows Message-ID: <20040508151628.GB2048@grand> Mail-Followup-To: caml-list@inria.fr References: <20040508164752.C306.HSUDBROCK@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040508164752.C306.HSUDBROCK@web.de> User-Agent: Mutt/1.5.6i X-Miltered: at concorde with ID 409CF9CC.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gall:01 le-gall:01 caml-list:01 2004:99 3.07:01 ocamlmktop:01 mytop:01 mytop:01 gall:01 ocaml:01 ocaml:01 command:98 supported:01 0200,:01 linking:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, May 08, 2004 at 04:53:12PM +0200, Henning Sudbrock wrote: > Hello, > > I am trying to use the module "Str" with ocaml 3.07+2. > > My problem is that when I enter a command like "Str.split;;" in the > ocaml-toplevel, I get the answer "Reference to undefined global 'Str' ". > Also when I try to open the module via "open Str;;" first, I get the > same answer when typing "split;;" afterwards. > > I would be thankful for any help with this problem. > > With kind regards, Henning Sudbrock > Hello, What about : For interactive use of the str library, do: ocamlmktop -o mytop str.cma ./mytop or (if dynamic linking of C libraries is supported on your platform), start ocaml and type #load "str.cma";;. Kind regard Sylvain Le Gall ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners