On 14 March 2005 21:36, N. Xu wrote:
> I am building GHC under windowsXP following the instructions from
>
> http://www.haskell.org/ghc/docs/latest/html/building/
>
> When I did a "make", I got the following. Could anyone guess what went
> wrong? Thank you very much.
>
> Best,
> Dana.
>
> @sunshine:/c/msys/1.0/home/nx200/fptools/ghc>make
>
------------------------------------------------------------------------
> ===fptools== Recursively making `all' in includes lib utils driver
> docs compiler rts ... PWD = /c/msys/1.0/home/nx200/fptools/ghc
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make all - --unix -r;
> in /c/msys/1.0/home/nx200/fptools/ghc/includes
>
------------------------------------------------------------------------
> gcc -mno-cygwin -O -c mkDerivedConstants.c -o mkDerivedConstants.o In
> file included from mkDerivedConstants.c:20: Rts.h:121:17: gmp.h: No
> such file or directory In file included from mkDerivedConstants.c:20:
> Rts.h:143: parse error before '*' token Rts.h:144: parse error before
> '*' token mkDerivedConstants.c: In function `main':
> mkDerivedConstants.c:383: `MP_INT' undeclared (first use in this
> function) mkDerivedConstants.c:383: (Each undeclared identifier is
> reported only once mkDerivedConstants.c:383: for each function it
> appears in.) mkDerivedConstants.c:384: parse error before ')' token
> mkDerivedConstants.c:384: parse error before ')' token
> mkDerivedConstants.c:385: parse error before ')' token
> mkDerivedConstants.c:385: parse error before ')' token
> mkDerivedConstants.c:386: parse error before ')' token
> mkDerivedConstants.c:386: parse error before ')' token
> mkDerivedConstants.c:388: `mp_limb_t' undeclared (first use in this
> function) make[1]: *** [mkDerivedConstants.o] Error 1 make: *** [all]
> Error 1 @sunshine:/c/msys/1.0/home/nx200/fptools/ghc>
The first error seems to be that gmp.h is missing (don't know why the
newlines are missing in your error message). gmp.h is supposed to be in
ghc/includes, and it is copied there as part of 'make boot'.
Is it there?
If you're still stuck, you could send us the whole build log and we'll
try to diagnose the problem.
Cheers,
SImon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc