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
Trouble with findlib and threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] Trouble with findlib and threads
Thomas Petazzoni said:
> Hi again,
> Gerd Stolpmann wrote:
>> 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.
> Here is the output of the test made by the configure script:
> [tpetazzoni@thomas findlib-1.1]$ ocamlc -custom -thread -o
> itest-aux/simple unix.cma threads.cma itest-aux/
> i loop index unused ?
> I don't know if it's useful or not.

Yes, very useful. Obviously, the printed warning prevents findlib from
detecting posix threading. This is a bug in findlib-1.1.

You can work around this by setting the variable OCAML_THREADS=posix in

Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany