在 Ubuntu 14.04(32 位)上从源代码编译 Wine 1.3.6

在 Ubuntu 14.04(32 位)上从源代码编译 Wine 1.3.6

我需要从源代码编译 Wine 1.3.6,但是我收到以下错误:

gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DINCLUDEDIR="\"/usr/local/include/wine\""   -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o parser.tab.o parser.tab.c
parser.y: In function ‘rsrcid_to_token’:
parser.y:2882:15: error: ‘YYLEX’ undeclared (first use in this function)
   lookahead = YYLEX;
               ^
parser.y:2882:15: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [parser.tab.o] Error 1
make[1]: Leaving directory `/home/trinity/wine-1.3.6/tools/wrc'
make: *** [tools/wrc] Error 2

我尝试过sudo apt-get remove bison,然后使用 安装 bison 2.5 dpkg,但错误仍然一样。

相关内容