From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id CBF84BB9A for ; Sat, 8 Oct 2005 18:35:22 +0200 (CEST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j98GZLDH009344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 8 Oct 2005 18:35:22 +0200 Received: from localhost (localhost.eecs.harvard.edu [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id EDFE435AFC; Sat, 8 Oct 2005 12:35:18 -0400 (EDT) Received: from mail.eecs.harvard.edu ([127.0.0.1]) by localhost (bowser.eecs.harvard.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47830-05; Sat, 8 Oct 2005 12:35:18 -0400 (EDT) Received: from labrador.eecs.harvard.edu (labrador.eecs.harvard.edu [140.247.60.247]) by mail.eecs.harvard.edu (Postfix) with ESMTP id C2CFB35ADA; Sat, 8 Oct 2005 12:35:18 -0400 (EDT) Received: by labrador.eecs.harvard.edu (Postfix, from userid 32074) id B1B262B2A62; Sat, 8 Oct 2005 12:35:18 -0400 (EDT) To: Anil Madhavapeddy Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] trouble with Marshal.to_string In-reply-to: <1456CFD1-55B7-4A3B-B121-6B27529F94BE@recoil.org> References: <20051008153429.A2314289004@toller> <1456CFD1-55B7-4A3B-B121-6B27529F94BE@recoil.org> Comments: In-reply-to Anil Madhavapeddy message dated "Sat, 08 Oct 2005 17:09:31 +0100." Date: Sat, 08 Oct 2005 12:35:17 -0400 From: Norman Ramsey Message-Id: <20051008163518.B1B262B2A62@labrador.eecs.harvard.edu> X-Virus-Scanned: by EECS Amavis at eecs.harvard.edu X-Miltered: at concorde with ID 4347F549.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 bindings:01 bindings:01 alloc:01 unix:01 marshal:01 functions:01 define:01 eecs:01 caml:02 caml:02 linking:03 string:03 executable:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 > 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: http://caml.inria.fr/pub/docs/manual-ocaml/ > 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 function. Any ideas how I might track down the source of a custom block? Norman