From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 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 85BF4BC0A for ; Mon, 16 Apr 2007 22:20:30 +0200 (CEST) Received: from hub.hrl.com (hub.hrl.com [208.179.241.200]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3GKKTQ8010676 for ; Mon, 16 Apr 2007 22:20:30 +0200 Received: from [192.27.172.110] (dangle.hrl.com [192.27.172.110]) by hpux03.hrl.com (iPlanet Messaging Server 5.2 HotFix 2.10 (built Dec 26 2005)) with ESMTP id <0JGL00LKQXU476@hpux03.hrl.com> for caml-list@inria.fr; Mon, 16 Apr 2007 13:20:28 -0700 (PDT) Date: Mon, 16 Apr 2007 13:20:28 -0700 From: Aleksey Nogin Subject: 3.10.0+beta - "Not_found" from a custom camlp4 executable (Delete.delete_rule_in_suffix) To: Caml List Reply-To: Caml List , Aleksey Nogin Message-id: <4623DA8C.1000702@metaprl.org> Organization: MetaPRL/Mojave Research Group MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070301) X-Miltered: at concorde with ID 4623DA8D.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 camlp:01 ocamlc:01 -thread:01 -custom:01 threads:01 lib:01 cmo:01 parsers:01 cmo:01 -linkall:01 uncaught:01 ocamldebug:01 unix:01 exception:01 I am trying to figure out how to use the new camlp4 (so that I can have some hope of migrating our MetaPRL Theorem Prover - http://metaprl.org/ to it). I thought that I'd start with something simple - port our local mods to pa_macro (now Camlp4MacroParser). First, I tried making sure I know how to build and link the thing. Compiling an unmodified Camlp4MacroParser was not a problem, but then I got the following: % ocamlc -g -thread -I -custom -o macroprint unix.cma threads.cma camlp4/camlp4lib.cma camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo Camlp4MacroParser.cmo camlp4/Camlp4Filters/Camlp4TrashRemover.cmo camlp4/Camlp4Bin.cmo -linkall % ./macroprint Camlp4: Uncaught exception: Not_found ocamldebug revealed that the Not_found is being raised from the Delete.delete_rule_in_suffix function. What am I doing wrong? TIA for any help! Aleksey