NHC Compilation Failure
Yu Di <[email protected]> Wed, 9 Jan 2008 10:26:41 -0800 (PST)
| Newsgroups | gmane.comp.lang.haskell.nhc.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============0397251863==
Content-Type: multipart/alternative; boundary="0-412115028-1199903201=:95224"
--0-412115028-1199903201=:95224
Content-Type: text/plain; charset=us-ascii
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
--0-412115028-1199903201=:95224
Content-Type: text/html; charset=us-ascii
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>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:<br><br>.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0x49): In function `FR_Prelude_46cFIsNeg':<br>: undefined reference to `signbit'<br>.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0xc9): In function `FR_Prelude_46cFIsNormal':<br>: undefined reference to `isnormal'<br>.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RealFloat_Float.o)(.text+0x149): In function `FR_Prelude_46cFIsFinite':<br>: undefined reference to `isfinite'<br><br>Then, when it is linking
lib/x86_64-Linux/MkProg, there is another error:<br><br>.../nhc98-1.20/lib/x86_64-Linux/Prelude.a(RemoveFile.o)(.data+0xc): undefined reference to
`FR_Directory_46unlink_35'<br><br>and soon after this the whole make fails because there is no lib/x86_64-Linux/MkConfig.<br><br>uname -a shows:<br><br>Linux ... 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux<br><br>and targets/x86_64-Linux/config.cache shows:<br><br>INSTALLDIR=...<br>DOCDIR=...<br>BUILDWITH=gcc<br>BUILDOPTS=""<br>BUILDDIR=.../nhc98-1.20/targets<br>RTSFLAG=yes<br>CC=gcc<br>COPTS=""<br>ENDIAN=-DLOW_BYTE_FIRST<br>HEAP=100000<br>LIB=yes<br>BIN=yes<br>INC=yes<br>MAN=yes<br>DOCS=no<br>EXE=<br>CURSES="-ltermcap -lcurses"<br>READLINE=""<br>INSTALLVER="v1.20 (2007-11-22)"<br>INSTALLINFO="config: x86_64-Linux/ by ... on Wed Jan 9 12:00:05 CST 2008"<br>FW=""<br><br>Can anybody help me on how to get this build to work? Thanks!<br><br>Di, Yu<b
r>1.9<br><br><br><br></div></div><br>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>
--0-412115028-1199903201=:95224--
--===============0397251863==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nhc-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/nhc-bugs
--===============0397251863==--