<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Yeah, already fixed that. Thanks.<br>
Still, considering rev 923 is the one for the latest stable release, I am wondering why there are so many problems with it.<br>
I mean, it should compile without problems, just as with the last release, shouldn't it? Unless there is some page about various problems I am missing.<br>
Is there going to be any more problems compiling this rev?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Regards,<br>
Patrik Eklöf</span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"></span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"><br>
</span></font><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
</span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF926636"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Stefan Kästle [stefan.kaestle@inf.ethz.ch]<br>
<b>Sent:</b> Friday, June 29, 2012 16:46<br>
<b>To:</b> barrelfish-users@lists.inf.ethz.ch<br>
<b>Subject:</b> Re: [Barrelfish-users] Building newest BF<br>
</font><br>
</div>
<div></div>
<div>This is the patch:<br>
<br>
<tt>changeset:&nbsp;&nbsp; 929:0030cd9fb3e6<br>
user:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kornilios Kourtis <a class="moz-txt-link-rfc2396E" href="mailto:kkourt@inf.ethz.ch" target="_blank">
&lt;kkourt@inf.ethz.ch&gt;</a><br>
date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tue Jun 12 17:40:30 2012 &#43;0200<br>
summary:&nbsp;&nbsp;&nbsp;&nbsp; hake/Config.hs.template: switch optimization level back to -O2<br>
<br>
diff -r 689e89ab292c -r 0030cd9fb3e6 hake/Config.hs.template<br>
--- a/hake/Config.hs.template&nbsp;&nbsp; Mon Jun 11 09:46:36 2012 &#43;0200<br>
&#43;&#43;&#43; b/hake/Config.hs.template&nbsp;&nbsp; Tue Jun 12 17:40:30 2012 &#43;0200<br>
@@ -29,7 &#43;29,7 @@<br>
&nbsp;<br>
&nbsp;-- Optimisation flags (-Ox -g etc.) passed to compiler<br>
&nbsp;cOptFlags :: String<br>
-cOptFlags = &quot;-g -O3&quot;<br>
&#43;cOptFlags = &quot;-g -O2&quot;<br>
&nbsp;<br>
&nbsp;-- Selects which libc to compile with, &quot;oldc&quot; or &quot;newlib&quot;<br>
&nbsp;libc :: String</tt><br>
<br>
Don't forget to either create a new build directory or remove Config.hs from your current build directory as updating it in the source directory will not overwrite the version in your build directory.<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/29/2012 04:40 PM, Patrik Eklöf wrote:<br>
</div>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Thanks.<br>
That removed one error, but as soon as that finished, another popped up:<br>
<br>
[root@localhost build]# make<br>
gcc -std=c99 -U__STRICT_ANSI__ -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -fno-omit-frame-pointer -fno-builtin -nostdinc -U__linux__ -Ulinux -Wall -Wshadow -Wmissing-declarations -Wmissing-field-initializers -Wredundant-decls -Werror -imacros
 ../source/include/deputy/nodeputy.h -m64 -mno-red-zone -fPIE -fno-stack-protector -Wno-unused-but-set-variable -Wno-packed-bitfield-compat -DBARRELFISH -DCONFIG_LAZY_THC -DCONFIG_NEWLIB -DUSE_KALUGA_DVM -DCONFIG_INTERCONNECT_DRIVER_LMP -DCONFIG_INTERCONNECT_DRIVER_UMP
 -DCONFIG_INTERCONNECT_DRIVER_MULTIHOP -DCONFIG_FLOUNDER_BACKEND_LMP -DCONFIG_FLOUNDER_BACKEND_UMP -DCONFIG_FLOUNDER_BACKEND_MULTIHOP -g -O3 -I../source/include -I../source/include/arch/x86_64 -I../source/lib/newlib/newlib/libc/include -I../source/include/c
 -I../source/include/target/x86_64 -I../source/include/ipv4 -I../source/include/posixcompat -I./x86_64/include -I./x86_64/include/dev -I../source/usr/tests/thctest -I./x86_64/usr/tests/thctest -o ./x86_64/usr/tests/thctest/_for_app_thctest/thctest.o -c ../source/usr/tests/thctest/thctest.c
<br>
../source/usr/tests/thctest/thctest.c: Assembler messages:<br>
../source/usr/tests/thctest/thctest.c:53: Error: symbol `_thc_cont_return_5' is already defined<br>
../source/usr/tests/thctest/thctest.c:69: Error: symbol `_thc_cont_return_6' is already defined<br>
../source/usr/tests/thctest/thctest.c:91: Error: symbol `_thc_cont_return_7' is already defined<br>
../source/usr/tests/thctest/thctest.c:111: Error: symbol `_thc_cont_return_8' is already defined<br>
make: *** [x86_64/usr/tests/thctest/_for_app_thctest/thctest.o] Error 1<br>
<br>
Also, I did test this on a fresh clone of the repo (using rev 923).<br>
Multiple definition errors... but where do they come from?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Regards,<br>
Patrik Eklöf</span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"></span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"><br>
</span></font><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
</span></font></div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF650704" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Raphael Fuchs [<a class="moz-txt-link-abbreviated" href="mailto:raphaelfuchs@student.ethz.ch" target="_blank">raphaelfuchs@student.ethz.ch</a>]<br>
<b>Sent:</b> Friday, June 29, 2012 13:30<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:barrelfish-users@lists.inf.ethz.ch" target="_blank">
barrelfish-users@lists.inf.ethz.ch</a><br>
<b>Subject:</b> Re: [Barrelfish-users] Building newest BF<br>
</font><br>
</div>
<div>
<div class="moz-cite-prefix">Hi Patrik<br>
<br>
We already fixed this bug in our development tree, the fix will be included in our next release. Meanwhile, you can apply the attached patch yourself, it should solve your problem.<br>
<br>
Regards<br>
Raphael<br>
<br>
On 29.06.2012 12:42, Patrik Eklöf wrote:<br>
</div>
<blockquote type="cite"><style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {scrollbar-base-color:undefined;
        scrollbar-highlight-color:undefined;
        scrollbar-darkshadow-color:undefined;
        scrollbar-arrow-color:undefined}
body
        {scrollbar-base-color:undefined;
        scrollbar-highlight-color:undefined;
        scrollbar-darkshadow-color:undefined;
        scrollbar-arrow-color:undefined}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi all,<br>
<br>
I'm having trouble building the newest rev of BF.<br>
I've tried the newest as well as the stable 922 rev, but both give the same error.<br>
<br>
The complete error is:<br>
../source/include/acpi_client/acpi_client.h:19:36: fatal error: if/acpi_rpcclient_defs.h: No such file or directory<br>
<br>
I've tried downloading the source from scratch, then applying the patch at <a href="http://wiki.barrelfish.org/Getting_Started" target="_blank">
http://wiki.barrelfish.org/Getting_Started</a> (because otherwise I get the dreaded Hake error), then running the hake script and finally make.<br>
<br>
I've updated all packages to latest, but still running on the 3.1 kernel to see if it would help the issue, but it did not.<br>
Any idea what's wrong?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Regards,<br>
Patrik Eklöf</span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"></span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"><br>
</span></font><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
</span></font></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
Barrelfish-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
</blockquote>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
Barrelfish-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Stefan</pre>
<br>
<br>
</div>
</div>
</div>
</body>
</html>