James Trotter schrieb:
I also encountered another quirk, and needed to install libxt-dev, because the header file /usr/include/X11/Intrinsic.h was missing. The Wine package should probably depend on libxt-dev.
I think we should rather get rid of including /usr/include/X11/Intrinsic.h. The code in x11drv which include this header doesn't even link against libXt. (and afaik no other part of wine does it)
Then, the compilation failed with:
../../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 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.ogdi_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 -o gdi32.dll.so -L../../dlls -L../../dlls/advapi32 -L../../dlls/kernel32 -L../../dlls/ntdll -ladvapi32 -lkernel32 -lntdll -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s -L../../libs/port -lwine_port ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.Q3Qz7R.o) is not supported winebuild: ld -m elf_i386 -r failed with status 256
As the error message says: linking a 32bit object against a 64bit library(libsicuuc.a) doesn't work. I don't know where the /usr/lib/libsicuuc.a library comes from( I don't have it on my system), but you need a ia32 version of the package the library belongs to.