<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Stefan,<br><br></div>I tried building only the header file but it did not help.<br></div>I am still facing the same error!<br><br>In file included from ../lib/posixcompat/pty.h:16:0,<br>                 from ../lib/posixcompat/write.c:18:<br>../include/term/server/server.h:23:37: fatal error: if/terminal_config_defs.h: No such file or directory<br> #include &lt;if/terminal_config_defs.h&gt;<br>                                     ^<br>compilation terminated.<br>make: *** [x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend] Error 1<br><br><br></div><div>Then::<br></div>--&gt; I tried building the header files manually i.e by the below procedure.<br><br>./tools/bin/flounder -i ../if/platform/x86_64.if -i ../if/arch/x86_64.if -i ../if/types.if --generic-header ../if/terminal.if ./x86_64/include/if/terminal_config_defs.h<br><br></div>This resolved the dependency problem but i am facing some errors later in the installation.<br><br></div>1.) Please tell me if it is ok to build manually like i did?<br></div>2.) If yes What Flounder option should i mention to build the terminal_config_defs.h?  Is --generic-header fine?<br><br></div>Regards,<br></div>-Vamshi.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 20, 2014 at 4:21 AM, Kästle  Stefan <span dir="ltr">&lt;<a href="mailto:stefan.kaestle@inf.ethz.ch" target="_blank">stefan.kaestle@inf.ethz.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This sounds like a build dependency problem. It&#39;s worth trying to manually trigger flounder to generate the missing file:<br>
<br>
$ make ./x86_64/include/if/terminal_config_defs.h<br>
<br>
And then rebuild:<br>
<br>
$ make<br>
<br>
Ultimately, the problem is that libterm includes a file that is generated by one of its dependencies. This is bad, because it requires to specify this dependency everywhere the library is used (in your case libposixcompat).<br>
&lt;<a href="https://mail.ethz.ch/owa/?ae=PreFormAction&amp;a=Reply&amp;t=IPM.Note&amp;id=RgAAAABf%2bEk9yT%2fyTKqIqwuNs5ufBwB0zMe5vmNwQIrN1QwanZ9MAAABkAJNAACES0pGgACqRp4v1%2b76RudLAAAd4PA3AAAJ&amp;pspid=_1411199770424_328436972#" target="_blank">https://mail.ethz.ch/owa/?ae=PreFormAction&amp;a=Reply&amp;t=IPM.Note&amp;id=RgAAAABf%2bEk9yT%2fyTKqIqwuNs5ufBwB0zMe5vmNwQIrN1QwanZ9MAAABkAJNAACES0pGgACqRp4v1%2b76RudLAAAd4PA3AAAJ&amp;pspid=_1411199770424_328436972#</a>&gt;<br>
<br>
Include files of libraries should be self-contained in the sense that they only include headers that are either part of the library itself or static external include files (such as system includes, i.e. files that do _not_ have to be generated). More often than we would like to, they are not ..<br>
<br>
Cheers,<br>
 Stefan<br>
<br>
________________________________<br>
From: Vamshi Krishna [<a href="mailto:vamshi4ms@gmail.com">vamshi4ms@gmail.com</a>]<br>
Sent: Friday, September 19, 2014 8:59 PM<br>
To: <a href="mailto:barrelfish-users@lists.inf.ethz.ch">barrelfish-users@lists.inf.ethz.ch</a><br>
Subject: Re: [Barrelfish-users] Errors while building barrelfish.<br>
<span class=""><br>
Hi all,<br>
<br>
I am trying to build the latest version of barrelfish on Linux- ubuntu 14.04 64 bit. Architecture x86_64.<br>
<br>
I am facing the following error while building.<br>
<br>
Generating x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend<br>
In file included from ../lib/posixcompat/pty.h:16:0,<br>
                 from ../lib/posixcompat/write.c:18:<br>
../include/term/server/server.h:23:37: fatal error: if/terminal_config_defs.h: No such file or directory<br>
 #include &lt;if/terminal_config_defs.h&gt;<br>
                                     ^<br>
compilation terminated.<br>
make: *** [x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend] Error 1<br>
<br>
I tried looking up in the code for the file but couldn&#39;t find. Please help resolve this issue.<br>
<br>
Regards,<br>
-Vamshi.<br>
<br>
<br>
</span><div><div class="h5">On Fri, Sep 19, 2014 at 1:39 AM, Stefan Kaestle &lt;<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a>&lt;mailto:<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a>&gt;&gt; wrote:<br>
Hi Vamshi,<br>
<br>
As the error message suggests, you are missing parsec. On a typical Debian/Ubuntu system, the required package is typically called libghc-parsec2-dev<br>
<br>
For more information, read <a href="http://wiki.barrelfish.org/Getting_Started" target="_blank">http://wiki.barrelfish.org/Getting_Started</a> and <a href="http://hg.barrelfish.org/barrelfish/file/tip/README" target="_blank">http://hg.barrelfish.org/barrelfish/file/tip/README</a>.<br>
<br>
Cheers,<br>
 Stefan<br>
<br>
<br>
On 09/19/2014 10:29 AM, Vamshi Krishna wrote:<br>
Hi all,<br>
<br>
I am trying to build the latest version of barrelfish on Linux- ubuntu 14.04 64 bit. Architecture x86_64.<br>
<br>
I successfully built the makefile but while i try to build barrelfish, i get below errors. Please help me resolve.<br>
<br>
touch ./x86_64/trace_definitions/.marker<br>
mkdir -p ./x86_64/tools/asmoffsets<br>
touch ./x86_64/tools/asmoffsets/.marker<br>
mkdir -p ./x86_64/lib/posixcompat/_for_lib_posixcompat<br>
touch ./x86_64/lib/posixcompat/_for_lib_posixcompat/.marker<br>
ghc -i../tools/flounder -odir  ./tools/tools/flounder -hidir  ./tools/tools/flounder -rtsopts=all --make  ../tools/flounder/Main.lhs -o  ./tools/bin/flounder<br>
<br>
../tools/pleco/Parser.hs:22:8:<br>
    Could not find module `Text.ParserCombinators.Parsec.Language&#39;<br>
    Use -v to see a list of the files searched for.<br>
make: *** [tools/bin/pleco] Error 1<br>
make: *** Waiting for unfinished jobs....<br>
<br>
../tools/flounder/Parser.hs:25:8:<br>
    Could not find module `Text.ParserCombinators.Parsec.Language&#39;<br>
    Use -v to see a list of the files searched for.<br>
make: *** [tools/bin/flounder] Error 1<br>
<br>
../tools/hamlet/Parser.hs:21:8:<br>
    Could not find module `Text.ParserCombinators.Parsec.Language&#39;<br>
    Use -v to see a list of the files searched for.<br>
make: *** [tools/bin/hamlet] Error 1<br>
<br>
Regards,<br>
-Vamshi.<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Barrelfish-users mailing list<br>
</div></div><a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>&lt;mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>&gt;<br>
<span class=""><a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
<br>
<br>
<br>
--<br>
Stefan<br>
<a href="http://people.inf.ethz.ch/skaestle/" target="_blank">http://people.inf.ethz.ch/skaestle/</a><br>
<br>
_______________________________________________<br>
Barrelfish-users mailing list<br>
</span><a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>&lt;mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>&gt;<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>
<br>
<br>
</blockquote></div><br></div>