https://bugs.winehq.org/show_bug.cgi?id=41705
Bug ID: 41705 Summary: build fails in dpnet Product: Wine Version: 1.9.23 Hardware: arm OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Stefan.Leichter@camLine.com Distribution: ---
After a long time i tried again to build wine on my OpenPandora. The build fails with:
$ make gcc -c -o address.o ../../../wine-git/dlls/dpnet/address.c -I. -I../../../wine-git/dlls/dpnet \ -I../../include -I../../../wine-git/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -gdwarf-2 -g -DPANDORA -DHAVE_GLES -O3 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant -fsigned-char -marm In file included from ../../../wine-git/include/winsock2.h:47, from ../../../wine-git/dlls/dpnet/dpnet_private.h:29, from ../../../wine-git/dlls/dpnet/address.c:37: ../../../wine-git/include/winsock.h:408: error: redefinition of typedef 'SOCKADDR' ../../../wine-git/include/dpaddr.h:30: error: previous declaration of 'SOCKADDR' was here Makefile:177: recipe for target 'address.o' failed make: *** [address.o] Error 1
Please note: The build platform is arm: $ uname -a Linux arm-dev 3.2.83 #1314 Sun Oct 23 23:01:12 EEST 2016 armv7l GNU/Linux
$ gcc --version arm-angstrom-linux-gnueabi-gcc (GCC) 4.3.6
The exactly same source builds fine on x86/x86_64.