Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
trouble with Marshal.to_string
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Norman Ramsey <nr@e...>
Subject: Re: [Caml-list] trouble with Marshal.to_string
 > Are you using any C bindings which create custom blocks?  That error  
 > occurs if your custom block does not define a serialization function  
 > (documented here: 
 > manual032.html#s:custom).

Thanks; at least now I have some idea what's happening.

I'm not aware of using any C bindings at all, although I am linking
against the Unix library.  My final executable does contain
definitions of caml_alloc_custom, caml_register_custom_operations, and
related functions, but none of my .o or .a files refers to such a

Any ideas how I might track down the source of a custom block?