caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Conway, Christopher L (Christopher)** CTR **" <cconway@lucent.com>
To: "'caml-list@inria.fr'" <caml-list@inria.fr>
Subject: [Caml-list] problem with threads and ocamldep
Date: Tue, 22 Jun 2004 09:58:38 -0400	[thread overview]
Message-ID: <F5F54E2EC6FEC14AAC3C9F28E8EE7EB808432204@nj9620exch002u.mh.lucent.com> (raw)

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 <snip> -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


             reply	other threads:[~2004-06-22 13:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 13:58 Conway, Christopher L (Christopher)** CTR ** [this message]
2004-06-22 17:29 ` David MENTRE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F5F54E2EC6FEC14AAC3C9F28E8EE7EB808432204@nj9620exch002u.mh.lucent.com \
    --to=cconway@lucent.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).