http://bugs.winehq.com/show_bug.cgi?id=1483
Summary: Will not compile with flex 2.5.31 Product: Wine Version: 20030508 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.com ReportedBy: finity@kc.rr.com
I am using Debian unstable, so maybe this is their problem, but I had the flex package installed. It is listed as version 2.5.31-8 (http://packages.debian.org/unstable/devel/flex.html). Wine compiled a little, but not much (some important output is below). I installed "flex-old" listed as version 2.5.4a-1 (http://packages.debian.org/unstable/devel/flex-old.html) and it compiled just fine. Anyway, here's some of the output from the compiler when I tried - by the way, the 20030408 release also wouldn't compile.
--snip-- make[2]: Leaving directory `/home/finity/wine-20030508/libs/wine' make[2]: Entering directory `/home/finity/wine-20030508/libs/wpp' gcc -c -I. -I. -I../../include -I../../include -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o lex.yy.o lex.yy.c ./ppl.l:98:1: warning: "/*" within comment ./ppl.l:107:2: #endif without #if ./ppl.l: In function `pplex': ./ppl.l:309: error: `pp_incl_state' undeclared (first use in this function) ./ppl.l:309: error: (Each undeclared identifier is reported only once ./ppl.l:309: error: for each function it appears in.) ./ppl.l:309: error: `pp_pp' undeclared (first use in this function)
--snip for many similar errors to those above--
./ppl.l: In function `pp_push_ignore_state': ./ppl.l:1471: error: `pp_ignore' undeclared (first use in this function) /usr/include/stdlib.h: At top level: lex.yy.c:15496: warning: `yyunput' defined but not used make[2]: *** [lex.yy.o] Error 1 make[2]: Leaving directory `/home/finity/wine-20030508/libs/wpp' make[1]: *** [wpp] Error 2 make[1]: Leaving directory `/home/finity/wine-20030508/libs' make: *** [libs] Error 2
Not really a big deal, and sike I said, I'm using unstable, but the readme said any flex above 2.5 and with debian to just install the flex package. Thanks for your hard work.