[Wine] Suffix or Operands invalid during AMD64 compile

Peter Beutner p.beutner at gmx.net
Wed Mar 14 05:26:18 CDT 2007


Martin.Fuhrer at cggveritas.com schrieb:
>> hm, you made a 'make clean' before? You probably need this to remove any
>> compiled 64bit code from your previous attempts.
>> so try:
>> make clean
>> ./configure --prefix=/home/mfuhrer/sw/linux
>> make depend
>> make
> 
> To ensure I'm starting from a clean slate, I removed my old wine-0.9.32
> source directory and untarred a fresh one.
> 
> % ./configure --prefix=/home/mfuhrer/sw/linux
> % make depend
> 
> These run fine.  But I'm back to my original compile error:
> 
> % make
> make[1]: Entering directory `/mnt/io/home/mfuhrer/sw/src/wine-0.9.32/tools'
> make[1]: `makedep' is up to date.
> make[1]: Leaving directory `/mnt/io/home/mfuhrer/sw/src/wine-0.9.32/tools'
> make[1]: Entering directory `/mnt/io/home/mfuhrer/sw/src/wine-0.9.32/libs'
> make[2]: Entering directory `/mnt/io/home/mfuhrer/sw/src/wine-0.9.32
> /libs/port'
> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT
> -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
> -Wwrite-strings -Wpointer-arith  -g -O2 -D__i386__  -o interlocked.o
> interlocked.c

hm somehow the configure script fails to instruct your compiler to compile
32bit code. There should be a '-m32' switch in the line above.
try this:
CC="gcc -m32" ./configure --prefix=/home/mfuhrer/sw/linux
make depend && make
(and don't forget to run make clean before)



More information about the wine-users mailing list