Hi, I'm trying to compile the latest version of GHC (snarfed from CVS today), and I got the following errors:
../../ghc/compiler/ghc-inplace -ldl -fglasgow-exts -cpp -Iinclude -funbox-strict-fields -package-name base -O -Rghc-timing -spli\t-objs -c GHC/IOBase.lhs -o GHC/IOBase.o /tmp/ghc11830.hc:14233: `GHCziIOBase_ReadBuffer_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14233: initializer element is not constant /tmp/ghc11830.hc:14233: (near initialization for `GHCziIOBase_BufferState_closure_tbl[0]') /tmp/ghc11830.hc:14235: `GHCziIOBase_WriteBuffer_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14235: initializer element is not constant /tmp/ghc11830.hc:14235: (near initialization for `GHCziIOBase_BufferState_closure_tbl[1]') /tmp/ghc11830.hc:14308: `GHCziIOBase_ClosedHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14308: initializer element is not constant /tmp/ghc11830.hc:14308: (near initialization for `GHCziIOBase_HandleType_closure_tbl[0]') /tmp/ghc11830.hc:14309: `GHCziIOBase_SemiClosedHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14309: initializer element is not constant /tmp/ghc11830.hc:14309: (near initialization for `GHCziIOBase_HandleType_closure_tbl[1]') /tmp/ghc11830.hc:14310: `GHCziIOBase_ReadHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14310: initializer element is not constant /tmp/ghc11830.hc:14310: (near initialization for `GHCziIOBase_HandleType_closure_tbl[2]') /tmp/ghc11830.hc:14311: `GHCziIOBase_WriteHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14311: initializer element is not constant /tmp/ghc11830.hc:14311: (near initialization for `GHCziIOBase_HandleType_closure_tbl[3]') /tmp/ghc11830.hc:14312: `GHCziIOBase_AppendHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14312: initializer element is not constant /tmp/ghc11830.hc:14312: (near initialization for `GHCziIOBase_HandleType_closure_tbl[4]') /tmp/ghc11830.hc:14314: `GHCziIOBase_ReadWriteHandle_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14314: initializer element is not constant /tmp/ghc11830.hc:14314: (near initialization for `GHCziIOBase_HandleType_closure_tbl[5]') /tmp/ghc11830.hc:14635: `GHCziIOBase_Overflow_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14635: initializer element is not constant /tmp/ghc11830.hc:14635: (near initialization for `GHCziIOBase_ArithException_closure_tbl[0]') /tmp/ghc11830.hc:14636: `GHCziIOBase_Underflow_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14636: initializer element is not constant /tmp/ghc11830.hc:14636: (near initialization for `GHCziIOBase_ArithException_closure_tbl[1]') /tmp/ghc11830.hc:14637: `GHCziIOBase_LossOfPrecision_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14637: initializer element is not constant /tmp/ghc11830.hc:14637: (near initialization for `GHCziIOBase_ArithException_closure_tbl[2]') /tmp/ghc11830.hc:14638: `GHCziIOBase_DivideByZZero_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14638: initializer element is not constant /tmp/ghc11830.hc:14638: (near initialization for `GHCziIOBase_ArithException_closure_tbl[3]') /tmp/ghc11830.hc:14640: `GHCziIOBase_Denormal_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14640: initializer element is not constant /tmp/ghc11830.hc:14640: (near initialization for `GHCziIOBase_ArithException_closure_tbl[4]') /tmp/ghc11830.hc:14669: `GHCziIOBase_ThreadKilled_closure' undeclared here (not in a function) /tmp/ghc11830.hc:14669: initializer element is not constant /tmp/ghc11830.hc:14669: (near initialization for `GHCziIOBase_AsyncException_closure_tbl[2]') <<ghc: 253552400 bytes, 548 GCs, 3497347/6298444 avg/max bytes residency (9 samples), 16M in use, 0.00 INIT (0.00 elapsed), 2.70 \MUT (7.13 elapsed), 1.85 GC (1.79 elapsed) :ghc>> gmake[2]: *** [GHC/IOBase.o] Error 1 gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/home/crete/lumberjacks3/krc/ghc/fptools-build/libraries' gmake: *** [all] Error 1 gcc -v gives -- gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) and uname -a gives Linux puma 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 i686 unknown Thanks, Kirsten Kirsten Chevalier * [EMAIL PROTECTED] * Often in error, never in doubt _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
