From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA18481; Mon, 29 Sep 2003 23:31:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA05261 for ; Mon, 29 Sep 2003 23:31:03 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8TLUZH06807; Mon, 29 Sep 2003 23:30:35 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA04819; Mon, 29 Sep 2003 23:30:34 +0200 (MET DST) From: Pierre Weis Message-Id: <200309292130.XAA04819@pauillac.inria.fr> Subject: Re: [Caml-list] inconsistent assumptions over interface Pervasives In-Reply-To: <3F788479.1030408@1969.ws> from Karl Zilles at "Sep 29, 103 12:14:01 pm" To: zilles@1969.ws (Karl Zilles) Date: Mon, 29 Sep 2003 23:30:34 +0200 (MET DST) Cc: caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pierre:01 weis:01 pierre:01 weis:01 caml-list:01 pervasives:01 3.07:01 usr:01 pervasives:01 usr:01 site-lib:01 pcre:01 pcre:01 cristal:01 cmo:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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