[Wine] Re: unable to compile
Daniel Skorka
skorka at gmx.net
Mon May 1 05:08:00 CDT 2006
CrashedAgain <tedhansen at sasktel.net> wrote:
> I have discovered it will run under version 20040121 or older but has
> errors with later versions.
Cool. You found a regression. Assuming you can get around your problem
below, you can follow this [1] to find out which patch exactly caused
the failure.
> "make install" fails with the following message:
I assume you did "./configure; make install"?
> gcc -c -I. -I. -I../../include -I../../include
> -DINCLUDEDIR="\"/usr/local/include/wine\"" -Wall -pipe
> -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
> -Wpointer-arith -g -O2 -o newstruc.o newstruc.c
> newstruc.c: In function 'handle_ani_list':
> newstruc.c:764: error: invalid lvalue in increment
> newstruc.c: In function 'new_ani_curico':
> newstruc.c:875: error: invalid lvalue in increment
Hmmph. It kinda seems like code from 2004 won't compile anymore. If this
were true, it would really suck. What version of gcc are you using?
> make[2]: *** [newstruc.o] Error 1
> make[2]: Leaving directory
> `/home/crashedagain/compile/wine-20040121/tools/wrc'
> make[1]: *** [wrc] Error 2
> make[1]: Leaving directory
> `/home/crashedagain/compile/wine-20040121/tools'
> make: *** [tools] Error 2
> desktop:/home/crashedagain/compile/wine-20040121#
The problem appears to be confined to a rather unimportant tool. You can
try to give the option "-k" to make and see how far you get along.
> line 764 is the "FIXME" line near the end.
> line 875 is similar.
Sometimes #define's and #include's throw the line count of track. The
actual problem propably is a few lines before that.
Daniel
[1] http://winehq.org/site/docs/winedev-guide/x1344
More information about the wine-users
mailing list