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: Tue, 22 Nov 2005 11:54:42 +0100 (CET)	[thread overview]
Message-ID: <2659.192.168.1.2.1132656882.squirrel@gps.dynxs.de> (raw)
In-Reply-To: <20051121225903.0551f20e@crazy.kos.nx>


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
------------------------------------------------------------



  reply	other threads:[~2005-11-22 10:54 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 ` Gerd Stolpmann [this message]
2005-11-22 10:59   ` [Caml-list] " Thomas Petazzoni
2005-11-22 11:15   ` Thomas Petazzoni
2005-11-23  8:56     ` Gerd Stolpmann
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=2659.192.168.1.2.1132656882.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).