[Barrelfish-users] [Barrelfish] Barrelfish compilation error

Rob C cartrel at hotmail.com
Tue Jul 12 20:19:46 CEST 2011


Thanks for the help everyone.  I uninstalled the ghc and haskell Ubuntu packages and just downloaded the source and compiled from scratch (ghc 7.0.3, haskell 2011.2.0.1).  Then I was able to install ghc-paths using "cabal install ghc-paths".  I patched Main.hs and it all compiled with no errors.

From: Andrew.Baumann at microsoft.com
To: cartrel at hotmail.com; barrelfish-users at lists.inf.ethz.ch
Subject: RE: [Barrelfish] [Barrelfish-users] Barrelfish compilation error
Date: Tue, 12 Jul 2011 16:32:54 +0000











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# 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/c76b3e27/attachment.html 


More information about the Barrelfish-users mailing list