URL:
<http://savannah.gnu.org/bugs/?22812>
Summary: Parser.c Compile Error on Ubuntu 7.10
Project: XBoard
Submitted by: None
Submitted on: Wednesday 04/02/2008 at 14:40 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I tried checking out the latest version of xboard, but the parser.c and
parser.l combination don't compile.
$ uname -a
Linux desktop 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64
GNU/Linux
$ make
gcc -DHAVE_CONFIG_H -I. -I. -DINFODIR=\"/usr/share/info\" -c parser.c
lex.yy.c:2073: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘YY_PROTO’
lex.yy.c:2073: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘YY_PROTO’
lex.yy.c:2073: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘YY_PROTO’
./parser.l: In function ‘yyoffset’:
./parser.l:859: error: ‘yy_current_buffer’ undeclared (first use in this
function)
./parser.l:859: error: (Each undeclared identifier is reported only once
./parser.l:859: error: for each function it appears in.)
make: *** [parser.o] Error 1
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 04/02/2008 at 14:40 UTC Name: parser.c Size: 142kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=15376>
-------------------------------------------------------
Date: Wednesday 04/02/2008 at 14:40 UTC Name: configure Size: 280kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=15377>
-------------------------------------------------------
Date: Wednesday 04/02/2008 at 14:40 UTC Name: parser.l Size: 23kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=15378>
-------------------------------------------------------
Date: Wednesday 04/02/2008 at 14:40 UTC Name: configure.sh Size: 135B By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=15379>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22812>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard