package name mismatch

Max Kirillov max630@mail.ru
Sun, 14 Jul 2002 01:21:20 +0700


Hello!

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?

In

http://www.haskell.org/pipermail/glasgow-haskell-users/2002-January/002849.html

Simon Marlow said that it is a warning. That wold be nice,
but I see an error.

that's ghc-5.02

Max.