Browse thread
undefined symbol `caml_tuplify2' in dynamic rocaml extension
[
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: | Mauricio Fernandez <mfp@a...> |
| Subject: | Re: [Caml-list] undefined symbol `caml_tuplify2' in dynamic rocaml extension |
On Tue, Jul 31, 2007 at 09:01:02PM -0700, Jos Backus wrote: > Hi. I'm trying to use rocaml to wrap an Ocaml library so it can be accessed > from a dynamic Ruby extension (using Callback.register). Everything works, > except when I try to access the Ocaml type from Ruby the following Ruby > LoadError is emitted: > > undefined symbol: caml_tuplify2 > > So my question is: what do I need to do in order to satisfy this symbol? It > doesn't appear in any library. ocaml version is 3.09.2. Do the examples included in rocaml work for you? In particular "oo", where an abstract type is used from Ruby, and "simple", which passes tuples to a function returning a tuple. If you could pinpoint the conversion that's triggering the problem (and it's indeed a problem caused by a Ruby <-> OCaml conversion) we'd be one step away from fixing it. Have you tried to disassemble the extension and see where caml_tuplify2 is being called? -- Mauricio Fernandez - http://eigenclass.org