[Barrelfish-users] barrelfish in centos7(64 bit) complie error

Stefan Kaestle stefan.kaestle at inf.ethz.ch
Fri Jan 16 10:17:32 CET 2015


Hi,

[CC'ing the Barrelfish mailing list]

This is a build dependency problem. Can you please try the following 
patch and do a clean rebuild (including hake.sh):

Could you please try the following patch:
diff --git a/usr/bfscope/Hakefile b/usr/bfscope/Hakefile
index 18cef32..b423811 100644
--- a/usr/bfscope/Hakefile
+++ b/usr/bfscope/Hakefile
@@ -13,6 +13,7 @@
  [ build application { target = "bfscope",
                        cFiles = [ "bfscope.c" ],
                        addLibraries = [ "lwip", "contmng", "trace" ],
-                      flounderBindings = [ "empty" ]
+                      flounderBindings = [ "empty" ],
+                      flouderDefs = [ "monitor" ]
}
  ]

Cheers,
  Stefan

On 01/16/2015 04:15 AM, tony doen wrote:
> Dear Stefan Kaestle,
>       I want to complie barrelfish on my centos7(64 bit), I have 
> installed qemu, ghc-7.6.3,ghc-paths,haskell-platform-2013.2.0.0 and 
> gcc 4.8.2, but the error occured I do not know how to deal. I have 
> tried to fake "monitor_defs.h" in "./x86_64/include/if/" by "cp 
> empty_defs.h monitor_defs.h", but still error at last. I guess that 
> maybe os lack some libs, but I do not know what lib or the other problem.
> Thank you for you helping in advance.
>
> following is error info:
> ......
> Generating 
> x86_64/usr/boot_perfmon/_for_app_boot_perfmon/connections.o.depend
> Generating x86_64/usr/boot_perfmon/_for_app_boot_perfmon/main.o.depend
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i 
> ../if/arch/x86_64.if -i ../if/types.if -a x86_64 --generic-stub 
> --lmp-stub --ump-stub --multihop-stub ../if/boot_perfmon.if 
> ./x86_64/usr/boot_perfmon/_for_app_boot_perfmon/boot_perfmon_flounder_bindings.c 
>
> Generating 
> x86_64/usr/boot_perfmon/_for_app_boot_perfmon/boot_perfmon_flounder_bindings.o.depend
> mkdir -p ./x86_64/usr/bfscope/_for_app_bfscope
> touch ./x86_64/usr/bfscope/_for_app_bfscope/.marker
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i 
> ../if/arch/x86_64.if -i ../if/types.if --generic-header ../if/empty.if 
> ./x86_64/include/if/empty_defs.h
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i 
> ../if/arch/x86_64.if -i ../if/types.if --lmp-header ../if/empty.if 
> ./x86_64/include/if/empty_lmp_defs.h
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i 
> ../if/arch/x86_64.if -i ../if/types.if --ump-header ../if/empty.if 
> ./x86_64/include/if/empty_ump_defs.h
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i 
> ../if/arch/x86_64.if -i ../if/types.if --multihop-header 
> ../if/empty.if ./x86_64/include/if/empty_multihop_defs.h
> Generating x86_64/usr/bfscope/_for_app_bfscope/bfscope.o.depend
> ../usr/bfscope/bfscope.c:27:29: fatal error: if/monitor_defs.h: No 
> such file or directory
>  #include <if/monitor_defs.h>
>                              ^
> compilation terminated.
> make: *** [x86_64/usr/bfscope/_for_app_bfscope/bfscope.o.depend] Error 1

-- 
Stefan
http://people.inf.ethz.ch/skaestle/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20150116/b01c8c53/attachment.html 


More information about the Barrelfish-users mailing list