[Barrelfish-users] Problem building "hake" build system (now problem with make)

M Brown M.Brown at huawei.com
Tue Nov 19 16:57:10 CET 2013


Tim, Kornilios,

   Thanks for the help. The new release fixed the trace_defs.h file missing problem. I'm now able to build barrelfish and run the examples under QEMU.



Thanks,

Mark



>Dear Mark,

>

>The trace definitions file should be generated very early on in the build process, since lots of parts of the system >include it.

>

>The first thing to try is start with a completely clean (i.e. empty) build directory, and run hake to create a new >Makefile.  There are some limitations on dependency tracking that mean that an older, failed build (such as you might >get by using a different version of ghc) make it hard to eliminate some bad dependencies.

>

>If that doesn't work, there may be a bug in the trace Hakefile.  We're doing a release this afternoon that may fix it, >but a good way to debug things (and, indeed, work around them) is to try:

>

>$ make trace_definitions/trace_defs.h

>

>  - in the build directory.   If this succeeds, you should then be able

>to use other make targets without problems.   As an aside, Hake

>generates a single Makefile with an explicit rule for every file, so you should be able to find the commands to build >trace_defs.h.

>

>Hope this helps,

>

>  -- Mothy

>



>On 11/14/2013 09:54 PM, M Brown wrote:

>> Kornilios,

>>

>> -----Original Message-----

>>  > From: Kornilios Kourtis [mailto:kornilios.kourtis at inf.ethz.ch]

>>  > Sent: Thursday, November 14, 2013 3:46 AM  > To: M Brown  > Cc:

>> barrelfish-users at lists.inf.ethz.ch<mailto:barrelfish-users at lists.inf.ethz.ch>

>>  > Subject: Re: [Barrelfish-users] Problem building "hake" build

>> system

>>

>>  >

>>

>>>  > On Wed, Nov 13, 2013 at 05:50:08PM +0000, M Brown wrote:

>>

>>  >> Dear all,

>>

>>  >>

>>

>>  >> I'm running into the following problem when building the "hake"

>> build

>>

>>  >> system with the latest version of ghc:

>>

>>  >>

>>

>>  >>

>>

>>  >> The ghc environment is as follows:

>>

>>  >>

>>

>>  >> ghc 7.6.3 (default install version)

>>

>>  >> ghc-paths 0.1.0.9

>>

>>  >> parsec 3.1.3

>>

>>  >

>>

>>  >Barrelfish currently works with GHC version 7.4. GHC 7.6 in

>> particular is not supported in our tree. To build hake you can either

>> install and use GHC 7.4 or apply a patch provided by Wang Nan that

>> adds support for GHC 7.6. You can find the patch in our wiki:

>>

>>  > http://wiki.barrelfish.org/Getting_Started#ghc

>>

>>  >

>>

>>  > Hope this helps,

>>

>>  > Kornilios.

>>

>>  >

>>

>>  > --

>>

>>  > Kornilios Kourtis

>>

>> Thanks, that got me by the hake build problem. However when I run make

>> I get the following error:

>>

>> The trace_definitions/trace_defs.h file is not being generated. Any

>> thoughts?

>>

>> Thanks,

>>

>> Mark Brown

>>

>> Huawei Technologies Inc.

>>

>> 5340 Legacy Dr., Suite 175

>>

>> Plano, TX 75024

>>

>> Tel: 469-277-5700 x5870

>>

>> Email: m.brown at huawei.com<mailto:m.brown at huawei.com> <mailto:m.brown at huawei.com>

>>

>>

Mark Brown
Huawei Technologies Inc.
5340 Legacy Dr., Suite 175
Plano, TX 75024
Tel: 469-277-5700 x5870
Email: m.brown at huawei.com<mailto:m.brown at huawei.com>

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


More information about the Barrelfish-users mailing list