[Barrelfish-users] Forgive my intrusion, I have a problem in building Barrelfish

Kornilios Kourtis kornilios.kourtis at inf.ethz.ch
Thu Oct 30 09:13:10 CET 2014


Hi there,

[Ccing barrelfish-users]

on thu, oct 30, 2014 at 03:38:34pm +0800, lord lord wrote:
> hi kornilios, 
>       i am a ph. d. student from china, and prepare for doing some research
> work on barrelfish these days. i have configured my building environment
> according to the documents from the url: http://wiki.barrelfish.org/
> getting_started. however, i encountered a fatal error when building the source
> code (when i run "make"):
> 
> generating x86_64/usr/drivers/ioat_dma/_for_app_ioat_dma/
> ioat_mgr_service.o.depend
> in file included from ../usr/drivers/ioat_dma/ioat_mgr_service.c:11:0:
> ../usr/drivers/ioat_dma/ioat_mgr_service.h:13:34: fatal error: if/
> ioat_dma_mgr_defs.h: no such file or directory
> compilation terminated.

This is caused by a dependency missing in the Hakefile

This patch should fix it:
diff --git a/usr/drivers/ioat_dma/hakefile b/usr/drivers/ioat_dma/hakefile
index 6c20f28..2ab23fb 100644
--- a/usr/drivers/ioat_dma/hakefile
+++ b/usr/drivers/ioat_dma/hakefile
@@ -18,7 +18,7 @@
         "dma_service.c",
         "ioat_mgr_service.c"                         
     ],
-    flounderbindings = [ "dma", "ioat_dma_mgr" ],
+    flounderbindings = [ "dma" ],
     mackereldevices = [ "ioat_dma", "ioat_dma_chan" ],
     addlibraries = libdeps [ "pci", "octopus", "dma", "dma_service" ],
     architectures = [ "x86_64"]


We have this fix in our tree, so it will be part of our next release which is
coming soon.

> 
> i have googled for this issue, but few information can be found. would you
> please give me some advice on how to solve this prolem. thanks very much!
> 
> ps: my building environment:
> os: debian 7.7 installed in vmware
> gcc version: 4.7.2
> ghc version: 7.4.1
> barrelfish is the newest version


cheers,
Kornilios.

> 
>                                                  yours, sincerely
>                                                            lu di

-- 
kornilios Kourtis



More information about the Barrelfish-users mailing list