From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA17499; Tue, 10 Dec 2002 20:21:05 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA17585 for ; Tue, 10 Dec 2002 20:21:04 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBAJL4X10406 for ; Tue, 10 Dec 2002 20:21:04 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id UAA06215 for caml-list@inria.fr; Tue, 10 Dec 2002 20:21:04 +0100 Date: Tue, 10 Dec 2002 20:21:04 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Camlp4 not work with ocamlc. Message-ID: <20021210202104.O4933@verdot.inria.fr> References: <20021210182729.G4933@verdot.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from potanin@mccme.ru on Tue, Dec 10, 2002 at 09:49:48PM +0300 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Tue, Dec 10, 2002 at 09:49:48PM +0300, Mike Potanin wrote: > I place complite example at http://wtk.ru/pm/fp/caml/tr.tgz bat currently > it "raw". I wont make "syntax sugar" - tr-command like Perl. > <:tr> "asdf" work from top, but can not comlile: > > bash$ ocamlc -pp "camlp4o ./tr.cma" test.ml > Error while loading "./tr.cma": no implementation available for Tr_parser. > Preprocessor error Ok I see. This is probably because of the module Dynlink of OCaml which needed that the interfaces was internally recorded with the program "extract_crc". The "no implementation available" seems to be rather "no interface available". In the current version of Dynlink, it is no more necessary, and in my version, your example works perfectly well. It will be ok in next release of OCaml. -- Daniel de RAUGLAUDRE http://cristal.inria.fr/~ddr/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners