I am following https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu link to build wine32 and wine64 on my 64 bit Ubuntu 19.04 home PC. I have successfully build wine64 but failed to build wine32.
In the above link I got below errors and moved ahead :
patch -p1 <../fix.patch
and I got below error.
bash: ../fix.patch: No such file or directory
Ok, so I overlooked it and moved ahead.
Code: Select all
root@my32bitbox:~/wine64# sudo apt-get install python-software-properties git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
software-properties-common
E: Package 'python-software-properties' has no installation candidate
/home/girish/wine32 is my pwd
sudo make clean
and then when I says
sudo make install
it works for a while and stops by :
...
...
Code: Select all
gcc -c -o register.o /home/girish/wine-git/dlls/winecrt0/register.c -I. \
-I/home/girish/wine-git/dlls/winecrt0 -I../../include -I/home/girish/wine-git/include \
-D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement \
-Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
-Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
-gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -c -o stub.o /home/girish/wine-git/dlls/winecrt0/stub.c -I. -I/home/girish/wine-git/dlls/winecrt0 \
-I../../include -I/home/girish/wine-git/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \
-gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
rm -f libwinecrt0.a
ar rc libwinecrt0.a debug.o delay_load.o dll_entry.o dll_main.o drv_entry.o exception.o exe16_entry.o \
exe_entry.o exe_main.o exe_wentry.o exe_wmain.o init.o register.o stub.o
ranlib libwinecrt0.a
make[1]: Leaving directory '/home/girish/wine32/dlls/winecrt0'
make[1]: Entering directory '/home/girish/wine32/dlls/wmcodecdspuuid'
gcc -c -o wmcodecdspuuid.o /home/girish/wine-git/dlls/wmcodecdspuuid/wmcodecdspuuid.c -I. \
-I/home/girish/wine-git/dlls/wmcodecdspuuid -I../../include -I/home/girish/wine-git/include \
-D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement \
-Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
-Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
-gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
rm -f libwmcodecdspuuid.a
ar rc libwmcodecdspuuid.a wmcodecdspuuid.o
ranlib libwmcodecdspuuid.a
make[1]: Leaving directory '/home/girish/wine32/dlls/wmcodecdspuuid'
rm -f dlls/libd3dcompiler.def && ln -s d3dcompiler_47/libd3dcompiler.def dlls/libd3dcompiler.def
rm -f dlls/libd3dx10.def && ln -s d3dx10_43/libd3dx10.def dlls/libd3dx10.def
rm -f dlls/libd3dx11.def && ln -s d3dx11_43/libd3dx11.def dlls/libd3dx11.def
rm -f dlls/libd3dx9.def && ln -s d3dx9_36/libd3dx9.def dlls/libd3dx9.def
rm -f dlls/libhtmlhelp.def && ln -s hhctrl.ocx/libhtmlhelp.def dlls/libhtmlhelp.def
rm -f dlls/libhidclass.def && ln -s hidclass.sys/libhidclass.def dlls/libhidclass.def
rm -f dlls/libkernel.def && ln -s krnl386.exe16/libkernel.def dlls/libkernel.def
rm -f dlls/libntoskrnl.def && ln -s ntoskrnl.exe/libntoskrnl.def dlls/libntoskrnl.def
rm -f dlls/libusbd.def && ln -s usbd.sys/libusbd.def dlls/libusbd.def
rm -f dlls/libwinspool.def && ln -s winspool.drv/libwinspool.def dlls/libwinspool.def
rm -f dlls/libxinput.def && ln -s xinput1_3/libxinput.def dlls/libxinput.def
make[1]: Entering directory '/home/girish/wine32/dlls/acledit'
gcc -c -o main.o /home/girish/wine-git/dlls/acledit/main.c -I. -I/home/girish/wine-git/dlls/acledit \
-I../../include -I/home/girish/wine-git/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \
-gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
/home/girish/wine32-tools/tools/winegcc/winegcc -o acledit.dll.so -B/home/girish/wine32-tools/tools/winebuild \
--sysroot=../.. -fasynchronous-unwind-tables -shared \
/home/girish/wine-git/dlls/acledit/acledit.spec main.o ../../libs/port/libwine_port.a
acledit.KsrzVj.s: Assembler messages:
acledit.KsrzVj.s:321: Error: invalid instruction suffix for `push'
acledit.KsrzVj.s:325: Error: invalid instruction suffix for `push'
acledit.KsrzVj.s:336: Error: invalid instruction suffix for `push'
acledit.KsrzVj.s:340: Error: invalid instruction suffix for `push'
winebuild: gcc failed with status 1
winegcc: /home/girish/wine32-tools/tools/winebuild/winebuild failed
make[1]: *** [Makefile:187: acledit.dll.so] Error 2
make[1]: Leaving directory '/home/girish/wine32/dlls/acledit'
make: *** [Makefile:7972: dlls/acledit] Error 2
Kindly help me.