[Barrelfish-users] RE: Compilation error
Daniel Theophanes
zrega at theophad.tmbx.com
Mon Feb 8 21:17:57 MET 2010
Kashyap,
Compiling on gcc 4.4 will fail using the last released snapshot. I would
suggest you get and configure gcc4.3 . That will build the x86_32
target.
-Daniel
> ---Orig Message---
> Hi folks,
>
> I am a new joinee to the list. I was trying to build barrelfish on my
> laptop
> (32 bit Fedora core 11, gcc 4.4 and ghc 6.10)
>
> I'd like to build a 32 bit version of the OS
>
> Here are the steps I followed -
>
> 1. Uncompressed the source and did a cd into the source
> 2. mkdir build && cd barrelfish
> 3. ../hake/hake.sh .. x86_32
> 4. make
> 5. At this point I got an error -
>
> In file included from ../kernel/arch/x86_32/irq.c:57:
> ./x86_32/include/asmoffsets.h:1:2: error: invalid preprocessing
directive
> #APP
> ./x86_32/include/asmoffsets.h:52:2: error: invalid preprocessing
directive
> #NO_APP
> make: *** [x86_32/kernel/arch/x86_32/irq.o.depend] Error 1
> make: *** Deleting file `x86_32/kernel/arch/x86_32/irq.o.depend'
>
> 6. I removed the offending "directives" from asmoffsets.h and the
> compilation proceeded, only to fail here -
>
> ./tools/tools/flounder/flounder -S ../if/pci.if
> ./x86_32/usr/pci/_for_app_pci/pci_flounder_server.c
> Generating x86_32/usr/pci/_for_app_pci/pci_flounder_server.o.depend
> mkdir -p ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive
> touch ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/.marker
> ./tools/tools/flounder/flounder -h ../if/bench.if
> ./x86_32/include/if/bench_types.h
> Generating
> x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend
> In file included from ../usr/bench/urpc_bench/urpc_bench.h:23,
> from ../usr/bench/urpc_bench/receive.c:15:
> ../include/barrelfish/monitor_client.h:17:30: error: if/monitor_types.h:
> No
> such file or directory
> make: ***
> [x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend]
Error
> 1
> make: *** Deleting file
> `x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend'
>
> Can someone please let me know what I need to do to go forward?
More information about the Barrelfish-users
mailing list