Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wont compile under mingw-w64-gcc 10.2.0 #11

Open
AnzoDK opened this issue Aug 18, 2020 · 0 comments
Open

Wont compile under mingw-w64-gcc 10.2.0 #11

AnzoDK opened this issue Aug 18, 2020 · 0 comments

Comments

@AnzoDK
Copy link

AnzoDK commented Aug 18, 2020

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 AnzoDK changed the title Wont compile under mingw-w64-gcc 10.1 Wont compile under mingw-w64-gcc 10.2.0 Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant