Compiling Wine on x86_64?

Has anyone successfully built wine on SuSE 11.1 x86_64?

I am trying to do this because I have to apply two separate patches in
order to get wine to play Fallout 3, and I decided to try x86_64 again
when going from SuSE 11.0 to 11.1.

I grabbed the source rpms for wine here:
‘Index of /repositories/Emulators:/Wine/openSUSE_11.1/src’

Followed the instructions from the wine wiki here:
‘WineOn64bit - The Official Wine Wiki’ (

Yet whenever I try to build the rpm, I get this:


gcc -c -I. -I. -I…/…/include -I…/…/include -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -DLDAP_DEPRECATED=1 -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D__i386__ -o version.o version.c
gcc -shared -Wl,-soname, -Wl,–version-script=./ casemap.o collation.o compose.o config.o cptable.o debug.o fold.o ldt.o loader.o mbtowc.o mmap.o port.o sortkey.o string.o utf8.o wctomb.o wctype.o c_037.o c_424.o c_437.o c_500.o c_737.o c_775.o c_850.o c_852.o c_855.o c_856.o c_857.o c_860.o c_861.o c_862.o c_863.o c_864.o c_865.o c_866.o c_869.o c_874.o c_875.o c_878.o c_932.o c_936.o c_949.o c_950.o c_1006.o c_1026.o c_1250.o c_1251.o c_1252.o c_1253.o c_1254.o c_1255.o c_1256.o c_1257.o c_1258.o c_1361.o c_10000.o c_10006.o c_10007.o c_10029.o c_10079.o c_10081.o c_20127.o c_20866.o c_20932.o c_21866.o c_28591.o c_28592.o c_28593.o c_28594.o c_28595.o c_28596.o c_28597.o c_28598.o c_28599.o c_28600.o c_28603.o c_28604.o c_28605.o c_28606.o version.o …/…/libs/port/libwine_port.a -ldl -o
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld: i386 architecture of input file `casemap.o’ is incompatible with i386:x86-64 output

Has anyone else had better luck than I?


dralanmage’s Profile:
View this thread: