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=1.7 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 34406BB84 for ; Tue, 27 Jan 2009 17:11:56 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwAAFzBfknOviXxmWdsb2JhbACMZYchAQEBAQEICwoHEadEj0UFAgGFSQ X-IronPort-AV: E=Sophos;i="4.37,332,1231110000"; d="scan'208";a="22098985" Received: from web54106.mail.re2.yahoo.com ([206.190.37.241]) by mail3-smtp-sop.national.inria.fr with SMTP; 27 Jan 2009 17:11:55 +0100 Received: (qmail 13017 invoked by uid 60001); 27 Jan 2009 16:11:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Lqkl6r4QMevWmi5++HxNI9uYCQseJfCq+XPaOuzJhcVr7CHv8oLQsHT1gCg1hg0N8+zzWa+uMwR+sQOFHWPjmndeWuM033yArTbUbXZmfWWgykEc8dvYCU4IEYFJxLVczhmUrKmL7oXfQVOQ/ed+0b0gu0sN9L6m9wQzhpEqI+k=; X-YMail-OSG: 8NlMFfIVM1kIEZx5ZUu4CiF1tWkeU7QUSHHjELhQ50DKgQxcGfUFT1uouw7CnU2QciKdjZ93cLEU5aDnDKZdBVFK.mejuVbzeqYN.d2I.vdyfgJkJ8GoafkRTtqwhOPJUezdxkBCtFxozxx_7izlfk0CP6JEX149ViHBGkIxGUzQqlv97wDh.N5TNQwi1RhY5NpYs3yKMzV2z1jpIMHUBE39LP8V4OURDAvdKkCv97Xj.cxXCw.qjyJp8DfCsWIQuMAxSeoQ7pTHqWEU2ESGLZrODf17ZcO7A.ZEhSH. Received: from [129.44.178.153] by web54106.mail.re2.yahoo.com via HTTP; Tue, 27 Jan 2009 08:11:54 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 27 Jan 2009 08:11:54 -0800 (PST) From: Ed Keith Subject: Problem using camlp4o on windows. To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <584127.5307.qm@web54106.mail.re2.yahoo.com> X-Spam: no; 0.00; camlp:01 camlp:01 syntax:01 expr:01 lident:01 expr:01 seq:01 iter:01 seq:01 ocaml:01 ocamlc:01 lib:01 -pp:01 ocaml:01 blog:98 I am trying to learn to use camlp4. I started by working my way through the tutorial at http://www.ocaml-tutorial.org/camlp4_3.10/foreach_tutorial I created the file : open Camlp4.PreCast open Syntax EXTEND Gram expr: LEVEL "top" [ [ "for"; v = a_LIDENT; "in"; m = a_UIDENT; e = expr; "do"; seq = sequence; "done" -> <:expr< $uid:m$.iter (fun $lid:v$ -> $seq$) $e$ >> ] ] ; END and complied it with the command line: C:\Documents and Settings\Ed Keith\My Documents\playpen\ocaml>ocamlc -I +camlp4 camlp4lib.cma -pp camlp4orf -c pa_foreach.ml So far so good. Then I ran into the following problem when I tried to use it. Here is the result: C:\Documents and Settings\Ed Keith\My Documents\playpen\ocaml>ocaml Objective Caml version 3.11.0 # #load "camlp4o.cma";; Characters -1--1: #load "camlp4o.cma";; Error: Reference to undefined global `Dynlink' # exit 0;; I have searched the web and I am beginning to suspect that I can not use camlp4 on a windows system, is this the case? If so I can move to a Linux box, but if I can not use it to generate portable code it will not be very useful for me to learn it. -EdK Ed Keith e_d_k@yahoo.com Blog: edkeith.blogspot.com