
Hi, I'm having difficulty compiling nhc-1.12 for Solaris 2.8 x86. The trouble seems to be with DErrno.hs: make[1]: Entering directory `/home/jon/tgz/nhc/nhc98-1.12/src/prelude/ix86-solaris2' rm -f *.hi rm -f DErrNo.hc rm -f /home/jon/tgz/nhc/nhc98-1.12/targets/ix86-solaris2/obj/prelude/DErrNo/*.o *.o rm -f rm -f /home/jon/tgz/nhc/nhc98-1.12/script/nhc98 -cpp -c +CTS -lib -redefine -CTS +RTS -H32M -RTS -o /home/jon/tgz/nhc/nhc98-1.12/targets/ix86-solaris2/obj/prelude/DErrNo/DErrNo.o DErrNo.hs Killed make[1]: *** [/home/jon/tgz/nhc/nhc98-1.12/targets/ix86-solaris2/obj/prelude/DErrNo/DErrNo.o] Error 1 make[1]: Leaving directory `/home/jon/tgz/nhc/nhc98-1.12/src/prelude/ix86-solaris2' make: *** [targets/ix86-solaris2/compiler-gcc] Error 2 I've tried replacing the generated DErrno.hs with the default version using only the GNU utils (ie, removing /usr/ccs/bin from my PATH) using gcc without any optimization applying both patches to 1.12 (the hmake and ranlib patches) to no avail. I'm attaching the generated DErrno.hs and the output of LD_OPTIONS="-L/opt/sfw/lib -R/opt/sfw/lib" ./configure --buildwith=gcc --buildopts="-I/opt/sfw/include" --prefix=/usr/local/$(basename $(pwd)) | tee install_notes I can of course send you any other files, output, etc you might need. By the way, on Solaris /usr/ccs/bin/make and /usr/xpg4/bin/make complain about unexpected end of lines in Makefile.inc (and other Makefiles). Thanks, Jon Bernard