Re: Error compiling nhc98-1.0pre18



About this list Date view Thread view Subject view Author view

José Romildo Malaquias (romildo@urano.iceb.ufop.br)
Wed, 26 Apr 2000 08:45:46 -0300


On Tue, Apr 25, 2000 at 03:05:49PM +0100, Malcolm Wallace wrote: > > 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 That worked and I could finally "make all" with ghc-4.06. Thanks. Romildo -- Prof. José Romildo Malaquias <romildo@iceb.ufop.br> Departamento de Computação Universidade Federal de Ouro Preto Brasil


About this list Date view Thread view Subject view Author view