[cvs-nhc98] Fix error (nthcon: n==0 con==37) due to an interface file

Ian Lynagh igloo@earth.li
Wed, 19 Dec 2001 15:45:07 +0000


On Wed, Dec 19, 2001 at 03:54:17PM +0100, Malcolm Wallace wrote:
> malcolm: Wed Dec 19 15:54:17 CET 2001
> 
> Update of /usr/src/master/nhc/src/prelude/LowB
> In directory hinken:/tmp/cvs-serv18916
> 
> Modified Files:
> 	PrimOpenSocket.hs 
> Log Message:
> Fix error (nthcon: n==0 con==37) due to an interface file containing
> `data IO a' instead of `newtype IO a'.

OK, that seems to have got it.

I also had to compile Hat.hs by hand with "+RTS -K2M" as:

/home/ian/cvs/nhc/script/nhc98 -cpp -p -c +CTS -lib  -redefine -CTS
-o /home/ian/cvs/nhc/targets/ix86-Linux/objp/prelude/Hat/Hat.p.o Hat.hs
Stack space overflow: current size 1048576 bytes.
Use `+RTS -Ksize' to increase it.
make[2]: ***
[/home/ian/cvs/nhc/targets/ix86-Linux/objp/prelude/Hat/Hat.p.o] Error 1
make[2]: Leaving directory `/home/ian/cvs/nhc/src/prelude/Hat'
make[1]: *** [Hat.make] Error 2
make[1]: Leaving directory `/home/ian/cvs/nhc/src/prelude'
make: *** [targets/ix86-Linux/profprelude] Error 2

(I couldn't find an environment variable for default options to NHC
easily - is there one?)


Ian, still building...