caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: Alain Coste <coste@irit.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml-4.02.1 on windows XP
Date: Fri, 5 Dec 2014 13:49:25 -0500	[thread overview]
Message-ID: <CALGm1VhYs3Djx0AM=A5Zsz_QLtnmYTNGCHhZkxQarTyWTL9xZA@mail.gmail.com> (raw)
In-Reply-To: <3AF10A644F6848F39F306EA2C19D3E3F@Ganymede>

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

> Fatal error: exception Cmi_format.Error(_)

I don't know how this exception escaped (it is supposed to be caught by the
compiler) but it looks like you have some old .cmi files lying around that
were compiled by your previous version of OCaml. You should remove them,
and also the .cmo, .cmx, etc. and recompile everything (including any
third-party libraries that you might have installed).

-- Damien

On Mon, Dec 1, 2014 at 5:27 AM, Alain Coste <coste@irit.fr> wrote:

> Hello
> My OS is windows XP SP3.
> Two years ago, I installed OCaml.4.00.1 from the source code distribution,
> using MinGW Cygwin. Everything worked fine.
> Yesterday I tried to install OCaml.4.02.1 in the same conditions (source
> code,MinGW Cygwin).
> The process seems to be exactly the same, following README.win32 (except
> for
> the variable TK_ROOT in Makefile, no longer pertinent).
> The system build with no fatal error. I got some (many!) warnings, but as I
> remember, it was the same with version 4.00.1.
> But, when I tried to launch ocaml.exe I got the message:
>
> D:\OCaml-4.02.1-mgw-perso\bin>ocaml.exe
>        OCaml version 4.02.1
>
> Fatal error: exception Cmi_format.Error(_)
>
> The exception Error is not listed (at least for the module Cmi_format) in
> the index of exceptions of the manual. Perhaps a problem of Dynamic link,
> but I don't know what to do.
> And there is no description associated with the exception!
> A search on the Web didn't give me informations I could understand.
>
> Thanks in advance for your answers.
>
> Alain Coste
>
>
> ---
> Ce courrier électronique ne contient aucun virus ou logiciel malveillant
> parce que la protection avast! Antivirus est active.
> http://www.avast.com
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

[-- Attachment #2: Type: text/html, Size: 2826 bytes --]

  parent reply	other threads:[~2014-12-05 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01 10:27 Alain Coste
2014-12-01 10:57 ` David Allsopp
2014-12-01 15:46   ` Alain Coste
2014-12-01 15:52     ` Fabrice Le Fessant
2014-12-01 10:59 ` Fabrice Le Fessant
2014-12-01 12:00   ` Daniel Bünzli
2014-12-05 18:49 ` Damien Doligez [this message]
2014-12-05 22:22   ` David Allsopp

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='CALGm1VhYs3Djx0AM=A5Zsz_QLtnmYTNGCHhZkxQarTyWTL9xZA@mail.gmail.com' \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=coste@irit.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).