![在 Ubuntu 14.04(32 位)上从源代码编译 Wine 1.3.6](https://linux22.com/image/868934/%E5%9C%A8%20Ubuntu%2014.04%EF%BC%8832%20%E4%BD%8D%EF%BC%89%E4%B8%8A%E4%BB%8E%E6%BA%90%E4%BB%A3%E7%A0%81%E7%BC%96%E8%AF%91%20Wine%201.3.6.png)
我需要从源代码编译 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
,但错误仍然一样。