[Barrelfish-users] Barrelfish compilation error
Calum McCall
0800410m at student.gla.ac.uk
Tue Jul 12 18:15:37 CEST 2011
Hi Rob,
Have you tried compiling Barrelfish using the x86_64 target instead of
x86_32?
-Calum
On 12/07/11 17:03, Rob C wrote:
> 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# 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.
More information about the Barrelfish-users
mailing list