From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id DF5A57FB2F for ; Fri, 5 Dec 2014 19:49:27 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.07,523,1413237600"; d="scan'208";a="92118540" Received: from mail-ig0-f180.google.com ([209.85.213.180]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 05 Dec 2014 19:49:27 +0100 Received: by mail-ig0-f180.google.com with SMTP id h15so1223410igd.13 for ; Fri, 05 Dec 2014 10:49:25 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.42.155.197 with SMTP id v5mr16723797icw.52.1417805365952; Fri, 05 Dec 2014 10:49:25 -0800 (PST) Received: by 10.107.39.20 with HTTP; Fri, 5 Dec 2014 10:49:25 -0800 (PST) In-Reply-To: <3AF10A644F6848F39F306EA2C19D3E3F@Ganymede> References: <3AF10A644F6848F39F306EA2C19D3E3F@Ganymede> Date: Fri, 5 Dec 2014 13:49:25 -0500 Message-ID: From: Damien Doligez To: Alain Coste Cc: caml-list@inria.fr Content-Type: multipart/alternative; boundary=90e6ba6e87fe32c73605097c89df Subject: Re: [Caml-list] OCaml-4.02.1 on windows XP --90e6ba6e87fe32c73605097c89df Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > 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 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 =C3=A9lectronique ne contient aucun virus ou logiciel malveil= lant > 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 --90e6ba6e87fe32c73605097c89df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> Fatal error: exception Cmi_format.Error(_)

I don't know how this exception escaped (it is suppo= sed 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. Yo= u should remove them, and also the .cmo, .cmx, etc. and recompile everythin= g (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 fo= r
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
=C2=A0 =C2=A0 =C2=A0 =C2=A0OCaml 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 =C3=A9lectronique ne contient aucun virus ou logiciel malveilla= nt parce que la protection avast! Antivirus est active.
http://www.avast.com=


--
Caml-list mailing list.=C2=A0 Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners<= /a>
Bug reports:
http://caml.inria.fr/bin/caml-bugs
=

--90e6ba6e87fe32c73605097c89df--