[Wine] Re: unable to compile

CrashedAgain tedhansen at sasktel.net
Mon May 1 20:07:25 CDT 2006


the "make depends && make command" came from the readme file in the
wine folder.
I was using gcc 4.0.4 (unstable) on Sarge. Debian netinstall gives a
sarge system but I wanted updated konqueror so I ended up with a mixed
system.
I removed this & installed gcc 3.3.5 from stable & tried again, this
time I got slightly different errors:

...
make[2]: Entering directory
`/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: warning: use of cast expressions as lvalues is
deprecated
newstruc.c: In function `new_ani_curico':
newstruc.c:875: warning: use of cast expressions as lvalues is
deprecated
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 arg 1 of `strlen' makes pointer from
integer without a cast
lex.yy.c:9178: warning: passing arg 1 of `yy_scan_bytes' makes pointer
from integer without a cast
./parser.l: At top level:
lex.yy.c:8688: warning: `yyunput' defined but not used
lex.yy.c:9267: warning: `yy_top_state' defined but not used
make[2]: *** [lex.yy.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#

but the end result is still no joy.

at this point,wine does not run. make install is supposed to install it
(I think) so it does not get installed. "./wine " run from the compile
directory results in "could not locate Wine source tree" error. I'm
afraid I'm not very experienced at compliling having done most of my
system maintenance with .deb packages.

I am also using the 2.6 kernel (Sarge comes with 2.4.26), one of the
things I wanted to check was if the turbocad failure was due to the 2.6
kernel. I seemed like that might be the case from the Knoppix disks,
Knoppix 3.4 came with both the 2.4 & the 2.6 kernel & turbocad would
run with the 2.4 but not the 2.6. Knoppix 3.4 implementation of the 2.6
kernel was know to be buggy so I thought this might be it. It wasn't,
turbocad run just the same with either kernel on my experimental
system.

Will switch to the 2.4 kernel & attempt to compile again.

I obtained the wine tarball from
http://ftp.citkit.ru/pub/sourceforge/w/wi/wine/, I will also try to
find a different source,it might be a buggy tarball.



More information about the wine-users mailing list