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 PAA03545; Mon, 17 Feb 2003 15:53:05 +0100 (MET) 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 PAA03559 for ; Mon, 17 Feb 2003 15:53:04 +0100 (MET) Received: from glp (dhcp003.cere.pa.cnr.it [147.163.3.242]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1HEr3f27275 for ; Mon, 17 Feb 2003 15:53:03 +0100 (MET) Received: from [147.163.3.242] by GLP (ArGoSoft Mail Server Freeware, Version 1.8 (1.8.1.9)); Mon, 17 Feb 2003 15:54:17 +0100 From: "Giuseppe Lo Presti" To: Subject: [Caml-list] mutually dependent modules Date: Mon, 17 Feb 2003 15:54:09 +0100 Message-ID: <000001c2d694$71b20070$f203a393@GLP> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi all, Let's suppose that we have two mutually dependent modules, a.ml and b.ml, i.e. in b.ml there is a call like A.f1() and in a.ml there is a call like B.f2(). The question is how to link these modules? The .cmi and .cmo compiling process runs ok, but when the linker tries to build the executable, it stops saying something like: Reference to undefined global `B' make: *** [executable] Error 2 Any ideas? Giuseppe Lo Presti ------------------- 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