caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Gerd Stolpmann" <info@gerd-stolpmann.de>
To: "Thomas Petazzoni" <thomas.petazzoni@enix.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Trouble with findlib and threads
Date: Wed, 23 Nov 2005 09:56:37 +0100 (CET)	[thread overview]
Message-ID: <2483.192.168.1.2.1132736197.squirrel@gps.dynxs.de> (raw)
In-Reply-To: <4382FDEE.5010708@enix.org>

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/simple_threads.ml
> 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
Makefile.config.

Gerd
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
------------------------------------------------------------



  reply	other threads:[~2005-11-23  8:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 21:59 Thomas Petazzoni
2005-11-22 10:54 ` [Caml-list] " Gerd Stolpmann
2005-11-22 10:59   ` Thomas Petazzoni
2005-11-22 11:15   ` Thomas Petazzoni
2005-11-23  8:56     ` Gerd Stolpmann [this message]
2005-11-23  9:04       ` Stefano Zacchiroli
2005-11-23 12:07         ` Gerd Stolpmann
2005-11-23  9:06       ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2483.192.168.1.2.1132736197.squirrel@gps.dynxs.de \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=thomas.petazzoni@enix.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).