Can't compile wine on fresh install of Debian Wheezy AMD64

Questions about Wine on Linux
Locked
szupek
Level 1
Level 1
Posts: 7
Joined: Sun Apr 14, 2013 12:50 pm

Can't compile wine on fresh install of Debian Wheezy AMD64

Post by szupek »

Error message

Code: Select all

root@office64x6:/home/scott/.wine/wine-1.5.18# sudo setarch i386 make
make[1]: Entering directory `/home/scott/.wine/wine-1.5.18/tools'
make[1]: `makedep' is up to date.
make[1]: Leaving directory `/home/scott/.wine/wine-1.5.18/tools'
make[1]: Entering directory `/home/scott/.wine/wine-1.5.18/libs/port'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2    -g -O2 -D__i386__  -o interlocked.o interlocked.c
{standard input}: Assembler messages:
{standard input}:37: Error: operand type mismatch for `push'
{standard input}:39: Error: bad register expression
{standard input}:39: Error: register save offset not a multiple of 8
{standard input}:40: Error: operand type mismatch for `push'
{standard input}:42: Error: bad register expression
{standard input}:49: Error: operand type mismatch for `pop'
{standard input}:50: Error: bad register expression
{standard input}:52: Error: operand type mismatch for `pop'
{standard input}:53: Error: bad register expression
make[1]: *** [interlocked.o] Error 1
make[1]: Leaving directory `/home/scott/.wine/wine-1.5.18/libs/port'
make: *** [libs/port] Error 2
I have been trying, for over a month now, to get Tomb Raider to work w/ the keyboard and mouse. PlayonLinux doesn't even run it but plain jane wine does.

Anyways I downloaded stable from the Debian repository and since that version doesn't support RAW input, I thought I would try to grab a version post 1.5.13, where I guess raw input is supported (not that I know if this is going to fix my problem or not). I grabbed the sources for 1.5.18

I have COMPLETELY wiped my system and started from scratch.

Items installed
  • i linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64
    i A linux-headers-3.2.0-4-common - Common header files for Linux 3.2.0-4
    i A gcc - GNU C compiler
    i A gcc-4.4 - GNU C compiler
    i A gcc-4.4-base - GCC, the GNU Compiler Collection (base pac
    i A gcc-4.4-multilib - GNU C compiler (multilib files)
    i gcc-4.6 - GNU C compiler
    i A gcc-4.6-base - GCC, the GNU Compiler Collection (base pac
    i A gcc-4.7 - GNU C compiler
    i gcc-4.7-base - GCC, the GNU Compiler Collection (base pac
    id gcc-4.7-base:i386 - GCC, the GNU Compiler Collection (base pac
    i gcc-4.7-multilib - GNU C compiler (multilib files)
    i gcc-multilib - GNU C compiler (multilib files)
    i A lib32gcc1 - GCC support library (32 bit Version)
    i lib32gcc1-dbg - GCC support library (debug symbols)
    iBA lib64gcc1:i386 - GCC support library (64bit)
    iB lib64gcc1-dbg:i386 - GCC support library (debug symbols)
    i libgcc1 - GCC support library
    id libgcc1:i386 - GCC support library
    iB ia32-libs - Transitional package to migrate ia32-libs
    iB ia32-libs-gtk - Transitional package to migrate ia32-libs-
    id ia32-libs-gtk-i386:i386 - Transitional package to migrate ia32-libs-
    id ia32-libs-i386:i386 - Transitional package to migrate ia32-libs
    i nvidia-opencl-icd-ia32 - please switch to multiarch nvidia-opencl-i


I am trying to figure out why the compiler gets lost on the MAKE but completely does does ./CONFIGURE (using

Code: Select all

 setarch i386 ./configure
)

Any help would be appreciated

Also note that this is Debian, not the over popular Ubuntu :)
Locked