[Wine] compile will not link from elf64-x86-64 to elf32-i386

Anolis anolisporcatus at gmail.com
Mon Jul 10 16:59:20 CDT 2006

first off im running on an AMD64 3800+, Ubuntu 6.06,
ive been working on getting this thing to work for the past few hours,
setup symbolic links like in the howto run wine on amd64 tutorial, plus
some. and started compiling, make depend went well, and so was make all
until this happened

make[2]: Entering directory `/home/anolis/Desktop/wine-0.9.16/dlls/gdi'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./gdi32.spec dispdib.spec.o gdi.exe.spec.o wing.spec.o bidi16.o
dispdib.o env.o gdi16.o metafile16.o wing.o  bidi.o bitblt.o bitmap.o
brush.o clipping.o dc.o dib.o driver.o enhmetafile.o enhmfdrv/bitblt.o
enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmfdrv/mapping.o
enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o
mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o
mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o
palette.o path.o pen.o printdrv.o region.o  version.res
-Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/local/lib/wine
/usr/local/lib` -o gdi32.dll.so -L../../dlls -ladvapi32 -lkernel32
-lntdll  -L../../libs -lwine -L../../libs/unicode -lwine_unicode
/usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s
-L../../libs/port -lwine_port -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.SKwleX.o)
is not supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed.
make[2]: *** [gdi32.dll.so] Error 2
make[2]: Leaving directory `/home/anolis/Desktop/wine-0.9.16/dlls/gdi'
make[1]: *** [gdi] Error 2
make[1]: Leaving directory `/home/anolis/Desktop/wine-0.9.16/dlls'
make: *** [dlls] Error 2

I am completely baffled by this , I even updated binutils from 2.16 to
2.17 and still no change. I hope that there is something that can be

More information about the wine-users mailing list