ryanwoodsmall / osxwinebuilder

Automatically exported from code.google.com/p/osxwinebuilder
GNU Lesser General Public License v2.1
1 stars 1 forks source link

wine 0.9.61 compilation fails #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am interested in installing wine 0.9.61 under Mavericks because of some old 
Windows programs that used to work using this version of wine but not anymore 
using the new versions. So I looked into the script and added a --antique flag 
pointing at 0.9.61 (see the attached script)

The downloading and configure steps seemed to go well, but then the compilation 
failed (see below). Are there obvious changes I could make to the code to get 
it to work? I understand that maintaining support for such an antique version 
of wine is probably not a priority, but I am sure that there are other users 
who would like to be able to install old versions of wine as well.

Here is the end of the installation log:

configure: Finished.  Do 'make depend && make' to compile Wine.

successfully ran configure in /Users/jff/wine/build/wine-0.9.61
rm -f wine && ln -s ./tools/winewrapper wine
ccache gcc -c -I. -I. -I../include -I../include 
-I/Users/jff/wine/wine-0.9.61/include/freetype2 
-I/Users/jff/wine/wine-0.9.61/include   -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
makedep.o makedep.c
ccache gcc -Qunused-arguments -g -O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 
-msse3 -mfpmath=sse   -I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include 
-D__i386__ -o makedep makedep.o -L/Users/jff/wine/wine-0.9.61/lib  
-L/opt/X11/lib -framework CoreServices -lz -L/opt/X11/lib -lGL -lGLU
../tools/makedep -C. -S.. -T.. -I/Users/jff/wine/wine-0.9.61/include/freetype2 
-I/Users/jff/wine/wine-0.9.61/include fnt2bdf.c fnt2fon.c make_ctests.c 
makedep.c relpath.c sfnt2fnt.c                   
make[1]: `makedep' is up to date.
../../tools/makedep -C. -S../.. -T../..  ffs.c fstatvfs.c futimes.c getopt.c 
getopt1.c getpagesize.c gettid.c interlocked.c isinf.c lstat.c 
memcpy_unaligned.c memmove.c mkstemps.c pread.c pwrite.c readlink.c sigsetjmp.c 
spawn.c statvfs.c strcasecmp.c strerror.c strncasecmp.c usleep.c                

../../tools/makedep -C. -S../.. -T../..  preproc.c wpp.c                ppy.y 
ppl.l 
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o ffs.o 
ffs.c
ccache gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe 
-fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings 
-Wtype-limits -Wpointer-arith -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -Qunused-arguments -g -O2 -arch i386 -m32 -pipe -mmmx -msse 
-msse2 -msse3 -mfpmath=sse   -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -D__i386__  -o preproc.o preproc.c
ccache gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe 
-fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings 
-Wtype-limits -Wpointer-arith -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -Qunused-arguments -g -O2 -arch i386 -m32 -pipe -mmmx -msse 
-msse2 -msse3 -mfpmath=sse   -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -D__i386__  -o wpp.o wpp.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
fstatvfs.o fstatvfs.c
bison  -p ppy_ -o ppy.tab.c -d ppy.y
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
futimes.o futimes.c
flex  -oppl.yy.c ppl.l
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
getopt.o getopt.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
getopt1.o getopt1.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
getpagesize.o getpagesize.c
bison  -p ppy_ -o ppy.tab.c ppy.y
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
gettid.o gettid.c
ccache gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe 
-fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings 
-Wtype-limits -Wpointer-arith -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -Qunused-arguments -g -O2 -arch i386 -m32 -pipe -mmmx -msse 
-msse2 -msse3 -mfpmath=sse   -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -D__i386__  -o ppl.yy.o ppl.yy.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
interlocked.o interlocked.c
ccache gcc -c -I. -I. -I../../include -I../../include    -Wall -pipe 
-fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings 
-Wtype-limits -Wpointer-arith -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -Qunused-arguments -g -O2 -arch i386 -m32 -pipe -mmmx -msse 
-msse2 -msse3 -mfpmath=sse   -I/Users/jff/wine/wine-0.9.61/include  
-I/opt/X11/include -D__i386__  -o ppy.tab.o ppy.tab.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
isinf.o isinf.c
ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing 
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -Qunused-arguments -g 
-O2 -arch i386 -m32 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse   
-I/Users/jff/wine/wine-0.9.61/include  -I/opt/X11/include -D__i386__  -o 
lstat.o lstat.c
interlocked.c:29:118: error: invalid symbol redefinition
void __asm_dummy_interlocked_cmpxchg(void) { asm( ".align 4\n\t" ".globl " "_" 
"interlocked_cmpxchg" "\n\t" "" "\n" "_" "interlocked_cmpxchg" ":\n\t" "movl 
12(%esp),%eax\n\t" "movl 8(%esp),%ecx\n\t" "movl 4(%esp),%edx\n\t" "lock; 
cmpxchgl %ecx,(%edx)\n\t" "ret" ); }
                                                                                                                     ^
<inline asm>:4:1: note: instantiated into assembly here
_interlocked_cmpxchg:
^
interlocked.c:35:126: error: invalid symbol redefinition
void __asm_dummy_interlocked_cmpxchg_ptr(void) { asm( ".align 4\n\t" ".globl " 
"_" "interlocked_cmpxchg_ptr" "\n\t" "" "\n" "_" "interlocked_cmpxchg_ptr" 
":\n\t" "movl 12(%esp),%eax\n\t" "movl 8(%esp),%ecx\n\t" "movl 
4(%esp),%edx\n\t" "lock; cmpxchgl %ecx,(%edx)\n\t" "ret" ); }
                                                                                                                             ^
<inline asm>:4:1: note: instantiated into assembly here
_interlocked_cmpxchg_ptr:
^
interlocked.c:53:112: error: invalid symbol redefinition
void __asm_dummy_interlocked_xchg(void) { asm( ".align 4\n\t" ".globl " "_" 
"interlocked_xchg" "\n\t" "" "\n" "_" "interlocked_xchg" ":\n\t" "movl 
8(%esp),%eax\n\t" "movl 4(%esp),%edx\n\t" "lock; xchgl %eax,(%edx)\n\t" "ret" 
); }
                                                                                                               ^
<inline asm>:4:1: note: instantiated into assembly here
_interlocked_xchg:
^
interlocked.c:58:120: error: invalid symbol redefinition
void __asm_dummy_interlocked_xchg_ptr(void) { asm( ".align 4\n\t" ".globl " "_" 
"interlocked_xchg_ptr" "\n\t" "" "\n" "_" "interlocked_xchg_ptr" ":\n\t" "movl 
8(%esp),%eax\n\t" "movl 4(%esp),%edx\n\t" "lock; xchgl %eax,(%edx)\n\t" "ret" 
); }
                                                                                                                       ^
<inline asm>:4:1: note: instantiated into assembly here
_interlocked_xchg_ptr:
^
interlocked.c:63:120: error: invalid symbol redefinition
void __asm_dummy_interlocked_xchg_add(void) { asm( ".align 4\n\t" ".globl " "_" 
"interlocked_xchg_add" "\n\t" "" "\n" "_" "interlocked_xchg_add" ":\n\t" "movl 
8(%esp),%eax\n\t" "movl 4(%esp),%edx\n\t" "lock; xaddl %eax,(%edx)\n\t" "ret" 
); }
                                                                                                                       ^
<inline asm>:4:1: note: instantiated into assembly here
_interlocked_xchg_add:
^
5 errors generated.
make[2]: *** [interlocked.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [port] Error 2
make[1]: *** Waiting for unfinished jobs....
ppl.yy.c:2960:16: warning: function 'input' is not needed and will not be 
emitted [-Wunneeded-internal-declaration]
    static int input (void)
               ^
1 warning generated.
rm -f libwpp.a
ar rc libwpp.a preproc.o wpp.o ppy.tab.o ppl.yy.o  
ranlib libwpp.a
make: *** [libs] Error 2
could not run 'make -j5' in /Users/jff/wine/build/wine-0.9.61 - exiting

Original issue reported on code.google.com by jf...@gwdg.de on 17 Oct 2014 at 11:20

Attachments:

GoogleCodeExporter commented 9 years ago
I doubt that will ever work. You might be able to get by with building it on a 
10.6 machine then moving it to your newer OS, but a Wine version that old isn't 
going to build on 10.9. 

Original comment by rwoodsm...@gmail.com on 17 Oct 2014 at 2:44