[nhc-bugs] 1.10 build fails with ghc-5.02.1
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Wed, 23 Jan 2002 15:03:02 +0000
Marko,
> another successful step, now it builds this far:
>
> [..]
> nhc98 +RTS -K10M -RTS +CTS -H20M -CTS -c -d /var/tmp/src/nhc98-1.10/targets/ix86-FreeBSD/obj/hat HatTrace.gc
> Warning unrecognized run-time flag -K10M ignored.
>
> ====================================
> Error when renaming::
> Type constructor ForeignObj defined 2 times.
> gmake[1]: *** [/var/tmp/src/nhc98-1.10/lib/ix86-FreeBSD/hat-observe] Error 1
> gmake[1]: Leaving directory `/var/tmp/src/nhc98-1.10/src/tracer/hat'
> gmake: *** [lib/ix86-FreeBSD/hat-stack] Error 2
I think you probably already have an older version of nhc98
installed, and this part of the build is using the old version.
If you `make install' the 1.10 version, then `make' again, I believe
it should complete the build correctly. Then you can `make install'
a second time.
Regards,
Malcolm