[Barrelfish-users] Errors while building barrelfish.
Kästle Stefan
stefan.kaestle at inf.ethz.ch
Sat Sep 20 13:21:12 CEST 2014
This sounds like a build dependency problem. It's worth trying to manually trigger flounder to generate the missing file:
$ make ./x86_64/include/if/terminal_config_defs.h
And then rebuild:
$ make
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).
<https://mail.ethz.ch/owa/?ae=PreFormAction&a=Reply&t=IPM.Note&id=RgAAAABf%2bEk9yT%2fyTKqIqwuNs5ufBwB0zMe5vmNwQIrN1QwanZ9MAAABkAJNAACES0pGgACqRp4v1%2b76RudLAAAd4PA3AAAJ&pspid=_1411199770424_328436972#>
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 ..
Cheers,
Stefan
________________________________
From: Vamshi Krishna [vamshi4ms at gmail.com]
Sent: Friday, September 19, 2014 8:59 PM
To: barrelfish-users at lists.inf.ethz.ch
Subject: Re: [Barrelfish-users] Errors while building barrelfish.
Hi all,
I am trying to build the latest version of barrelfish on Linux- ubuntu 14.04 64 bit. Architecture x86_64.
I am facing the following error while building.
Generating x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend
In file included from ../lib/posixcompat/pty.h:16:0,
from ../lib/posixcompat/write.c:18:
../include/term/server/server.h:23:37: fatal error: if/terminal_config_defs.h: No such file or directory
#include <if/terminal_config_defs.h>
^
compilation terminated.
make: *** [x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend] Error 1
I tried looking up in the code for the file but couldn't find. Please help resolve this issue.
Regards,
-Vamshi.
On Fri, Sep 19, 2014 at 1:39 AM, Stefan Kaestle <stefan.kaestle at inf.ethz.ch<mailto:stefan.kaestle at inf.ethz.ch>> wrote:
Hi Vamshi,
As the error message suggests, you are missing parsec. On a typical Debian/Ubuntu system, the required package is typically called libghc-parsec2-dev
For more information, read http://wiki.barrelfish.org/Getting_Started and http://hg.barrelfish.org/barrelfish/file/tip/README.
Cheers,
Stefan
On 09/19/2014 10:29 AM, Vamshi Krishna wrote:
Hi all,
I am trying to build the latest version of barrelfish on Linux- ubuntu 14.04 64 bit. Architecture x86_64.
I successfully built the makefile but while i try to build barrelfish, i get below errors. Please help me resolve.
touch ./x86_64/trace_definitions/.marker
mkdir -p ./x86_64/tools/asmoffsets
touch ./x86_64/tools/asmoffsets/.marker
mkdir -p ./x86_64/lib/posixcompat/_for_lib_posixcompat
touch ./x86_64/lib/posixcompat/_for_lib_posixcompat/.marker
ghc -i../tools/flounder -odir ./tools/tools/flounder -hidir ./tools/tools/flounder -rtsopts=all --make ../tools/flounder/Main.lhs -o ./tools/bin/flounder
../tools/pleco/Parser.hs:22:8:
Could not find module `Text.ParserCombinators.Parsec.Language'
Use -v to see a list of the files searched for.
make: *** [tools/bin/pleco] Error 1
make: *** Waiting for unfinished jobs....
../tools/flounder/Parser.hs:25:8:
Could not find module `Text.ParserCombinators.Parsec.Language'
Use -v to see a list of the files searched for.
make: *** [tools/bin/flounder] Error 1
../tools/hamlet/Parser.hs:21:8:
Could not find module `Text.ParserCombinators.Parsec.Language'
Use -v to see a list of the files searched for.
make: *** [tools/bin/hamlet] Error 1
Regards,
-Vamshi.
_______________________________________________
Barrelfish-users mailing list
Barrelfish-users at lists.inf.ethz.ch<mailto:Barrelfish-users at lists.inf.ethz.ch>
https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
--
Stefan
http://people.inf.ethz.ch/skaestle/
_______________________________________________
Barrelfish-users mailing list
Barrelfish-users at lists.inf.ethz.ch<mailto:Barrelfish-users at lists.inf.ethz.ch>
https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
More information about the Barrelfish-users
mailing list