Version française
Home     About     Download     Resources     Contact us    
Browse thread
undefined symbol `caml_tuplify2' in dynamic rocaml extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jos Backus <jos@c...>
Subject: rocaml bug + fix
On Wed, Aug 01, 2007 at 10:59:07AM -0700, Jos Backus wrote:
[snip]
> $ make
> kpp_rocaml_wrapper.c:39: error: missing terminating " character
> $ vi kpp_rocaml_wrapper.c
> [Change line 39:
> 
> static VALUE String_list_caml_to_ruby(value v);"
> 
> to
> 
> static VALUE String_list_caml_to_ruby(value v);
> ]

--- rocaml.rb.orig      2007-08-01 19:30:01.000000000 -0400
+++ rocaml.rb   2007-08-01 19:30:33.000000000 -0400
@@ -512,7 +512,7 @@
 
     def caml_to_ruby_prototype
       <<-EOF
-static VALUE #{@typename}_list_caml_to_ruby(value v);"
+static VALUE #{@typename}_list_caml_to_ruby(value v);
 
       EOF
     end

-- 
Jos Backus
jos at catnook.com