[Barrelfish-users] [Barrelfish] Barrelfish compilation error

Andrew Baumann Andrew.Baumann at microsoft.com
Tue Jul 12 18:32:54 CEST 2011


This looks exactly like the known bug in GHC v6.12.n for n <= 1. You probably have the buggy version of 6.12.2 that Ubuntu ships.

Andrew

From: Rob C [mailto:cartrel at hotmail.com]
Sent: Tuesday, 12 July, 2011 9:03
To: barrelfish-users at lists.inf.ethz.ch
Subject: [Barrelfish] [Barrelfish-users] Barrelfish compilation error

Hi, I'm attempting to compile Barrelfish on a 64bit Ubuntu machine.  I just downloaded the source via Hg today and followed the instructions on wiki.barrelfish.org for configuring and compiling.  I was able to get through the configuration process but when I started the make I was given these errors and I'm just not familiar enough with this stuff to troubleshoot on my own:

xxxxx at yyyyyy:~/hg.barrelfish.org/build#<mailto:xxxxx at yyyyyy:~/hg.barrelfish.org/build#> make
Makefile:48: x86_32/errors/errno.o.depend: No such file or directory
Makefile:75: x86_32/usr/slideshow/_for_app_slideshow/keyboard_flounder_bindings.o.depend: No such file or directory
Makefile:130: x86_32/usr/slideshow/_for_app_slideshow/fb_flounder_bindings.o.depend: No such file or directory
...
[11 of 33] Compiling Expressions[boot] ( ../tools/fof/Expressions.lhs-boot, tools/tools/hamlet/Expressions.o-boot )
[12 of 33] Compiling IL.FoF.Compile   ( ../tools/fof/IL/FoF/Compile.lhs, tools/tools/hamlet/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/bin/hamlet] Error 1

Sorry if this is a repost but I checked the last few months of the mailing list and didn't see anything similar to this.  Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20110712/75fd8cd1/attachment-0001.html 


More information about the Barrelfish-users mailing list