Re: Wine CVS won't compile + fix
iogurt <[email protected]> Mon, 1 May 2006 06:22:42 +0000 (UTC)
| Newsgroups | gmane.comp.emulators.winex.devel |
|---|---|
| Message-ID | <[email protected]> |
2 Michael Mohr <m.mohr <at> laposte.net> I have applyied both your fixes, but error with gcc4.0.2 with Cedega CVS 2006 05 01 is following: ... gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o lex.ppl.o lex.ppl.c bison -y -d -t ./parser.y конфликты: 2 сдвига/вывода gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o y.tab.o y.tab.c flex -Cf -d -8 ./parser.l gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,--execstack -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o lex.yy.o lex.yy.c lex.yy.c:7200: error: syntax error before numeric constant lex.yy.c: In function ‘yy_scan_string’: lex.yy.c:7205: error: number of arguments doesn’t match prototype lex.yy.c:239: error: prototype declaration lex.yy.c:7207: error: subscripted value is neither array nor pointer lex.yy.c:7210: warning: passing argument 1 of ‘yy_scan_bytes’ makes pointer from integer without a cast make[2]: *** [lex.yy.o] Ошибка 1 make[2]: Leaving directory `/home/install/gamez/winex/tools/wrc' make[1]: *** [wrc] Ошибка 2 make[1]: Leaving directory `/home/install/gamez/winex/tools' make: *** [tools] Ошибка 2 Can anybody solve this problem. My OS is ASPLinux v.11 (based on Fedora Core 4)