Problem building GHC

Simon Marlow simonmar at microsoft.com
Wed Jun 12 06:24:48 EDT 2002


> 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)

That's strange - the build went through cleanly for us last night.  What
platform, what version of GHC are you using to bootstrap with, etc.?
Could you snaffle that .hc file and send us a copy?

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list