Re: Error compiling nhc98-1.0pre18



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Tue, 25 Apr 2000 15:05:49 +0100


> nhc98 -p +RTS -H8M -RTS -c -P./ -P../LowB/ -P../PreludeList/ -P../Ratio/ > -part -prelude -redefine > -o .../targets/ix86-Linux/objp/prelude/Prelude/Floating_Double.o > Floating_Double.hs > > Error when renaming:: > Type synonym Prelude.Rational used at 15:27,14:27,4:28 is not defined. > (in overlap resolution) Ok, I think the problem is the -P./ argument - the compiler is picking up the wrong prelude interface file. In src/prelude/Prelude/Makefile, at line 125, change HFLAGS = -P./ -P$(LOW) -P../PreludeList/ -P../Ratio/ -part -prelude -redefine to HFLAGS = -P$(LOW) -P../PreludeList/ -P../Ratio/ -part -prelude -redefine You will probably need to ( cd src/prelude/Prelude; make CFG=p clean ) before carrying on with make all Regards, Malcolm


About this list Date view Thread view Subject view Author view