From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA06687 for caml-redistribution; Thu, 4 Mar 1999 19:58:27 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA12193 for ; Thu, 4 Mar 1999 11:02:58 +0100 (MET) Received: from aristote.irit.fr (aristote.irit.fr [141.115.8.69]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id LAA20266 for ; Thu, 4 Mar 1999 11:02:56 +0100 (MET) Received: from aristote (localhost [127.0.0.1]) by aristote.irit.fr (8.8.8/8.8.8) with SMTP id LAA05584 for ; Thu, 4 Mar 1999 11:02:48 +0100 (MET) Sender: weis Message-ID: <36DE5A47.6E0C@irit.fr> Date: Thu, 04 Mar 1999 11:02:47 +0100 From: Hugues CASSE Organization: I.R.I.T. X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5 sun4c) MIME-Version: 1.0 To: CAML Subject: Error whith DynLink module Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I use the follozing function to load a declaration using only definition from Syntax module defined into /home/casse/absint/intptr/ directory. This piece of code is contained in file loadprog.ml, module Loadprog, and all is successfully compiled by the line : ocamlc dynlink.cma syntax.ml loadprog.ml -o loadprog let load_prog name = Dynlink.init (); print_endline "OK !"; flush stdout; Dynlink.add_interfaces ["Syntax"] ["/home/casse/absint/intptr/"; "/usr/local/caml/ocaml-2.00/lib/"]; print_endline "KO !"; flush stdout; try begin Dynlink.loadfile name; true end with Dynlink.Error err -> print_endline (Dynlink.error_message err); false Zhen I execute the program, I get the following output... OK ! KO ! no implementation available for Digest Can somenody help me ? -- ------------------------------------------------------------------------ CASSE Hugues |Heureux qui,comme Ulysse,a fait un beau voyage IRIT, 1R1, p14 |Ou comme celui-la qui conquit la Toison, |Et puis est retourne plein d'usage et raison, PHONE: (+33)5-61-556-611 |Vivre entre ses parents le reste de son age ! (poste 73-20) | Les Regrets, Du Bellay ------------------------------------------------------------------------ mailto:casse@irit.fr http://www.irit.fr/~Hugues.Casse