Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 **" <> 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.

 David Mentré <>

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: