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 RAA07794; Thu, 13 May 2004 17:39:56 +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 RAA07453 for ; Thu, 13 May 2004 17:39:55 +0200 (MET DST) From: briand@aracnet.com Received: from citrine.spiritone.com (citrine.spiritone.com [216.99.193.133]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4DFdrSH029824 for ; Thu, 13 May 2004 17:39:54 +0200 Received: from soggy.deldotd.com (216-99-206-32.cust.aracnet.com [216.99.206.32]) by citrine.spiritone.com (8.12.10/8.12.8) with ESMTP id i4DFdmpD000896; Thu, 13 May 2004 08:39:49 -0700 Received: from briand by soggy.deldotd.com with local (Exim 3.36 #1 (Debian)) id 1BOIJI-0002TM-00; Thu, 13 May 2004 08:39:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16547.38591.560988.893447@soggy.deldotd.com> Date: Thu, 13 May 2004 08:39:43 -0700 To: Claudio Trento Cc: caml-list@inria.fr Subject: [Caml-list] Porblem with Num module In-Reply-To: References: X-Mailer: VM 6.92 under Emacs 21.2.1 X-Miltered: at concorde with ID 40A396C9.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamlc:01 ocamlmktop:01 mytop:01 mytop:01 nums:01 bug:01 trento:99 trento:99 bug:01 faq:01 faq:01 beginner's:01 beginners:01 bin:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk It's in the manual (just for future reference). If you are using a system which supports dynamic linking you can just do #load "num.cma";; if you are using windows which does not support dynamic linking you will have to compile. ocamlc other_options num.cma other_files Or make your own top-level which includes num: ocamlmktop -o mytop num.cma ./mytop Brian P.S. In the manual it actually lists the filename as "nums" not "num". Is this a documentation bug ? >>>>> "Claudio" == Claudio Trento writes: Claudio> I`ve included the line "open Num" at the begin of my Claudio> test.ml file to use the Num module. Maybe it's not enough Claudio> because I've this type of error in cmpilation: Claudio> "Error while linking test.cmo: Reference to undefined Claudio> global `Num'" Claudio> Probably I forget something, someone could say me where I Claudio> mistake? Claudio> Thanks, Claudio Claudio> ------------------- To unsubscribe, mail Claudio> caml-list-request@inria.fr Archives: http://caml.inria.fr Claudio> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: Claudio> http://caml.inria.fr/FAQ/ Beginner's list: Claudio> http://groups.yahoo.com/group/ocaml_beginners ------------------- 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