[Barrelfish-users] Compilation error

C K Kashyap ckkashyap at gmail.com
Mon Feb 8 13:34:55 MET 2010


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?

-- 
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20100208/53571c74/attachment.html


More information about the Barrelfish-users mailing list