[nhc-bugs] 1.10 build fails with ghc-5.02.1

Marko Schuetz MarkoSchuetz@web.de
Wed, 23 Jan 2002 10:15:39 +0100


Malcolm,

From: Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk>
Subject: Re: [nhc-bugs] 1.10 build fails with ghc-5.02.1
Date: Tue, 22 Jan 2002 13:28:41 +0000

> > The build fails with ghc-5.02.1 on a freebsd 4.4-stable machine:
[..]
> Try the following patch.  If it doesn't solve the problem, let me know.

It solves this problem. Thanks, but now the build fails later:

[..]
/var/tmp/src/nhc98-1.10/script/nhc98 -cpp -c +CTS -part -redefine -CTS -P../LowB/ -P../ix86-FreeBSD -prelude -o /var/tmp/src/nhc98-1.10/targets/ix86-FreeBSD/obj/prelude/PreludeIO/Show_IOError.o Show_IOError.hs

====================================
        Error when renaming::
Identifier hGetFileName used at 30:23,18:39 is not defined.
gmake[2]: *** [/var/tmp/src/nhc98-1.10/targets/ix86-FreeBSD/obj/prelude/PreludeIO/Show_IOError.o] Error 1
gmake[2]: Leaving directory `/var/tmp/src/nhc98-1.10/src/prelude/PreludeIO'
gmake[1]: *** [PreludeIO.make] Error 2
gmake[1]: Leaving directory `/var/tmp/src/nhc98-1.10/src/prelude'
gmake: *** [targets/ix86-FreeBSD/prelude] Error 2


Marko