Browse thread
Trouble with findlib and threads
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-22 (10:54) |
From: | Gerd Stolpmann <info@g...> |
Subject: | Re: [Caml-list] Trouble with findlib and threads |
Thomas Petazzoni said: > Hi, > > [ As I'm not on the list, please Cc: the replies. Thanks ! ] > > I'm trying to get findlib to work with threads support on a Mandriva > 2006 (mainly to compile equeue). For this, I've recompiled the Ocaml > compiler with --with-pthread, and then findlib. However, it still > doesn't work: > > [tpetazzoni@thomas tmp]$ cat toto.ml > let f a = a + 1 > [tpetazzoni@thomas tmp]$ ocamlopt -thread threads.cmxa toto.ml > [tpetazzoni@thomas tmp]$ ocamlfind ocamlopt -thread threads.cmxa toto.ml > ocamlfind: ocamlopt does not support multi-threaded programs for your > configuration > > I've tested findlib 1.0.4 and 1.1, both with OCaml 3.08.3. Any idea ? This is a configuration issue. I need the output of the configure script of findlib to help you. Obviously, findlib did not detect that multi-threading is supported. Gerd ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de ------------------------------------------------------------