Re: [Bug-gnubg] gnubg compilation problem: flex

2014-08-31 Thread Michael Petch


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

___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg


[Bug-gnubg] gnubg compilation problem: flex

2014-08-30 Thread Joseph Heled
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


Thanks, Joseph
___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg