Failed to load interface for `Prelude'

Joel Reymont joelr1 at gmail.com
Thu Apr 5 09:26:08 EDT 2007


Pepe already told me that I need SplitObj=NO on Mac OSX.

Can someone tell me why?

Is the error below due to split objs?

	Thanks, Joel

--
../compiler/stage1/ghc-inplace -H32m -O2  -istage2/utils  -istage2/ 
basicTypes  -istage2/types  -istage2/hsSyn  -istage2/prelude  - 
istage2/rename  -istage2/typecheck  -istage2/deSugar  -istage2/ 
coreSyn  -istage2/specialise  -istage2/simplCore  -istage2/stranal  - 
istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  -istage2/main  - 
istage2/profiling  -istage2/parser  -istage2/cprAnalysis  -istage2/ 
ndpFlatten  -istage2/iface  -istage2/cmm  -istage2/nativeGen  - 
istage2/ghci -Istage2 -DGHCI -package template-haskell -DDEBUGGER - 
DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE - 
cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package  
unix -package Cabal -package regex-compat -ignore-package lang - 
recomp -Rghc-timing  -H16M '-#include "cutils.h"' -package-name   
ghc-6.7.20070404   -fgenerics    -c basicTypes/OccName.lhs-boot -o  
stage2/basicTypes/OccName.o-boot  -ohi stage2/basicTypes/OccName.hi-boot
../compiler/stage1/ghc-inplace -H32m -O2  -istage2/utils  -istage2/ 
basicTypes  -istage2/types  -istage2/hsSyn  -istage2/prelude  - 
istage2/rename  -istage2/typecheck  -istage2/deSugar  -istage2/ 
coreSyn  -istage2/specialise  -istage2/simplCore  -istage2/stranal  - 
istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  -istage2/main  - 
istage2/profiling  -istage2/parser  -istage2/cprAnalysis  -istage2/ 
ndpFlatten  -istage2/iface  -istage2/cmm  -istage2/nativeGen  - 
istage2/ghci -Istage2 -DGHCI -package template-haskell -DDEBUGGER - 
DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE - 
cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package  
unix -package Cabal -package regex-compat -ignore-package lang - 
recomp -Rghc-timing  -H16M '-#include "cutils.h"' -package-name   
ghc-6.7.20070404   -fgenerics  -O  -c utils/Encoding.hs -o stage2/ 
utils/Encoding.o  -ohi stage2/utils/Encoding.hi

basicTypes/OccName.lhs-boot:1:0:
     Failed to load interface for `Prelude':
       Use -v to see a list of the files searched for.
<<ghc: 19113508 bytes, 4 GCs, 123616/123616 avg/max bytes residency  
(1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 0.03 MUT (0.10  
elapsed), 0.02 GC (0.02 elapsed) :ghc>>
make[2]: *** [stage2/basicTypes/OccName.o-boot] Error 1
make[2]: *** Waiting for unfinished jobs....

utils/Encoding.hs:1:0:
     Failed to load interface for `Prelude':
       Use -v to see a list of the files searched for.
<<ghc: 25147464 bytes, 4 GCs, 123268/123268 avg/max bytes residency  
(1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 0.03 MUT (0.12  
elapsed), 0.02 GC (0.02 elapsed) :ghc>>
make[2]: *** [stage2/utils/Encoding.o] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2

--
http://wagerlabs.com/







More information about the Glasgow-haskell-users mailing list