* [Caml-list] mod_caml 0.4 & continuing dynlink problems
@ 2003-08-10 15:46 Richard Jones
2003-08-10 22:13 ` Daniel Bünzli
0 siblings, 1 reply; 3+ messages in thread
From: Richard Jones @ 2003-08-10 15:46 UTC (permalink / raw)
To: caml-list
On the links below you'll find mod_caml 0.4. You'll also need the
associated patch against the clean ocaml 3.06 tree.
The version still doesn't work. This time, following advice from David
Gurr, I put the C primitives from the .so file into the table of
primitives (by hacking Dynlink again to call Dynlink.set_prim_table).
OCaml now recognises them but doesn't bind them to the correct values.
I can't understand how this binding happens with external references.
I tried breakpointing various obvious candidates, eg.,
dynlink.c:lookup_primitive, build_primitive_table; but these never
seem to be called as far as I can see.
The result is that when the code tries to call the external C function
mod_caml_request_uri, it jumps to an apparently random address and
crashes.
Ideas?
Rich.
http://www.annexia.org/tmp/ocaml-3.06.dynlink.patch2
http://www.annexia.org/tmp/mod_caml-0.4.tar.gz
--
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
MAKE+ is a sane replacement for GNU autoconf/automake. One script compiles,
RPMs, pkgs etc. Linux, BSD, Solaris. http://www.annexia.org/freeware/makeplus/
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] mod_caml 0.4 & continuing dynlink problems
2003-08-10 15:46 [Caml-list] mod_caml 0.4 & continuing dynlink problems Richard Jones
@ 2003-08-10 22:13 ` Daniel Bünzli
2003-08-11 8:18 ` Richard Jones
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Bünzli @ 2003-08-10 22:13 UTC (permalink / raw)
To: caml-list
Le Dimanche, 10 aoû 2003, à 17:46 Europe/Zurich, Richard Jones a écrit :
> Ideas?
If you consult the humps, you will see that a mod_caml was already
developed (I never used it), you can find it there
<http://www.slacky.de/docs/development/download.html>
Maybe it will fullfith your needs or you'll find a basis to build on it.
Daniel
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] mod_caml 0.4 & continuing dynlink problems
2003-08-10 22:13 ` Daniel Bünzli
@ 2003-08-11 8:18 ` Richard Jones
0 siblings, 0 replies; 3+ messages in thread
From: Richard Jones @ 2003-08-11 8:18 UTC (permalink / raw)
To: Daniel B?nzli; +Cc: caml-list
On Mon, Aug 11, 2003 at 12:13:17AM +0200, Daniel B?nzli wrote:
>
> Le Dimanche, 10 ao? 2003, ? 17:46 Europe/Zurich, Richard Jones a ?crit :
>
> > Ideas?
>
> If you consult the humps, you will see that a mod_caml was already
> developed (I never used it), you can find it there
>
> <http://www.slacky.de/docs/development/download.html>
I've already looked at this code. It doesn't allow you to access the
full Apache API. This is the purpose of mod_caml.
Rich.
--
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
"My karma ran over your dogma"
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-11 8:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-10 15:46 [Caml-list] mod_caml 0.4 & continuing dynlink problems Richard Jones
2003-08-10 22:13 ` Daniel Bünzli
2003-08-11 8:18 ` Richard Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox