caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Weis <pierre.weis@inria.fr>
To: zilles@1969.ws (Karl Zilles)
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] inconsistent assumptions over interface Pervasives
Date: Mon, 29 Sep 2003 23:30:34 +0200 (MET DST)	[thread overview]
Message-ID: <200309292130.XAA04819@pauillac.inria.fr> (raw)
In-Reply-To: <3F788479.1030408@1969.ws> from Karl Zilles at "Sep 29, 103 12:14:01 pm"

> I've just upgraded to 3.07, and I'm recompiling some of my code that 
> depends heavily on libraries.  It seems that code compiled with earlier 
> versions of the standard libraries is not compatible with code compiled 
> under 3.07:
> 
> "The files /usr/local/lib/ocaml/pervasives.cmi and 
> /usr/local/lib/ocaml/site-lib/pcre/pcre.cmi make inconsistent 
> assumptions over interface Pervasives"
> 
> This is not a problem for me right now, since I have source to the 
> libraries I'm using, but it seems like it would be a problem if people 
> distribute commercial libraries for OCaml.

Right you have to recompile your libraries from scratch or wait for a
new binary distribution compatible with O'Caml 3.07.

This is also true for your own programs: you should remove old .cmo
and .cmi compiled object files.

Normally, if your library uses a regular Makefile, the command

$ make clean; make

should solve the problem.

Hope this helps,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-09-29 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 19:14 Karl Zilles
2003-09-29 21:30 ` Pierre Weis [this message]
2003-09-30 17:11 ` Sven Luther

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=200309292130.XAA04819@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=zilles@1969.ws \
    /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).