[Barrelfish-users] RE: Compilation error
C K Kashyap
ckkashyap at gmail.com
Thu Feb 11 10:56:33 MET 2010
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> 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
> > 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
>> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>>
>
>
>
> --
> Regards,
> Kashyap
> _______________________________________________
> Barrelfish-users mailing list
> 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/3a4f25e8/attachment.html
More information about the Barrelfish-users
mailing list