[Barrelfish-users] Unable to build hake.
Vamshi Krishna
vamshi4ms at gmail.com
Fri Sep 19 05:02:22 CEST 2014
Hi all,
I am new to barrelfish. I am trying to build barrelfish but while i build
hake, i am getting the following errors. Could you please help me resolve
the issue.
Architectures to build: "x86_64"
Setting up hake build directory...
You already have Config.hs, leaving it as-is.
Creating new symbolic_targets.mk file.
Building hake...
[16 of 16] Compiling Main ( ../hake/Main.hs, hake/Main.o )
../hake/Main.hs:366:7:
Couldn't match expected type `IO [(String, HRule)]'
with actual type `m0 a0 -> m0 a0'
In a stmt of a 'do' block:
defaultErrorHandler defaultLogAction
$ do { runGhc (Just libdir)
$ do { dflags <- getSessionDynFlags;
let ...;
.... } }
In the expression:
do { defaultErrorHandler defaultLogAction
$ do { runGhc (Just libdir) $ do { ... } } }
In the expression:
let
imports = [...]
all_imports = ("Prelude" : "HakeTypes" : imports)
moddirs = [...]
in
do { defaultErrorHandler defaultLogAction
$ do { runGhc (Just libdir) $ ... } }
../hake/Main.hs:366:27:
Couldn't match type `DynFlags' with `[Char]'
Expected type: DynFlags.FatalMessager
Actual type: DynFlags.LogAction
In the first argument of `defaultErrorHandler', namely
`defaultLogAction'
In the expression: defaultErrorHandler defaultLogAction
In a stmt of a 'do' block:
defaultErrorHandler defaultLogAction
$ do { runGhc (Just libdir)
$ do { dflags <- getSessionDynFlags;
let ...;
.... } }
../hake/Main.hs:367:10:
Couldn't match expected type `DynFlags.FlushOut'
with actual type `IO [([Char], HRule)]'
In a stmt of a 'do' block:
runGhc (Just libdir)
$ do { dflags <- getSessionDynFlags;
let dflags1 = foldl xopt_set dflags ...;
_ <- setSessionDynFlags
(dflags1
{importPaths = moddirs, hiDir = Just "./hake",
objectDir = Just "./hake"});
targets <- mapM (\ m -> guessTarget m Nothing) imports;
.... }
In the second argument of `($)', namely
`do { runGhc (Just libdir)
$ do { dflags <- getSessionDynFlags;
let ...;
.... } }'
In a stmt of a 'do' block:
defaultErrorHandler defaultLogAction
$ do { runGhc (Just libdir)
$ do { dflags <- getSessionDynFlags;
let ...;
.... } }
Regards,
-Vamshi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20140918/a01e69d8/attachment.html
More information about the Barrelfish-users
mailing list