wine icon indicating copy to clipboard operation
wine copied to clipboard

Wont compile under mingw-w64-gcc 10.2.0

Open AnzoDK opened this issue 4 years ago • 0 comments

It has proven impossible to build this version of wine utilizing mingw-w64-gcc 10.2.0 as it generates the following error:

 i686-w64-mingw32-gcc -c -o testlist.cross.o testlist.c -I. -I../../../include -I../../../include/msvcrt -D__WINESRC__ \
  -DWINE_CROSS_PE -Wall -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 \
  -fno-omit-frame-pointer -gdwarf-2 -gstrict-dwarf -g -O2
../../../tools/winegcc/winegcc -o schedsvc_test-stripped.exe --wine-objdir ../../.. -b i686-w64-mingw32 \
  --lib-suffix=.cross.a -s -Wb,-F,schedsvc_test.exe -mno-cygwin atsvcapi.cross.o rpcapi.cross.o \
  atsvc_c.cross.o schrpc_c.cross.o testlist.cross.o ../../../dlls/rpcrt4/librpcrt4.cross.a \
  ../../../dlls/ole32/libole32.cross.a ../../../dlls/msvcrt/libmsvcrt.cross.a 
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: schrpc_c.cross.o:schrpc_c.c:(.bss+0x0): multiple definition of `rpc_handle'; atsvc_c.cross.o:atsvc_c.c:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/i686-w64-mingw32-gcc failed
make[1]: *** [Makefile:385: schedsvc_test-stripped.exe] Error 2

AnzoDK avatar Aug 18 '20 20:08 AnzoDK