I am trying to compile (and cross compile) wine on my Arch Linux install. I have successfully built both wine and wine64 on this machine in the past, but I pulled the latest source from git this morning and the make process errors out with this information:
Code: Select all
tools/winegcc/winegcc -o dlls/dhcpcsvc/dhcpcsvc.dll --wine-objdir . -b x86_64-w64-mingw32 --lib-suffix=.cross.a \
-Wl,--wine-builtin -shared ../dlls/dhcpcsvc/dhcpcsvc.spec -Wb,--prefer-native -mno-cygwin \
dlls/dhcpcsvc/dhcpcsvc.cross.o dlls/iphlpapi/libiphlpapi.delay.a dlls/winecrt0/libwinecrt0.cross.a \
dlls/ucrtbase/libucrtbase.cross.a dlls/kernel32/libkernel32.cross.a dlls/ntdll/libntdll.cross.a \
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/iphlpapi/libiphlpapi.delay.a: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/x86_64-w64-mingw32-gcc failed
make: *** [Makefile:45966: dlls/dhcpcsvc/dhcpcsvc.dll] Error 2
Thanks so much!