[Barrelfish-users] barrelfish compilation fails

Waqaas Munawar munawar at ira.uka.de
Wed Feb 16 19:08:36 CET 2011


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5637 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20110216/69b2267e/attachment.bin 


More information about the Barrelfish-users mailing list