Cannot compile 20050830 on Solaris 9
Rob D
rddone at att.net
Mon Oct 3 18:11:04 CDT 2005
I have been trying to compile wine from source on Solaris 9 on x86.
This has proven to be very frustrating.
I had to rename a struct in one of the files in the tools/windump/main.c
because of a name clash, but that was easy.
I am pretty new to the whole compiling from source thing on Unix, but have
built several packages (including Wine), on various Linux platforms and a
few on Solaris. The main problem I seem to be having is with the assembler
portion.
All goes well until it gets to the d3d8 directory, and I get the following:
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./d3d8.spec basetexture.o cubetexture.o d3d8_main.o device.o
directx.o drawprim.o indexbuffer.o resource.o shader.o stateblock.o
surface.o swapchain.o texture.o utils.o vertexbuffer.o volume.o
volumetexture.o vshaderdeclaration.o d3d8.dll.dbg.o version.res -o
d3d8.dll.so -L../../dlls -L../../dlls/wined3d -L../../dlls/user32
-L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -lwined3d
-luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -ldxguid
-luuid -L/usr/openwin/lib -R/usr/openwin/lib -lSM -lICE -lXext -lX11
-lsocket -lnsl -lGL -L../../libs/port -lwine_port -lresolv -lsocket -lnsl
Assembler: d3d8.dll-LsL4C9.spec.c
"/var/tmp//ccpfivNU.s", line 515 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 515 : Syntax error
"/var/tmp//ccpfivNU.s", line 516 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 516 : Syntax error
"/var/tmp//ccpfivNU.s", line 517 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 517 : Syntax error
"/var/tmp//ccpfivNU.s", line 518 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 518 : Syntax error
"/var/tmp//ccpfivNU.s", line 519 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 519 : Syntax error
"/var/tmp//ccpfivNU.s", line 520 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 520 : Syntax error
"/var/tmp//ccpfivNU.s", line 522 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 522 : Syntax error
"/var/tmp//ccpfivNU.s", line 523 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 523 : Syntax error
"/var/tmp//ccpfivNU.s", line 524 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 524 : Syntax error
"/var/tmp//ccpfivNU.s", line 525 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 525 : Syntax error
"/var/tmp//ccpfivNU.s", line 526 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 526 : Syntax error
"/var/tmp//ccpfivNU.s", line 527 : Illegal mnemonic
"/var/tmp//ccpfivNU.s", line 527 : Syntax error
"/var/tmp//ccpfivNU.s", line 555 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_WineDirect3DCreate"
"/var/tmp//ccpfivNU.s", line 564 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_ChangeDisplaySettingsExW"
"/var/tmp//ccpfivNU.s", line 573 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetClientRect"
"/var/tmp//ccpfivNU.s", line 582 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetDC"
"/var/tmp//ccpfivNU.s", line 591 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetDesktopWindow"
"/var/tmp//ccpfivNU.s", line 600 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetPropA"
"/var/tmp//ccpfivNU.s", line 609 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetSystemMetrics"
"/var/tmp//ccpfivNU.s", line 618 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_ReleaseDC"
"/var/tmp//ccpfivNU.s", line 627 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_SetWindowLongA"
"/var/tmp//ccpfivNU.s", line 636 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_SetWindowPos"
"/var/tmp//ccpfivNU.s", line 645 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_CreateDCA"
"/var/tmp//ccpfivNU.s", line 654 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_DeleteDC"
"/var/tmp//ccpfivNU.s", line 663 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_ExtEscape"
"/var/tmp//ccpfivNU.s", line 672 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetDeviceCaps"
"/var/tmp//ccpfivNU.s", line 681 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_GetDeviceGammaRamp"
"/var/tmp//ccpfivNU.s", line 690 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_SetDeviceGammaRamp"
"/var/tmp//ccpfivNU.s", line 699 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_RegOpenKeyA"
"/var/tmp//ccpfivNU.s", line 708 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_RegQueryValueExA"
"/var/tmp//ccpfivNU.s", line 717 : Warning: Illegal subtraction - symbols
from different sections: "imports", ".L__wine_spec_DisableThreadLibraryCalls"
"/var/tmp//ccpfivNU.s", line 726 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_GetModuleHandleA"
"/var/tmp//ccpfivNU.s", line 735 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_GetProcAddress"
"/var/tmp//ccpfivNU.s", line 744 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_GetTickCount"
"/var/tmp//ccpfivNU.s", line 753 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_HeapAlloc"
"/var/tmp//ccpfivNU.s", line 762 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_HeapFree"
"/var/tmp//ccpfivNU.s", line 771 : Warning: Illegal subtraction - symbol
s from different sections: "imports", ".L__wine_spec_MultiByteToWideChar"
"/var/tmp//ccpfivNU.s", line 775 : Syntax error
"/var/tmp//ccpfivNU.s", line 777 : Syntax error
winegcc: gcc failed.
*** Error code 2
make: Fatal error: Command failed for target `d3d8.dll.so'
Current working directory /export/home/opt/wine-20050830/dlls/d3d8
*** Error code 1
make: Fatal error: Command failed for target `d3d8'
Current working directory /export/home/opt/wine-20050830/dlls
*** Error code 1
make: Fatal error: Command failed for target `dlls'
I thought at first that it was inadvertently using the AS assembler, but
apparently the AS = gas in the Makefile says otherwise. Not sure where to
go from here, since the /var/tmp files disappear immediately.
gcc -v says it is 3.3.2 with posix thread model
gas -v says 2.11 (i386-pc-solaris2.9) using BFD version 2.11
Configure sets up the Makefiles with:
SHELL /bin/sh
CC gcc
CFLAGS -g -02
LN ln
AS gas
LD ld
Thanks in advance for any help
Rob Done
More information about the wine-devel
mailing list