[Wine] amd 64 compile on centos 4 or RHEL 4

Jerry Geis geisj at pagestation.com
Mon Nov 20 08:10:50 CST 2006


hi,

I have found the FAQ and wiki talking about 64 bit compiles
on distros. Fedora is my closest relative in this case and I was following
those instructions. However I get a compile error on 0.9.25.

It seems like __i386__ and __x86_64__ are both defined
for the compile its causing problems.

How do I correct this?

My configure run is:
export CC=gcc
./configure --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include 
--with-x
echo make depend
echo make


Jerry

-------------------
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




More information about the wine-users mailing list