ghc --make and missing interface files
Simon Marlow
simonmar at microsoft.com
Wed Jun 4 05:59:32 EDT 2003
> Hello all, I have a file BinaryIO. This used to import a module
> HGetCharHack to work around an annoying problem with ghc5.04 which
> meant that hGetChar was blocking unexpectedly. However I see that
> this problem has now been fixed in ghc6 (ta very much, Simon) so I
> deleted the files HGetCharHack.*, modified BinaryIO to stop importing
> it, and then tried to compile it using ghc --make. However the thing
> fell over, as follows:
>
> > Skipping ... (lots of files) ...
> > Skipping UnionFind
> >
> > Could not find interface file for `HGetCharHack'
> > (use -v to see a list of the files searched for)
Yes, this is a known bug (it's been on my whiteboard for a few months).
We will get around to fixing it at some point. In the meantime,
deleting the offending .hi file is the easy workaround.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list