Hi, I've got an error when trying to compile WINE. I've pasted the whole thing below. System is a K6-2 500mhz, with Mandrake 8.2, 2.4.18-6mdk kernel. Any ideas? I'm using the "./tools/wineinstall" method. gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -g -O2 -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -fPIC -D__WINESRC__ -DBINDIR="\"/usr/local/bin\"" -D_REENTRANT -o ../../graphics/x11drv/dib.o ../../graphics/x11drv/dib.c ../../graphics/x11drv/dib.c: In function `X11DRV_DIB_SetImageBits_32': ../../graphics/x11drv/dib.c:4070: parse error before `X11DRV_DIB_Convert_0888_to_888_reverse' ../../graphics/x11drv/dib.c:4093: duplicate case value ../../graphics/x11drv/dib.c:4144: duplicate case value ../../graphics/x11drv/dib.c:4145: duplicate case value ../../graphics/x11drv/dib.c:4163: parse error before `Image' ../../graphics/x11drv/dib.c:4214: parse error before `static' ../../graphics/x11drv/dib.c:4231: `bits' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4231: (Each undeclared identifier is reported only once ../../graphics/x11drv/dib.c:4231: for each function it appears in.) ../../graphics/x11drv/dib.c:4241: `rDst' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4241: `gDst' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4241: `bDst' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4437: `srccolors' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4493: duplicate label `notsupported' ../../graphics/x11drv/dib.c:4528: parse error before `static' ../../graphics/x11drv/dib.c:4534: `descr' undeclared (first use in this function) ../../graphics/x11drv/dib.c:4544: warning: `return' with a value, in function returning void ../../graphics/x11drv/dib.c:4557: duplicate case value ../../graphics/x11drv/dib.c:4562: duplicate case value ../../graphics/x11drv/dib.c:4578: duplicate case value ../../graphics/x11drv/dib.c:4593: duplicate case value ../../graphics/x11drv/dib.c:4594: duplicate case value ../../graphics/x11drv/dib.c:4601: duplicate case value ../../graphics/x11drv/dib.c:4608: duplicate case value ../../graphics/x11drv/dib.c:4615: multiple default labels in one switch ../../graphics/x11drv/dib.c:4171: this is the first default label ../../graphics/x11drv/dib.c:4640: warning: `return' with a value, in function returning void ../../graphics/x11drv/dib.c:4648: parse error before `static' ../../graphics/x11drv/dib.c:4664: warning: `return' with a value, in function returning void ../../graphics/x11drv/dib.c:4704: confused by earlier errors, bailing out make[2]: *** [../../graphics/x11drv/dib.o] Error 1 make[2]: Leaving directory `/home/mattb/wnie_src2/dlls/x11drv' make[1]: *** [x11drv] Error 2 make[1]: Leaving directory `/home/mattb/wnie_src2/dlls' make: *** [dlls] Error 2 Any help appreciated. -Matt Bailey
--- Matt Bailey <mattb@rtccom.net> a ?crit : > Hi,> > I've got an error when trying to compile WINE. I've pasted the > whole thing > below. System is a K6-2 500mhz, with Mandrake 8.2, 2.4.18-6mdk > kernel. Any > ideas? I'm using the "./tools/wineinstall" method. >please give your Wine version. ====Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War ! "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
And of course it doesnt :( What is your gcc version ? Some unofficial gcc versions distributed by RedHat are known to be broken. Run 'gcc --version' --- Matt Bailey <mattb@rtccom.net> a ?crit :> Hmmmmm, well it sure would be nice if a corrupted file is the > problem. Here > it is............thanks. > > -Matt Bailey >====Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War ! "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
Update it. This is what I expected, gcc-2.96 is the very broken version of RedHat. --- Matt Bailey <mattb@rtccom.net> a ?crit :> So dib.c looked ok? GCC version is 2.96. I'm on Mandrake 8.2, by the > way. > > -Matt Bailey====Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War ! "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
--- Matt Bailey <mattb@rtccom.net> a ?crit : "Maybe" is unneeded here. :) See mplayer team answer here : http://www.mplayerhq.hu/DOCS/users_against_developers.html#gcc 3.0.4 or 3.2 are the better choices. (Mandrake 9 is using 3.2.1 if I remember correct)> Ahh, good news then. Maybe this is what has been hanging up my other > compiling projects...........so which version should I get? I'm sure > I could > find gcc on the net but I don't want to end up with another broken > one. > > -Matt Bailey====Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War ! "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com