[Barrelfish] Re: [Barrelfish-users] RE: Compilation error
Richard Black
Richard.Black at microsoft.com
Thu Feb 11 11:02:43 MET 2010
The readme with the release (http://www.barrelfish.org/release_20091219.html) says "Initial (incomplete) ports to ARM, x86_32 and Beehive architectures. We do not expect these to be usable by anyone yet" but the compile error you post below appears to be about compiling x86_32; please try from a freshly created build tree for x86_64.
From: barrelfish-bounces at lists.inf.ethz.ch [mailto:barrelfish-bounces at lists.inf.ethz.ch] On Behalf Of C K Kashyap
Sent: 11 February 2010 09:57
To: René Rebe
Cc: barrelfish-users at lists.inf.ethz.ch
Subject: [Barrelfish] Re: [Barrelfish-users] RE: Compilation error
Thanks Rene,
When I set the env variable LANG=C (which was en_US.UTF-8) The compilation proceeds till 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'
Regards,
Kashyap
On Tue, Feb 9, 2010 at 3:53 PM, René Rebe <rene at rebe.name<mailto:rene at rebe.name>> wrote:
It is not compiler related. It's a pure sed or grep locale thing. Just set LC_LANG=C at the sed or grep invocation where the header file is created. (If I would have had versioned source at hand I would have sent a patch).
On 09.02.2010, at 11:17, C K Kashyap wrote:
Thanks Daniel,
I tried to set up 4.3 today but did not succeed - is there some pointer you can point me to where I can read up on setting up 4.3 to co-exist with 4.4
Regards,
Kashyap
On Tue, Feb 9, 2010 at 1:47 AM, Daniel Theophanes <zrega at theophad.tmbx.com<mailto:zrega at theophad.tmbx.com>> wrote:
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?
_______________________________________________
Barrelfish-users mailing list
Barrelfish-users at lists.inf.ethz.ch<mailto:Barrelfish-users at lists.inf.ethz.ch>
https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
--
Regards,
Kashyap
_______________________________________________
Barrelfish-users mailing list
Barrelfish-users at lists.inf.ethz.ch<mailto:Barrelfish-users at lists.inf.ethz.ch>
https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.name
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
Managing Directors: Susanne Klaus, René Rebe
http://exactcode.com | http://t2-project.org | http://rene.rebe.name
--
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20100211/08c157a1/attachment-0001.html
More information about the Barrelfish-users
mailing list