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: Thomas Petazzoni <thomas.petazzoni@e...>
Subject: Trouble with findlib and threads

[ 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 
let f a = a + 1
[tpetazzoni@thomas tmp]$ ocamlopt -thread threads.cmxa
[tpetazzoni@thomas tmp]$ ocamlfind ocamlopt -thread threads.cmxa
ocamlfind: ocamlopt does not support multi-threaded programs for your

I've tested findlib 1.0.4 and 1.1, both with OCaml 3.08.3. Any idea ?


http://{thomas,sos,kos} - Jabber:
http://{agenda,livret} -
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7