Hi,


gmake boot fails. Here are the last lines of the output:
(I left out some of the .hs files on the command line of ghc)


------------------------------------------------------------------------
==fptools== gmake boot --no-print-directory -r;
 in /home/cl/laitenbe/tmp/fptools/ghc/compiler
------------------------------------------------------------------------
ghc -M -optdep-f -optdep.depend  -optdep-o -optdepo    -cpp -fglasgow-exts\
-Rghc-timing -I. -IcodeGen -InativeGen -Iparser -iutils:basicTypes:types:\
hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:\
stranal:stgSyn:simplStg:codeGen:absCSyn:main:reader:profiling:parser:\
nativeGen -recomp      parser/U_binding.hs  parser/U_constr.hs\
parser/U_either.hs  parser/U_entidt.hs  
[...]
No file `Addr.hi', `Addr.lhs', `Addr.hs' (reqd from file `utils/DirUtils.lhs')
among import directories:
        .:utils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:\
        coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:\
        absCSyn:main:reader:profiling:parser:nativeGen
gmake[2]: *** [depend] Error 1



What can I do to solve this problem? Which Addr.* file is required? 
The one from ghc-4.00 or from ghc-2.10 (which I use for the compilation) 


I tried to add the ../lib/exts to the -i switch in ghc/compiler/Makefile.
There is Addr.lhs. - This causes "gmake all" to fail with these error
messages 


ghc -cpp ... -c ../lib/exts/GlaExts.lhs -o ../lib/exts/GlaExts.o -osuf o

../lib/exts/GlaExts.lhs:62:
    Could not find valid interface file `PrelGHC'

../lib/exts/GlaExts.lhs:64:
    Could not find valid interface file `PrelAddr'
[...]


I also tried to import from /public/languages/ghc-2.10/lib/ghc-2.10/imports.
Then the error messages after "gmake all" look like these:

../lib/exts/GlaExts.lhs:62:
    Could not find valid interface file `PrelGHC'
 
../lib/exts/GlaExts.lhs:64:
    Could not find valid interface file `PrelAddr'
 
../lib/exts/GlaExts.lhs:64:
    Module PrelAddr does not export `Addr'(..)
[...]



Thanks in advance,

Jan

 ___
'---|--------------------------------------------------------------
    |  __,   _  _      EMail: [EMAIL PROTECTED]
    | /  |  / |/ |     WWWeb: http://www.uni-passau.de/~laitenbe/
    |/\_/|_/  |  |_/
   /| Laitenberger
--(-|--------------------------------------------------------------
   \|




Reply via email to