Re: unable to compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CrashedAgain <tedhansen@xxxxxxxxxxx> 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
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux