In local.glasgow-haskell-users, you wrote: > Ok, that was definitely my fault. I�ve built the gnu-make and tried again. > After an hour of compilation ghc ended with:
> ./../ghc/utils/hsc2hs/hsc2hs-inplace -Iinclude -I../../ghc/includes -I. > GHC/Unicode.hsc > Unicode.hsc: In function `main': > Unicode.hsc:126: `wint_t' undeclared (first use in this function) > Unicode.hsc:126: (Each undeclared identifier is reported only once > Unicode.hsc:126: for each function it appears in.) > Unicode.hsc:126: parse error before "int" > make[2]: *** [GHC/Unicode.hs] Error 1 > make[1]: *** [boot] Error 1 > make[1]: Leaving directory `/home/mai99dnn/tmp/ghc-6.2/libraries' > make: *** [build] Error 1 Just update if you use CVS are use the following patch (from O.Braun). Then, 'gmake clean' and restart the build (both just in 'libraries', the compiler built fine). --- libraries/base/GHC/Unicode.hsc.orig Mon Oct 20 12:12:20 2003 +++ libraries/base/GHC/Unicode.hsc Mon Jan 12 23:32:22 2004 @@ -112,7 +112,7 @@ -- ----------------------------------------------------------------------------- -- Win32 implementation -#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE) || mingw32_TARGET_OS +#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE && defined(HTYPE_WINT_T)) || mingw32_TARGET_OS -- Use the wide-char classification functions if available. Glibc -- seems to implement these properly, even for chars > 0xffff, as long -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
