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.9 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 3FA78BB84 for ; Tue, 27 Jan 2009 17:58:56 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwAAOnLfknOviXxmWdsb2JhbACMZYchAQEBAQEICwoHEadfj0cFAgGFSQ X-IronPort-AV: E=Sophos;i="4.37,332,1231110000"; d="scan'208";a="22101387" Received: from web54106.mail.re2.yahoo.com ([206.190.37.241]) by mail3-smtp-sop.national.inria.fr with SMTP; 27 Jan 2009 17:58:55 +0100 Received: (qmail 47694 invoked by uid 60001); 27 Jan 2009 16:58: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:Content-Transfer-Encoding:Message-ID; b=u+ajOFJbiDCvOMbF3zIQVo+1iMmi+91P/Y98Qkhf00tdsC63Wfj+6f8vX5pTnOPfwa4IBCFUsWCMNyp8zAsG/h6MULCsKpJC8CWTMSYC7XuKlIRKd9MP72RfCboar8rALYqhAaqsxZ8GOpQMRUMTY7iQuahbgji8UNRxnai6CG4=; X-YMail-OSG: DGWmJ4kVM1lRQPeB90MdiRwTaD_uPJzkxtU3zjfoXfjomEwJpGKUwqryKEeZfAYehnN0zaerhir8GGZriGa5Oh8UEBgSsycGjlV.QGM935buRQjdmJCOv8xVdhWb.0jUSU4McCq4hVjPK9pp4DiRYTnFibLrweAvm654Wvr4EGUVcpw.Dzufbb7KSvBERzErUK7GA228bAJmeXUc7ylGNUy6TXvZ7DAffmkAE9qAPdccu5Xf1cnstSgPsGuZ2j2OpHALlPe1oaTj6gzvZS6yDS3DYJd18g6jTxAu7BBO Received: from [129.44.178.153] by web54106.mail.re2.yahoo.com via HTTP; Tue, 27 Jan 2009 08:58:54 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 27 Jan 2009 08:58:54 -0800 (PST) From: Ed Keith Subject: Re: Re : [Caml-list] Problem using camlp4o on windows. To: caml-list@inria.fr, Matthieu Wipliez MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <883152.46118.qm@web54106.mail.re2.yahoo.com> X-Spam: no; 0.00; camlp:01 matthieu:01 matthieu:01 camlp:01 ocaml:01 ocaml:01 dynlink:01 lib:01 dynlink:01 cheers:01 beginner's:01 bug:01 blog:98 beginners:01 wrote:01 That solved the problem.=0A=0AThank you very much.=0A=0A -EdK=0A=0AEd Ke= ith=0Ae_d_k@yahoo.com=0A=0ABlog: edkeith.blogspot.com=0A=0A--- On Tue, 1/27= /09, Matthieu Wipliez wrote:=0A=0AFrom: Matthieu Wiplie= z =0ASubject: Re : [Caml-list] Problem using camlp4o on = windows.=0ATo: caml-list@inria.fr=0ADate: Tuesday, January 27, 2009, 11:37 = AM=0A=0A>=A0=A0=A0C:\Documents and Settings\Ed Keith\My Documents\playpen\o= caml>ocaml=0A=0A>=A0 =A0 =A0 =A0=A0=A0Objective Caml version 3.11.0=0A> =0A= >=A0=A0=A0# #load "camlp4o.cma";;=0A>=A0=A0=A0Characters -1--1:=0A>=A0 =A0= =A0=A0#load "camlp4o.cma";;=0A> =0A>=A0=A0=A0Error: Reference to undefined = global `Dynlink'=0A>=A0=A0=A0# exit 0;;=0A> =0A> I have searched the web an= d I am beginning to suspect that I can not use camlp4 =0A> on a windows sys= tem, is this the case?=0A=0AI don't think so :-)=0ASince version 3.11 if yo= u want to use Camlp4 you also need to explicitly load Dynlink, in order to = avoid multiple linking problem (or something like that).=0AThis is listed i= n the Changes:=0A=0A=A0 Camlp4:=0A=A0 * programs linked with camlp4lib.cma = now also need dynlink.cma.=0A=0AUsing #load "dynlink.cma";; before loading = camlp4 will do the trick (I just checked).=0A=0ACheers,=0AMatthieu=0A=0A=0A= =0A=0A=0A_______________________________________________=0ACaml-list mailin= g list. Subscription management:=0Ahttp://yquem.inria.fr/cgi-bin/mailman/li= stinfo/caml-list=0AArchives: http://caml.inria.fr=0ABeginner's list: http:/= /groups.yahoo.com/group/ocaml_beginners=0ABug reports: http://caml.inria.fr= /bin/caml-bugs=0A=0A=0A=0A