[Barrelfish-users] [Barrelfish] barrelfish compilation fails
Andrew Baumann
Andrew.Baumann at microsoft.com
Wed Feb 16 19:19:37 CET 2011
Hi,
It looks like you are using GHC 6.12.1 -- as noted in the README file this has a known bug that causes the errors you see.
You'll need to either downgrade (GHC 6.10 from previous versions of Ubuntu) or upgrade (GHC 6.12.3 from natty works fine) your GHC.
Cheers,
Andrew
> -----Original Message-----
> From: Waqaas Munawar [mailto:munawar at ira.uka.de]
> Sent: Wednesday, 16 February, 2011 10:09
> To: barrelfish-users at lists.inf.ethz.ch
> Subject: [Barrelfish] [Barrelfish-users] barrelfish compilation fails
>
> Hi all,
> I have been trying to compile barrelfish for x86_64 but with no luck.
> Some the compilation gets stuck with this error message:
> *********************************
> [14 of 32] Compiling IL.FoF.Compile ( ../tools/fof/IL/FoF/Compile.lhs,
> tools/tools/fugu/IL/FoF/Compile.o )
>
> ../tools/fof/IL/FoF/Compile.lhs:71:18:
> Can't find interface-file declaration for variable freshVar
> Probable cause: bug in .hi-boot file, or inconsistent .hi file
> Use -ddump-if-trace to get an idea of which file caused the error
> In the expression: freshVar binding
> In the definition of `loc': loc = freshVar binding
> In the definition of `getFreshVar':
> getFreshVar binding
> = (loc, binding1)
> where
> loc = freshVar binding
> binding1 = binding {freshVar = loc + 1}
>
> ../tools/fof/IL/FoF/Compile.lhs:72:23:
> Can't find interface-file declaration for variable freshVar
> Probable cause: bug in .hi-boot file, or inconsistent .hi file
> Use -ddump-if-trace to get an idea of which file caused the error
> In the expression: binding {freshVar = loc + 1}
> In the definition of `binding1':
> binding1 = binding {freshVar = loc + 1}
> In the definition of `getFreshVar':
> getFreshVar binding
> = (loc, binding1)
> where
> loc = freshVar binding
> binding1 = binding {freshVar = loc + 1}
>
> ../tools/fof/IL/FoF/Compile.lhs:92:6:
> Can't find interface-file declaration for variable freshVar
> Probable cause: bug in .hi-boot file, or inconsistent .hi file
> Use -ddump-if-trace to get an idea of which file caused the error
> In the expression:
> stableBinding
> {freshVar = freshVar upBinding, defStructs = defStructs
> upBinding,
> defUnions = defUnions upBinding, defEnums = defEnums upBinding}
> In the definition of `passFreshVar':
> passFreshVar upBinding stableBinding
> = stableBinding
> {freshVar = freshVar upBinding, defStructs =
> defStructs upBinding,
> defUnions = defUnions upBinding, defEnums =
> defEnums upBinding}
> make: *** [tools/tools/fugu/fugu] Error 1
> *********************************
> I tried this on a fresh install of ubuntu 10.10 with the same result.
> Any pointers in this regard will be helpful.
> Complete log of hake and make is on pastebin:
> http://pastebin.com/Lh9Pe9bn
>
> I think it has something to do with environment setup.
>
> Does anyone happen to have a VM, so that we dont need to setup the
> environment.
>
> Thanks,
> wakas
>
More information about the Barrelfish-users
mailing list