http://bugs.winehq.org/show_bug.cgi?id=6791
Summary: Compiling wine on amd x86_64 for RHEL 4 or centos 4 Product: Wine Version: 0.9.25. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: geisj@pagestation.com
I am attempting to compile wine on amd x86_64. I found the FAQ page and tried to follow FC5 procedures as I thought that would be close to what I need.
This is when my compile script is doing: --------------------------- export CC=gcc ./configure --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --with-x echo make depend echo make ---------------------------
HOwever when I compile I get errors.
------------------------------ make[1]: Entering directory `/home/silentm/wine-0.9.25/tools' make[1]: `makedep' is up to date. make[1]: Leaving directory `/home/silentm/wine-0.9.25/tools' make[1]: Entering directory `/home/silentm/wine-0.9.25/libs' make[2]: Entering directory `/home/silentm/wine-0.9.25/libs/port' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/silentm/wine-0.9.25/libs/port' make[2]: Entering directory `/home/silentm/wine-0.9.25/libs/wine' 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 -Wpointer-arith -g -O2 -D__i386__ -o casemap.o casemap.c In file included from ../../include/windef.h:234, from ../../include/wine/unicode.h:26, from casemap.c:4: ../../include/winnt.h:764:1: warning: "CONTEXT_CONTROL" redefined ../../include/winnt.h:719:1: warning: this is the location of the previous definition ../../include/winnt.h:765:1: warning: "CONTEXT_INTEGER" redefined ../../include/winnt.h:720:1: warning: this is the location of the previous definition ../../include/winnt.h:766:1: warning: "CONTEXT_SEGMENTS" redefined ../../include/winnt.h:721:1: warning: this is the location of the previous definition ../../include/winnt.h:767:1: warning: "CONTEXT_FLOATING_POINT" redefined ../../include/winnt.h:722:1: warning: this is the location of the previous definition ../../include/winnt.h:768:1: warning: "CONTEXT_DEBUG_REGISTERS" redefined
------------------------------------
I'm not sure what to do now.
It seems like in include/winnt.h both the __i386__ and __x86_64__ are defined. This is why I am getting the symbols are redefined.
Jerry