meta-haskell-branch

Simon Peyton-Jones simonpj@microsoft.com
Tue, 17 Sep 2002 11:29:43 +0100


I have seen this before and it puzzled the hell out of me too.

To be honest I have forgotten the exact cause, but it's something to do
with the fact that you haven't done a new 'autoconf' or a new
'configure' or something.

Much the easiest thing is to start from scratch.  Check out an entirely
new tree, and work from there.  Odd things sometimes happen when you
have an old tree lying around, esp after a big update.

Simon

| -----Original Message-----
| From: Saswat Anand [mailto:saswat@comp.nus.edu.sg]
| Sent: 17 September 2002 10:05
| To: Simon Peyton-Jones
| Cc: glasgow-haskell-users@haskell.org
| Subject: RE: meta-haskell-branch
|=20
|=20
| Thanks for the pointer. I still get the following error, when I do
gmake.
|=20
| > echo '#!/bin/sh' >>ghc-inplace
| > echo exec /root/fptools/ghc/compiler/ghc-5.05 '-B/root/fptools'
'"$@"'
| > >>ghc-inplace
| > chmod 755 ghc-inplace
| >
------------------------------------------------------------------------
| > =3D=3Dfptools=3D=3D gmake all -wr;
| >  in /root/fptools/ghc/rts
| >
------------------------------------------------------------------------
| > ../../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-I../includes -optc-I. -optc-Iparallel
| > -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 -static
-c
| > Adjustor.c -o Adjustor.o
| > gmake[2]: *** [Adjustor.o] Error 1
| > gmake[1]: *** [all] Error 1
| > gmake[1]: Leaving directory `/root/fptools/ghc'
| > gmake: *** [all] Error 1
|=20
|=20
| It seems ghc-inplace has some problem:
|=20
| > sh-2.05# ../../ghc/compiler/ghc-inplace -c Adjustor.c -o Adjustor.o
| > sh-2.05# ls *.o
| > ls: *.o: No such file or directory
|=20
| What might be wrong?
|=20
| Saswat
|=20
|=20
|=20