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 TAA27394; Tue, 22 Jun 2004 19:29:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA26784 for ; Tue, 22 Jun 2004 19:29:22 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mwinf0303.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i5MHTLEV017908 for ; Tue, 22 Jun 2004 19:29:21 +0200 Received: from morgana (ARennes-303-1-5-9.w80-15.abo.wanadoo.fr [80.15.137.9]) by mwinf0303.wanadoo.fr (SMTP Server) with ESMTP id CE7835000D07; Tue, 22 Jun 2004 19:29:20 +0200 (CEST) Received: from david by morgana with local (Exim 4.32) id 1Bcp5D-0000Xq-Nu; Tue, 22 Jun 2004 19:29:19 +0200 To: "Conway, Christopher L (Christopher)** CTR **" Cc: "'caml-list@inria.fr'" Subject: Re: [Caml-list] problem with threads and ocamldep References: From: David MENTRE Organization: none Date: Tue, 22 Jun 2004 19:29:19 +0200 In-Reply-To: (Christopher L. Conway's message of "Tue, 22 Jun 2004 09:58:38 -0400") Message-ID: <878yefmrgw.fsf@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 40D86C71.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 threads:01 ocamldep:01 dmentre:01 ctr:99 threads:01 -thread:01 ocamldep:01 lablgtk:01 dmentre:01 compiler:01 cmxa:01 ocaml:01 ocaml:01 lib:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello Christopher, "Conway, Christopher L (Christopher)** CTR **" writes: > I am having a problem adding threads to a large project I am working > on. If I added "-thread" and "threads.cmxa" and compile, it works > fine. However, when I run ocamldep, it generates a dependency on > $(OCAML_BUILD_DIR)/lib/ocaml/thread.cmi which then leads to the > following when I run make: I faced a similar issue with lablgtk. Put only *your* source files into ocamldep call, no compiler flag or libraries. I hope it'll solve your problem. Yours, david -- David Mentré ------------------- 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