Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
vacuous findlib warnings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-26 (22:33)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] vacuous findlib warnings
On Mon, Feb 26, 2007 at 10:42:42AM -0500, Sam Steingold wrote:
> I see findlib warnings like this:
> findlib: [WARNING] Interface qbase.cmi occurs in several directories: 
> ../../lib, .
> this is because there is indeed ../../lib/qbase.cmi which is a symbolic 
> link pointing to ./qbase.cmi (so there is no real duplication, the files 
> point to the same inode).
> Is it possible to modify findlib to check that the files are really 
> different disk objects (inodes) before issuing the warning?

Agreed.  Even better if it could compare the md5 of the interfaces.


Richard Jones
Red Hat UK Limited