package name mismatch

Simon Marlow
Mon, 15 Jul 2002 11:51:18 +0100

> Building htk, I've got an error:
> TestGetPut.hs:6:
>     Module `GetPut' is located in package `Main'
>     but its interface file claims it is part of package
>     `uni-events-test'
> It happened (as far as I got) when ghc saw in current path
> the *.hi file built for installation. There are some ways to
> work around it, but, there was a lot of such places, so can
> I just skip the 'package name' check and go as it is?

This was converted to a warning in, I think, ghc 5.02.3.  Please
upgrade, preferably to 5.04.