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, 19 Apr 2000 15:27:03 -0300


On Wed, Apr 19, 2000 at 06:47:48PM +0100, Malcolm Wallace wrote: > > nhc98 -c -p [...] src/prelude/Numeric/ShowFloat.o ShowFloat.hs > > Type constructor Rational used at 40:12 is not defined. > > I'm not entirely sure of the cause of this, but in > src/prelude/Numeric/ShowFloat.hs, try either commenting out > the line > > > import Ratio(Ratio,(%)) > > or changing it to > > > import Ratio(Ratio,Rational,(%)) This worked. Now, a new error was found: -------------------------------------------------------------------------------- [...] /home/romildo/rpms/BUILD/nhc98-1.0pre18/script/nhc98 -p +RTS -H8M -RTS -c -P./ -P../LowB/ -P../PreludeList/ -P../Ratio/ -part -prelude -redefine -o /home/romildo/rpms/BUILD/nhc98-1.0pre18/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) make[2]: *** [/home/romildo/rpms/BUILD/nhc98-1.0pre18/targets/ix86-Linux/objp/prelude/Prelude/Floating_Double.o] Error 1 make[2]: Leaving directory `/home/romildo/rpms/BUILD/nhc98-1.0pre18/src/prelude/Prelude' make[1]: *** [Prelude.make] Error 2 make[1]: Leaving directory `/home/romildo/rpms/BUILD/nhc98-1.0pre18/src/prelude' make: *** [targets/ix86-Linux/profprelude] Error 2 -------------------------------------------------------------------------------- Any hints for this? 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