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 PAA28117; Tue, 22 Jun 2004 15:58:43 +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 PAA27636 for ; Tue, 22 Jun 2004 15:58:42 +0200 (MET DST) Received: from hoemail1.lucent.com (hoemail1.lucent.com [192.11.226.161]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5MDweSH006977 for ; Tue, 22 Jun 2004 15:58:41 +0200 Received: from nj9620exch001p.wins.lucent.com (h135-222-4-21.lucent.com [135.222.4.21]) by hoemail1.lucent.com (8.12.11/8.12.11) with ESMTP id i5MDwdXO004707 for ; Tue, 22 Jun 2004 08:58:39 -0500 (CDT) Received: by nj9620exch001p.mh.lucent.com with Internet Mail Service (5.5.2657.72) id ; Tue, 22 Jun 2004 09:58:39 -0400 Message-ID: From: "Conway, Christopher L (Christopher)** CTR **" To: "'caml-list@inria.fr'" Subject: [Caml-list] problem with threads and ocamldep Date: Tue, 22 Jun 2004 09:58:38 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-Miltered: at concorde with ID 40D83B10.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ctr:99 threads:01 ocamldep:01 threads:01 -thread:01 ocamldep:01 ocamlc:01 -thread:01 mli:01 chris:01 cmxa:01 ocaml:01 ocaml:01 lib:01 lib:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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: ocamlc -thread -c $(OCAML_BUILD_DIR)/lib/ocaml/thread.mli I/O error: $(OCAML_BUILD_DIR)/lib/ocaml/thread.cmi: Permission denied The dependency on thread.cmi seems to be bogus. Is there a switch I can give ocamldep so that it won't generate this? Is it likely that something in my build process is tricking ocamldep into producing it? I've tried this a number of ways, and can't get the thread code to compile alongside the rest of the project. Chris ------------------- 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