[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] gnubg compilation problem: flex
From: |
Michael Petch |
Subject: |
Re: [Bug-gnubg] gnubg compilation problem: flex |
Date: |
Sun, 31 Aug 2014 02:28:41 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 2014-08-31 12:48 AM, Joseph Heled wrote:
> Hi,
>
> I upgraded to a 64 bit kubuntu mint 17, and make fails rather strangely.
> Anyone knows what is going on?
>
>> make
> /bin/bash ./ylwrap sgf_y.y y.tab.c sgf_y.c y.tab.h `echo sgf_y.c | sed
> -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/`
> y.output sgf_y.output -- yacc -d
> /home/joseph/software/gnubg/gnubg/sgf_y.y:86.1-13: warning: deprecated
> directive, use ‘%name-prefix’ [-Wdeprecated]
> %name-prefix="sgf"
> ^^^^^^^^^^^^^
> updating sgf_y.h
> /bin/bash ./ylwrap sgf_l.l .c sgf_l.c -- flex
> make: *** [sgf_l.c] Error 1
>
>
I fixed this problem about a month ago and was committed to CVS. The
problem is the equal sign has to be removed so it should appear as
%name-prefix "sgf" . My guess is latest version of Kubuntu is using
Bison 3 or higher?
Do you see this problem if you use the latest CVS source code?
--
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304