English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-06-22 (17:29)
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.

 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