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 UAA00637; Thu, 11 Sep 2003 20:39:36 +0200 (MET DST) 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 UAA25094 for ; Thu, 11 Sep 2003 20:39:34 +0200 (MET DST) Received: from tallman.kefka.frap.net (adsl-64-162-212-212.dsl.snfc21.pacbell.net [64.162.212.212]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8BIdXf07751 for ; Thu, 11 Sep 2003 20:39:33 +0200 (MET DST) Received: by tallman.kefka.frap.net (Postfix, from userid 1000) id B53F7AED2E; Thu, 11 Sep 2003 11:39:32 -0700 (PDT) Date: Thu, 11 Sep 2003 11:39:32 -0700 From: kknowles@uclink.berkeley.edu To: caml-list@inria.fr Subject: [Caml-list] mod_caml + dynlink + parsing Message-ID: <20030911183932.GA2057@tallman.kefka.frap.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; dynlink:01 3.06:01 dynlink:01 usr:01 ocaml:01 caml:01 caml:01 handler:01 interfaces:01 linking:02 modules:02 modules:02 module:03 module:03 cma:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I've got mod_caml up and running in my apache2 installation, the examples work fine, but I'm having a bit of trouble with dynamic loading of my handler (ocaml 3.06), and I think it is a Dynlink issue rather than a mod_caml one. My modules uses a lot of the standard library, and mod_caml did not expose Array in its call to Dynlink.add_interfaces. In fact, I added Str, Array, Parsing, and Lexing to this list. But the module still fails to load, with the following error: Failure("error while linking /usr/local/apache2/modules/mod_aspcc.cma. Reference to undefined global `Parsing'") When an interface is not exposed through Dynlink, the error message is along the lines of "An implementation for module XXX is not available" (Sorry I don't have the exact message), so I think this is something else. Can anyone help with this? -Kenn ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners