I was trying to compile wine in Debian 10 in chroot. The compile went through smoothly, but when I try to make install the 32-bit and 64-bit hybrid version (tried both 9.15 and 9.16, same problem), the following error occurs. I don't quite understand what could be wrong, since any code error would most likely stall the compilation rather than installation.
Code: Select all
gcc -c -o dlls/msvcr70/mathf.o ../wine-source-9.16/dlls/msvcrt/mathf.c -Idlls/msvcr70 \
-I../wine-source-9.16/dlls/msvcr70 -I../wine-source-9.16/dlls/msvcrt -Iinclude \
-I../wine-source-9.16/include -I../wine-source-9.16/include/msvcrt -D_MSVCR_VER=70 -D__WINESRC__ \
-D_CRTIMP= -Wall -pipe -fcf-protection=none -fvisibility=hidden -fno-stack-protector \
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-4 -fno-PIC \
-fasynchronous-unwind-tables -D_WIN32 -fno-builtin -fshort-wchar -Wno-format \
-fno-omit-frame-pointer -g -O2
../wine-source-9.16/dlls/msvcrt/mathf.c:62:7: error: conflicting types for ‘powf’
float powf(float x, float y) { return pow(x, y); }
^~~~
../wine-source-9.16/dlls/msvcrt/mathf.c:39:15: note: previous declaration of ‘powf’ was here
float __cdecl powf(float, float);
^~~~
make: *** [Makefile:158810:dlls/msvcr70/mathf.o] 错误 1
Thanks