caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Warp" <warplayer@free.fr>
To: "OCaml" <caml-list@inria.fr>
Subject: Re: [Caml-list] Dynlink
Date: Tue, 8 Jan 2002 22:43:47 +0100	[thread overview]
Message-ID: <005601c1988d$8e2059a0$7e00a8c0@warp> (raw)
In-Reply-To: <005401c197bc$cb887c90$7e00a8c0@warp>

> I'm trying to dynamicly link a  .cma library which contains externals
> references to a DLL.
> I'm setting (Dynlink.allow_unsafe_modules true) but it keeps me raise :
>
> error while linking mylib.cma.
> The external function '...' is not available.
>
> Although this function is available in the dll, it seems that Dynlink
> doesn't manage to load it.
> How can I do that ( tip : It's for plugin loading, so I don't want to have
> any ref to the DLL into my main build process )

Ok sorry (I fenceposted again :)
I forgot the -dllib flag at compile time.
No more need for answers.

Warp

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2002-01-08 21:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-07 20:49 Warp
2002-01-08 21:43 ` Warp [this message]
2004-04-06  2:51 [Caml-list] dynlink Pietro Abate
2004-04-06  5:58 ` Nicolas Cannasse
2004-04-06  7:46   ` Pietro Abate
2015-09-09 13:09 [Caml-list] Dynlink Sébastien Hinderer
2015-09-09 13:19 ` Olivier Andrieu
2015-09-09 13:29   ` Sébastien Hinderer
2015-09-09 13:34     ` Xavier Leroy
2015-09-09 13:44       ` Sébastien Hinderer
2015-09-09 16:03         ` Gerd Stolpmann
2015-09-10 12:08           ` Sébastien Hinderer
2015-09-10 16:57             ` Gerd Stolpmann
2015-09-09 13:25 ` Gabriel Scherer

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='005601c1988d$8e2059a0$7e00a8c0@warp' \
    --to=warplayer@free.fr \
    --cc=caml-list@inria.fr \
    /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).