Hmm, the patch works fine, but compilation stops when building libraries/base/GHC/List.o It seems to me that some library of the system makes trouble. I dont think thats a ghc errror:
rm -f GHC/List.o; if [ ! -d GHC/List_split ]; then mkdir GHC/List_split; else /usr/bin/find GHC/List_split -name '*.o' -print | xargs rm -f __rm_food; fi; Putting child 0x000aa798 (GHC/List.o) PID 9863 on the chain. Live child 0x000aa798 (GHC/List.o) PID 9863 Got a SIGCHLD; 1 unreaped children. Reaping winning child 0x000aa798 PID 9863 ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c GHC/List.lhs -o GHC/List.o -ohi GHC/List.hi Live child 0x000aa798 (GHC/List.o) PID 9868 Segmentation Fault Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x000aa798 PID 9868 make[1]: *** [GHC/List.o] Error 139 Removing child 0x000aa798 PID 9868 from chain. Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x00055318 PID 9857 make: *** [all] Error 1 Removing child 0x00055318 PID 9857 from chain. How can I get more informations than just the "segfault"-message? Cheers Patrick Am Donnerstag, 15. Januar 2004 09:17 schrieben Sie: > 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 _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users