Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: kknowles@uclink.berkeley.edu
To: caml-list@inria.fr
Subject: [Caml-list] Re: mod_caml + dynlink + parsing
Date: Thu, 11 Sep 2003 12:02:20 -0700	[thread overview]
Message-ID: <20030911190220.GA2479@tallman.kefka.frap.net> (raw)
In-Reply-To: <20030911183932.GA2057@tallman.kefka.frap.net>

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, kknowles@uclink.berkeley.edu 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 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


  reply	other threads:[~2003-09-11 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 18:39 [Caml-list] " kknowles
2003-09-11 19:02 ` kknowles [this message]
2003-09-11 19:17   ` [Caml-list] " Richard Jones
2003-09-12  1:31     ` kknowles
2003-09-12 11:43       ` [Caml-list] mod_caml now supports Apache 2 API Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030911190220.GA2479@tallman.kefka.frap.net \
    --to=kknowles@uclink.berkeley.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox