Browse thread
[Caml-list] mod_caml + dynlink + parsing
- kknowles@u...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | kknowles@u... |
| Subject: | [Caml-list] mod_caml + dynlink + parsing |
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