Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] mod_caml + dynlink + parsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-09-11 (19:02)
From: kknowles@u...
Subject: [Caml-list] Re: mod_caml + dynlink + parsing
Just an update, I've done a few more sanity checks with other parts of the
standard library, and a module using Array, Hashtbl, List, Random works... so
I'm convinced it is a specific issue, rather than a general misuse of Dynlink.

On Thu, Sep 11, 2003 at 11:39:32AM -0700, wrote:
> 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 Archives:
Bug reports: FAQ:
Beginner's list: