[Barrelfish-users] Building the latest release

李才 licai at pku.edu.cn
Mon Apr 1 14:31:56 CEST 2013

Hi all,

   I am building the barrelfish-12e657e0ed48(release2013-03-22) these days, but there is a problem.
   The Hake procedure seems ok, but when it comes to `make`, it can not find some files("***.o.depend").
   Has anyone met the similar problem? Why it does not work?


1.My building environment is:
        1) ubuntu 12.10/12.04 both tried
        2) ghc-7.4.1
        3) Parsec 3.1
        4) ghc-paths-
        5) gcc 4.5/4.6/4.7 all tried.

2.This some of the output by `make`:
    Makefile:83499: x86_64/kernel/arch/x86/rtc.o.depend: No such file or directory
    Makefile:83518: x86_64/kernel/arch/x86/timing.o.depend: No such file or directory
    Makefile:83537: x86_64/kernel/arch/x86/startup_x86.o.depend: No such file or directory
    Makefile:83556: x86_64/kernel/arch/x86/mcheck.o.depend: No such file or directory
    Makefile:83575: x86_64/kernel/arch/x86/ipi_notify.o.depend: No such file or directory
    Makefile:83591: x86_64/kernel/arch/x86_64/boot.o.depend: No such file or directory
    Makefile:83607: x86_64/kernel/arch/x86_64/entry.o.depend: No such file or directory
    Makefile:83623: x86_64/kernel/arch/x86/init_ap_x86_64.o.depend: No such file or directory
    Makefile:83639: x86_64/kernel/arch/x86/init_ap_x86_32.o.depend: No such file or directory
    Makefile:87361: x86_64/trace_definitions/trace_defs.o.depend: No such file or directory
    Makefile:87388: x86_64/errors/errno.o.depend: No such file or directory
    ghc -i../tools/fugu -odir  ./tools/tools/fugu -hidir  ./tools/tools/fugu -rtsopts=all --make  ../tools/fugu/Main.lhs -o  ./tools/bin/fugu  -i../tools/fof 

        Could not find module `Text.ParserCombinators.Parsec.Language'
        Use -v to see a list of the files searched for.
    make: *** [tools/bin/fugu] Error 1

3.This is the Hake output:
    lc at licaivbx:~/src/barrelfish-12e657e0ed48/build$ ../hake/hake.sh -s .. -i . -a x86_64
    Install directory is .
    Source directory is ..
    Architectures to build: "x86_64"
    Creating a local hake directory...
    Setting up hake build directory...
    Creating new symbolic_targets.mk file.
    Building hake...
    [ 1 of 14] Compiling Path             ( ../hake/Path.hs, hake/Path.o )
    [ 2 of 14] Compiling HakeTypes        ( ../hake/HakeTypes.hs, hake/HakeTypes.o )
    [ 3 of 14] Compiling Args             ( ../hake/Args.hs, hake/Args.o )
    [ 4 of 14] Compiling Config           ( hake/Config.hs, hake/Config.o )
    [ 5 of 14] Compiling ArchDefaults     ( ../hake/ArchDefaults.hs, hake/ArchDefaults.o )
    [ 6 of 14] Compiling X86_64           ( ../hake/X86_64.hs, hake/X86_64.o )
    [ 7 of 14] Compiling X86_32           ( ../hake/X86_32.hs, hake/X86_32.o )
    [ 8 of 14] Compiling SCC              ( ../hake/SCC.hs, hake/SCC.o )
    [ 9 of 14] Compiling ARMv5            ( ../hake/ARMv5.hs, hake/ARMv5.o )
    [10 of 14] Compiling ARM11MP          ( ../hake/ARM11MP.hs, hake/ARM11MP.o )
    [11 of 14] Compiling XScale           ( ../hake/XScale.hs, hake/XScale.o )
    [12 of 14] Compiling ARMv7            ( ../hake/ARMv7.hs, hake/ARMv7.o )
    [13 of 14] Compiling RuleDefs         ( ../hake/RuleDefs.hs, hake/RuleDefs.o )
    [14 of 14] Compiling Main             ( ../hake/Main.hs, hake/Main.o )
    Linking hake/hake ...
    Running hake...
    Source directory: ..
    BF Source directory: ..
    Install directory: .
    Reading directory tree...
    Reading Hakefiles...
    Writing HakeFile module...
    Evaluating Hakefiles...
    Generating Makefile - this may take some time (and RAM)...

    OK - Hake has bootstrapped.  You should now have a Makefile in this
    directory, and you can type "make" to build a predefined target.

    To change configuration options, edit the Config.hs file in the hake
    subdirectory of this directory and run "make rehake".

    To change the set of symbolic make targets available (for example, to
    build a different set of modules or architectures for your boot image),
    edit the local copy of the symbolic_targets.mk in this directory.

More information about the Barrelfish-users mailing list