[Barrelfish-users] yacc error

Daniel Röhrig daniel.roehrig at mailbox.tu-berlin.de
Wed Jun 20 15:47:54 CEST 2012


Hey Georgios,

had a similar problem until just a few moments ago. But then I installed
the "haskell-plattform" and now everything works like a charm. I have
no idea why.

Regards
Daniel

Am Tue, 19 Jun 2012 09:23:53 +0000
schrieb Georgios Varisteas <yorgos at kth.se>:

> Hi Gerd,
> 
> My yacc version is 1.9.1-r4 (last stable in Gentoo Linux)
> 
> $ hg summary 
> parent: 923:30ad14bd713a tip
>  adding a tag for release 2012-06-06
> branch: default
> commit: 2 modified, 5 unknown
> update: (current)
> 
> The modified and unknown files in the summary are what's generated by
> "making" the parser.
> 
> I tried this on a clean clone and had the same problem; the compiled
> parser is not in the repo as far as I can tell. After manually
> building the parser everything compiled normally. 
> 
> cheers,
> Georgios
> 
> ________________________________________
> From: Gerd Zellweger [zgerd at student.ethz.ch]
> Sent: Tuesday, June 19, 2012 11:07
> To: Georgios Varisteas; barrelfish-users at lists.inf.ethz.ch
> Subject: Re: [Barrelfish-users] yacc error
> 
> Hi georgios,
> 
> Ideally you should not have to build the parser yourself as the
> generated code already exists. The parse.y file and the makefile is
> only there in case you want to modify the functionality of the
> current parser. However, it is weird that hake is trying to build the
> parser all by itself. May I ask which revision you are using and
> which version of yacc you have installed so I can do some tests?
> 
> Gerd
> 
> Georgios Varisteas <yorgos at kth.se> wrote:
> 
> >Hi,
> >
> >After the last fetch from the repo, I got the following when running
> >make (after a hake.sh):
> >
> >yacc  ../src/lib/octopus/parser/parse.y
> >yacc: e - line 21 of "../src/lib/octopus/parser/parse.y", syntax
> >error %define api.pure
> >^
> >make: *** [../src/lib/octopus/parser/parse.c] Error 1
> >
> >Obviously this is a yacc issue solved by using bison.
> >
> >I did find out that I had to manually build the parser. Is that how
> >it should work? If not, why is the global Makefile using yacc
> >instead of bison (since it obviously tries to build the parser,
> >although I couldn't figure out where the command for it comes from)?
> >
> >
> >cheers,
> >Georgios
> >
> >
> >
> >_______________________________________________
> >Barrelfish-users mailing list
> >Barrelfish-users at lists.inf.ethz.ch
> >https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> 
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> 




More information about the Barrelfish-users mailing list