Build error

Garner, Robin Robin.Garner@crsrehab.gov.au
Fri, 7 Feb 2003 13:07:58 +1100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2CE4D.BC1631D0
Content-Type: text/plain;
	charset="iso-8859-1"

I'm trying to build ghc 5.04.2 from the source distribution (on Linux, RH
7.2), and get the following error
 
------------------------
...==fptools== make all -wr;
in /usr/local/src/ghc-5.04.2/ghc/rts
------------------------------------------------------------------------
..../utils/ghc-pkg/ghc-pkg-inplace --update-package <rts.conf.inplace
Reading package info from stdin... done.
Expanding embedded variables...done.
warning: can't find GHCi lib `HSrts.o'
Saving old package config file... done.
Writing new package config file... done.
..../utils/ghc-pkg/ghc-pkg-inplace -f ../driver/package.conf --update-package

<rts.conf.installed
Reading package info from stdin... done.
Expanding embedded variables...done.
warning: can't find GHCi lib `HSrts.o'
Saving old package config file... done.
Writing new package config file... done.
.../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W 
-optc-Wstrict-prototypes -optc-Wmissing-prototypes 
-optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return 
-optc-Wbad-function-cast -optc-Wcast-align -optc-I../includes -optc-I. 
-optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 
-static -package-name rts -O -Rghc-timing -c Adjustor.c -o Adjustor.o
ghc: 598636 bytes, 2 GCs, 32532/32532 avg/max bytes residency (1 samples),
5M 
in use, 0.02 INIT (0.01 elapsed), 0.02 MUT (0.04 elapsed), 0.06 GC (0.16
elapsed) :ghc>>
make[2]: *** [Adjustor.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/ghc-5.04.2/ghc'
make: *** [all] Error 1

----------------------------------------

If I use the analogous gcc command, everything works.  How can I find out
what's going wrong ?

Thanks,

Robin


------_=_NextPart_001_01C2CE4D.BC1631D0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN class=484403523-06022003>I'm trying to build 
ghc 5.04.2 from the source distribution (on Linux, RH 7.2), and get the 
following error</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=484403523-06022003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=484403523-06022003>------------------------</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=484403523-06022003>
<P><FONT face=Arial size=2>..==fptools== make all -wr;<BR></FONT><FONT 
face=Arial size=2>in /usr/local/src/ghc-5.04.2/ghc/rts<BR></FONT><FONT 
face=Arial 
size=2>------------------------------------------------------------------------<BR></FONT><FONT 
face=Arial size=2>.../utils/ghc-pkg/ghc-pkg-inplace --update-package 
&lt;rts.conf.inplace<BR>Reading package info from stdin... done.<BR>Expanding 
embedded variables...done.<BR>warning: can't find GHCi lib `HSrts.o'<BR>Saving 
old package config file... done.<BR>Writing new package config file... 
done.<BR>.../utils/ghc-pkg/ghc-pkg-inplace -f ../driver/package.conf 
--update-package <BR>&lt;rts.conf.installed<BR>Reading package info from 
stdin... done.<BR>Expanding embedded variables...done.<BR>warning: can't find 
GHCi lib `HSrts.o'<BR>Saving old package config file... done.<BR>Writing new 
package config file... done.<BR>../../ghc/compiler/ghc-inplace -optc-O 
-optc-Wall -optc-W <BR>-optc-Wstrict-prototypes -optc-Wmissing-prototypes 
<BR>-optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return 
<BR>-optc-Wbad-function-cast -optc-Wcast-align -optc-I../includes -optc-I. 
<BR>-optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 
<BR>-static -package-name rts -O -Rghc-timing -c Adjustor.c -o 
Adjustor.o<BR>ghc: 598636 bytes, 2 GCs, 32532/32532 avg/max bytes residency (1 
samples), 5M <BR>in use, 0.02 INIT (0.01 elapsed), 0.02 MUT (0.04 elapsed), 0.06 
GC (0.16 elapsed)<SPAN class=484403523-06022003> 
</SPAN>:ghc&gt;&gt;<BR></FONT><FONT face=Arial size=2>make[2]: *** [Adjustor.o] 
Error 1<BR></FONT><FONT face=Arial size=2>make[1]: *** [all] Error 
1<BR></FONT><FONT face=Arial size=2>make[1]: Leaving directory 
`/usr/local/src/ghc-5.04.2/ghc'<BR></FONT><FONT face=Arial size=2>make: *** 
[all] Error 1</FONT></P>
<P><SPAN class=484403523-06022003><FONT face=Arial 
size=2>----------------------------------------</FONT></SPAN></P>
<P><SPAN class=484403523-06022003><FONT face=Arial size=2>If I use the analogous 
gcc command, everything works.&nbsp; How can I find out what's going wrong 
?</FONT></SPAN></P>
<P><SPAN class=484403523-06022003><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></P>
<P><SPAN class=484403523-06022003><FONT face=Arial 
size=2>Robin</FONT></SPAN></P></SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C2CE4D.BC1631D0--