Jerry Geis
2006-Nov-16 13:24 UTC
[Wine] Building wine on rhel or centos 4 get compile error
I am using AMD 64 centos 4.4 to build wine-0.9.25. I am getting a compile error. On the command line I type: export CC=gcc ./configure --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --with-x make depend make The .configure runs fine. My error is: 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 ../../include/winnt.h:723:1: warning: this is the location of the previous definition ../../include/winnt.h:769:1: warning: "CONTEXT_FULL" redefined ../../include/winnt.h:724:1: warning: this is the location of the previous definition In file included from ../../include/windef.h:234, from ../../include/wine/unicode.h:26, from casemap.c:4: ../../include/winnt.h:885: error: conflicting types for 'CONTEXT' ../../include/winnt.h:726: error: previous declaration of 'CONTEXT' was here ../../include/winnt.h:1896: warning: `__stdcall__' attribute ignored ../../include/winnt.h:1915: warning: `__stdcall__' attribute ignored Seems like the defines __386__ and __x86_64__ are both defined for some reason in winnt.h I dont card if the compile is for 386 or x86_64. I just would like it to compile. What am I missing to get this to compile. Jerry