Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] problem with threads and ocamldep
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] problem with threads and ocamldep
Hello Christopher,

"Conway, Christopher L (Christopher)** CTR **" <cconway@lucent.com> 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é <dmentre@linux-france.org>

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