Errors compiling nhc98-1.0pre17 with ghc-4.06



About this list Date view Thread view Subject view Author view

José Romildo Malaquias (romildo@urano.iceb.ufop.br)
Wed, 15 Mar 2000 15:32:11 -0300


When compiling nhc, an error on the src/compiler98/Makefile was found related to the GHC 4.06 library reorganization: there is a "-syslib misc" option which the attached patch removes. After this correction compilation still stops with errors with the messages: ===================================================== [...] ghc -syslib lang -c -o /home/romildo/rpms/BUILD/nhc98-1.0pre17/targets/ix86-Linux/obj/compiler98/ Floats.o Floats.hs Floats.hs:7: parse error on input `import' Compilation had errors make[1]: *** [/home/romildo/rpms/BUILD/nhc98-1.0pre17/lib/ix86-Linux/nhc98comp] Error 1 make[1]: Leaving directory `/home/romildo/rpms/BUILD/nhc98-1.0pre17/src/compiler98' make: *** [targets/ix86-Linux/compiler-ghc] Error 2 ===================================================== Any hints? Romildo -- Prof. José Romildo Malaquias <romildo@iceb.ufop.br> Departamento de Computação Universidade Federal de Ouro Preto Brasil

diff -ur nhc98-1.0pre17.orig/src/compiler98/Makefile nhc98-1.0pre17/src/compiler98/Makefile --- nhc98-1.0pre17.orig/src/compiler98/Makefile Tue Mar 14 08:40:43 2000 +++ nhc98-1.0pre17/src/compiler98/Makefile Wed Mar 15 14:48:29 2000 @@ -48,7 +48,7 @@ export HFLAGS endif ifeq "ghc" "${HC}" -HMAKEFLAGS=$(shell $(LOCAL)fixghc $(GHCSYM) +CTS -syslib lang -syslib misc -CTS) +HMAKEFLAGS=$(shell $(LOCAL)fixghc $(GHCSYM) +CTS -syslib lang -CTS) $(TARGET): $(OBJDIR)/ghc_floats.o LINK=ghc_floats.o else -------------------------------------------------------------------- To unsubscribe, send a message containing the word `unsubscribe' to: nhc-users-request@cs.york.ac.uk --------------------------------------------------------------------


About this list Date view Thread view Subject view Author view