[Barrelfish-users] RE: Compilation error

C K Kashyap ckkashyap at gmail.com
Tue Feb 9 11:17:02 MET 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20100209/50c2b80d/attachment.html


More information about the Barrelfish-users mailing list