[Wine] Re: unable to compile

Daniel Skorka skorka at gmx.net
Mon May 1 11:33:30 CDT 2006


CrashedAgain <tedhansen at sasktel.net> wrote:
> yes, I did ./configure, make depends && make before doing make install.

It seems strange that 'make install' will compile something after you
already did 'make'. I assume 'make depends' is just a typo?

> gcc is 4.0.4 20060422 from Debian unstable. I actually set up a
> complete new system to track this problem down...initially I discovered
> turbocad would run on these oly versions by usingold knoppix disks so I
> made a new partition & did a debian sarge netinstall to have a system I
> could wreck if it came to that.

So what now? Are you using gcc 4.0.4 on Debian unstable or gcc 3.3.5 on
sarge? I higly recommend the latter.

> `/home/crashedagain/compile/wine-20040121/tools/wrc'
> 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
> make[2]: *** [newstruc.o] Error 1
> 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 readres.o readres.c
> readres.c: In function 'read_res32':
> readres.c:236: warning: pointer targets in assignment differ in
> signedness
> readres.c:270: warning: pointer targets in assignment differ in
> signedness
> 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 translation.o translation.c
> 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 utils.o utils.c
> 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 wrc.o wrc.c
> 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 writeres.o writeres.c
> bison -y  -d -t ./parser.y
> conflicts: 5 shift/reduce
> 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 y.tab.o y.tab.c
> flex -Cf  -d -8 ./parser.l
> 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 lex.yy.o lex.yy.c
> lex.yy.c:9175: error: syntax error before numeric constant
> lex.yy.c: In function 'yy_scan_string':
> lex.yy.c:9176: error: number of arguments doesn't match prototype
> lex.yy.c:367: error: prototype declaration
> lex.yy.c:9178: warning: passing argument 1 of 'strlen' makes pointer
> from integer without a cast
> lex.yy.c:9178: warning: passing argument 1 of 'yy_scan_bytes' makes
> pointer from integer without a cast
> make[2]: *** [lex.yy.o] Error 1
> make[2]: Target `all' not remade because of errors.
> make[2]: Leaving directory
> `/home/crashedagain/compile/wine-20040121/tools/wrc'
> make[1]: *** [wrc] Error 2
> make[1]: Target `all' not remade because of errors.
> make[1]: Leaving directory

Huh. It just gets worse. Anybody have an idea why this one won't
compile?

> make: Target `all' not remade because of errors.
> desktop:/home/crashedagain/compile/wine-20040121#

Try running wine, maybe it'll work anyway.

Daniel


More information about the wine-users mailing list