[nhc-bugs] NHC Compilation Failure
Yu Di
diyu60607 at yahoo.com
Wed Jan 9 13:26:41 EST 2008
Hi, I downloaded the source of nhc98-1.20 and tried to compile it, but when it is linking greencard-nhc98, I got multiple errors like:
.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0x49): In function `FR_Prelude_46cFIsNeg':
: undefined reference to `signbit'
.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0xc9): In function `FR_Prelude_46cFIsNormal':
: undefined reference to `isnormal'
.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0x149): In function `FR_Prelude_46cFIsFinite':
: undefined reference to `isfinite'
Then, when it is linking lib/x86_64-Linux/MkProg, there is another error:
.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RemoveFile.o)(.data+0xc): undefined reference to `FR_Directory_46unlink_35'
and soon after this the whole make fails because there is no lib/x86_64-Linux/MkConfig.
uname -a shows:
Linux ... 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
and targets/x86_64-Linux/config.cache shows:
INSTALLDIR=...
DOCDIR=...
BUILDWITH=gcc
BUILDOPTS=""
BUILDDIR=.../nhc98-1.20/targets
RTSFLAG=yes
CC=gcc
COPTS=""
ENDIAN=-DLOW_BYTE_FIRST
HEAP=100000
LIB=yes
BIN=yes
INC=yes
MAN=yes
DOCS=no
EXE=
CURSES="-ltermcap -lcurses"
READLINE=""
INSTALLVER="v1.20 (2007-11-22)"
INSTALLINFO="config: x86_64-Linux/ by ... on Wed Jan 9 12:00:05 CST 2008"
FW=""
Can anybody help me on how to get this build to work? Thanks!
Di, Yu
1.9
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/nhc-bugs/attachments/20080109/9573886f/attachment.htm
More information about the Nhc-bugs
mailing list