From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA15327; Tue, 8 Jan 2002 22:46:27 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA15528 for ; Tue, 8 Jan 2002 22:46:26 +0100 (MET) Received: from relay-2v.club-internet.fr (relay-2v.club-internet.fr [194.158.96.113]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g08LkQr27740 for ; Tue, 8 Jan 2002 22:46:26 +0100 (MET) Received: from warp (lns05v-5-201.w.club-internet.fr [212.194.88.201]) by relay-2v.club-internet.fr (Postfix) with SMTP id E47B116C7 for ; Tue, 8 Jan 2002 22:46:23 +0100 (CET) Message-ID: <005601c1988d$8e2059a0$7e00a8c0@warp> From: "Warp" To: "OCaml" References: <005401c197bc$cb887c90$7e00a8c0@warp> Subject: Re: [Caml-list] Dynlink Date: Tue, 8 Jan 2002 22:43:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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