From: "Mark Shinwell" <mshinwell@janestcapital.com>
To: David McClain <dbm@refined-audiometrics.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Threads?
Date: Thu, 23 Apr 2009 08:42:12 +0100 [thread overview]
Message-ID: <20090423074212.GW29676@janestcapital.com> (raw)
In-Reply-To: <CA490C1C-1279-4EDD-B2A7-51E9D678FBBD@refined-audiometrics.com>
On Thu, Apr 23, 2009 at 12:37:14AM -0700, David McClain wrote:
> It's been about 5 years since I faced this situation. I'm trying to link
> my program against the Thread module. Things go well until I do the
> ocamlopt compilation, then it aborts the make with the message:
>
> ocamlfind ocamlopt -thread -o sdsp.opt -package camlp4 -package
> threads -package unix -I ../src -I /usr/local/lib/ocaml/threads \
> -thread -cclib threads.a nums.cmxa sdsp.cmxa threads/threads.cmxa \
> readline.cmx scmMain.cmx
>
> File "_none_", line 1, characters 0-1:
> Error: No implementations provided for the following modules:
> Thread referenced from ../src/sdsp.cmxa(SdlPrims)
> make[1]: *** [sdsp.opt] Error 2
> make: *** [subdirs] Error 2
The order of the files on the command line matters here. You need to follow
the order given on the page:
http://caml.inria.fr/pub/docs/manual-ocaml/manual038.html
(in particular it looks like your sdsp.cmxa needs to come after threads.cmxa).
Does that make it work?
Mark
next prev parent reply other threads:[~2009-04-23 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 7:37 Threads? David McClain
2009-04-23 7:42 ` Mark Shinwell [this message]
2009-04-23 8:23 ` [Caml-list] Threads? David McClain
2009-04-23 8:24 ` David Allsopp
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=20090423074212.GW29676@janestcapital.com \
--to=mshinwell@janestcapital.com \
--cc=caml-list@inria.fr \
--cc=dbm@refined-audiometrics.com \
/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