caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ed Keith <e_d_k@yahoo.com>
To: caml-list@inria.fr, Matthieu Wipliez <mwipliez@yahoo.fr>
Subject: Re: Re : [Caml-list] Problem using camlp4o on windows.
Date: Tue, 27 Jan 2009 08:58:54 -0800 (PST)	[thread overview]
Message-ID: <883152.46118.qm@web54106.mail.re2.yahoo.com> (raw)

That solved the problem.

Thank you very much.

    -EdK

Ed Keith
e_d_k@yahoo.com

Blog: edkeith.blogspot.com

--- On Tue, 1/27/09, Matthieu Wipliez <mwipliez@yahoo.fr> wrote:

From: Matthieu Wipliez <mwipliez@yahoo.fr>
Subject: Re : [Caml-list] Problem using camlp4o on windows.
To: caml-list@inria.fr
Date: Tuesday, January 27, 2009, 11:37 AM

>   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?

I don't think so :-)
Since version 3.11 if you want to use Camlp4 you also need to explicitly load Dynlink, in order to avoid multiple linking problem (or something like that).
This is listed in the Changes:

  Camlp4:
  * programs linked with camlp4lib.cma now also need dynlink.cma.

Using #load "dynlink.cma";; before loading camlp4 will do the trick (I just checked).

Cheers,
Matthieu





_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs






             reply	other threads:[~2009-01-27 16:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 16:58 Ed Keith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-27 16:11 Ed Keith
2009-01-27 16:37 ` Re : [Caml-list] " Matthieu Wipliez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=883152.46118.qm@web54106.mail.re2.yahoo.com \
    --to=e_d_k@yahoo.com \
    --cc=caml-list@inria.fr \
    --cc=mwipliez@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).