<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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).<div><br></div><div><div><div>On 09.02.2010, at 11:17, C K Kashyap wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Thanks Daniel,<div>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</div>
<div>Regards,</div><div>Kashyap</div><div><div><div><font class="Apple-style-span" color="#500050"><span class="Apple-style-span" style="font-size: x-small;"><br></span></font></div></div></div></span><br><div class="gmail_quote">
On Tue, Feb 9, 2010 at 1:47 AM, Daniel Theophanes <span dir="ltr">&lt;<a href="mailto:zrega@theophad.tmbx.com">zrega@theophad.tmbx.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Kashyap,<br>
<br>
&nbsp;Compiling on gcc 4.4 will fail using the last released snapshot. &nbsp;I would<br>
&nbsp;suggest you get and configure gcc4.3 . &nbsp;That will build the x86_32<br>
target.<br>
<br>
&nbsp;-Daniel<br>
<br>
<br>
&gt; ---Orig Message---<br>
<div><div></div><div class="h5">&gt; Hi folks,<br>
&gt;<br>
&gt; I am a new joinee to the list. I was trying to build barrelfish on my<br>
&gt; laptop<br>
&gt; (32 bit Fedora core 11, gcc 4.4 and ghc 6.10)<br>
&gt;<br>
&gt; I'd like to build a 32 bit version of the OS<br>
&gt;<br>
&gt; Here are the steps I followed -<br>
&gt;<br>
&gt; 1. Uncompressed the source and did a cd into the source<br>
&gt; 2. mkdir build &amp;&amp; cd barrelfish<br>
&gt; 3. ../hake/hake.sh .. x86_32<br>
&gt; 4. make<br>
&gt; 5. At this point I got an error -<br>
&gt;<br>
&gt; In file included from ../kernel/arch/x86_32/irq.c:57:<br>
&gt; ./x86_32/include/asmoffsets.h:1:2: error: invalid preprocessing<br>
directive<br>
&gt; #APP<br>
&gt; ./x86_32/include/asmoffsets.h:52:2: error: invalid preprocessing<br>
directive<br>
&gt; #NO_APP<br>
&gt; make: *** [x86_32/kernel/arch/x86_32/irq.o.depend] Error 1<br>
&gt; make: *** Deleting file `x86_32/kernel/arch/x86_32/irq.o.depend'<br>
&gt;<br>
&gt; 6. I removed the offending "directives" from asmoffsets.h and the<br>
&gt; compilation proceeded, only to fail here -<br>
&gt;<br>
&gt; ./tools/tools/flounder/flounder -S ../if/pci.if<br>
&gt; ./x86_32/usr/pci/_for_app_pci/pci_flounder_server.c<br>
&gt; Generating x86_32/usr/pci/_for_app_pci/pci_flounder_server.o.depend<br>
&gt; mkdir -p ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive<br>
&gt; touch ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/.marker<br>
&gt; ./tools/tools/flounder/flounder -h ../if/bench.if<br>
&gt; ./x86_32/include/if/bench_types.h<br>
&gt; Generating<br>
&gt; x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend<br>
&gt; In file included from ../usr/bench/urpc_bench/urpc_bench.h:23,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ../usr/bench/urpc_bench/receive.c:15:<br>
&gt; ../include/barrelfish/monitor_client.h:17:30: error: if/monitor_types.h:<br>
&gt; No<br>
&gt; such file or directory<br>
&gt; make: ***<br>
&gt; [x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend]<br>
Error<br>
&gt; 1<br>
&gt; make: *** Deleting file<br>
&gt; `x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend'<br>
&gt;<br>
&gt; Can someone please let me know what I need to do to go forward?<br>
</div></div>_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Kashyap<br>
_______________________________________________<br>Barrelfish-users mailing list<br><a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br><a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div>--&nbsp;</div><div>&nbsp;&nbsp;René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin</div><div>&nbsp;&nbsp;<a href="http://exactcode.com">http://exactcode.com</a> | <a href="http://t2-project.org">http://t2-project.org</a> | <a href="http://rene.rebe.name">http://rene.rebe.name</a></div></div></div></div></div></span></div></span></div></span></span>
</div>
<br></div><br><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div>--&nbsp;</div><div>&nbsp;&nbsp;René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin</div><div>&nbsp;&nbsp;DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478</div><div>&nbsp;&nbsp;Managing Directors: Susanne Klaus, René Rebe</div><div>&nbsp;&nbsp;<a href="http://exactcode.com">http://exactcode.com</a> | <a href="http://t2-project.org">http://t2-project.org</a> | <a href="http://rene.rebe.name">http://rene.rebe.name</a></div></div></div></div></div></span></div></span></div></span></span>
</div>
<br></body></html>