trouble compiling 6.8.3 using 6.8.3

Jason Pepas cell at cs.utexas.edu
Fri Apr 3 09:19:14 EDT 2009


Hi Guys,

I'm trying to rebuild ghc 6.8.3 (the previous version was built without 
readline linked in), and I'm running into a compilation issue.

build error:

/lusr/bin/ghc -#include cutils.h -DSTAGE=1 -package-name ghc-6.10.1
-hide-all-packages -no-user-package-conf -package-conf
/v/filer4b/cvsbuild/CVSBUILD/ghc-6.8.3-linux-i686/ghc/libraries/bootstrapping.conf
-i -idist-stage1/build -inativeGen -ibasicTypes -icmm -icodeGen -icoreSyn
-icprAnalysis -ideSugar -ighci -ihsSyn -iiface -imain -iparser -iprelude
-iprofiling -irename -isimplCore -isimplStg -ispecialise -istgSyn -istranal
-itypecheck -itypes -iutils -ivectorise -idist-stage1/build/autogen
-Idist-stage1/build/autogen -Idist-stage1/build -Istage1
-I../libraries/base/cbits -I../libraries/base/include -I. -Iparser -Iutils
-optP-include -optPdist-stage1/build/autogen/cabal_macros.h -odir
dist-stage1/build -hidir dist-stage1/build -stubdir dist-stage1/build 
-package
Cabal-1.6.0.1 -package array-0.1.0.0 -package base-3.0.2.0 -package
bytestring-0.9.0.1.1 -package containers-0.1.0.2 -package directory-1.0.0.1
-package extensible-exceptions-0.1.0.0 -package filepath-1.1.0.1 -package
haskell98-1.0.1.0 -package hpc-0.5.0.2 -package old-time-1.0.0.0 -package
process-1.0.0.1 -package unix-2.3.0.1 -O -Wall -fno-warn-name-shadowing
-fno-warn-orphans -XPatternSignatures -XCPP -XMagicHash -XUnboxedTuples
-XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls
-XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances 
-XRank2Types
-XScopedTypeVariables -XDeriveDataTypeable -idist-stage1/build  -H32m -O
-Rghc-timing   -c types/Unify.lhs -o dist-stage1/build/Unify.o  -ohi
dist-stage1/build/Unify.hi

parser/Lexer.x:1652:17: Not in scope: data constructor `SLIT'

parser/Lexer.x:1653:23: Not in scope: data constructor `SLIT'
<<ghc: 351226848 bytes, 20 GCs, 3982677/8409088 avg/max bytes residency (3
samples), 36M in use, 0.00 INIT (0.00 elapsed), 0.32 MUT (0.37 elapsed), 
0.12 GC
(0.13 elapsed) :ghc>>
make[2]: *** [dist-stage1/build/Lexer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
<<ghc: 236588812 bytes, 17 GCs, 4490581/8404992 avg/max bytes residency (3
samples), 36M in use, 0.00 INIT (0.00 elapsed), 0.49 MUT (0.57 elapsed), 
0.15 GC
(0.15 elapsed) :ghc>>
make[1]: *** [build.stage.1] Error 2
make: *** [stage1] Error 1


I've hit up google and the only results which stood out were other "data 
constructor not in scope" messages which were due to people trying to 
run old haskell code using newer versions of the compiler, but I doubt 
that's the case here as I am using the same version of the compiler as 
both host and target.

Any ideas?

-jason


More information about the Glasgow-haskell-users mailing list