godotengine / build-containers

Godot engine build containers
210 stars 58 forks source link

windows link error #100

Closed dream-young-soul closed 2 years ago

dream-young-soul commented 2 years ago

environment: Fedora 34 mono-6.12.0.147 godot-3.3.4-stable

command: scons -j8 p=windows bits=64 target=release_debug tools=yes module_mono_enabled=yes mono_glue=no mono_prefix=/root/mono-installs/desktop-windows-x86_64-release

error: [100%] Linking Program ==> bin/godot.windows.opt.tools.64.mono.exe /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmini_la-driver.o):(.bss+0x0): multiple definition of `_dowildcard'; /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib64_libmingw32_a-wildcard.o):(.bss+0x0): first defined here

dream-young-soul commented 2 years ago

/usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmini_la-mini-windows.o):(.text+0x35c): undefined reference to __imp_timeGetDevCaps' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmini_la-mini-windows.o):(.text+0x3b4): undefined reference toimp_timeSetEvent' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmini_la-mini-windows.o):(.text+0x41a): undefined reference to __imp_timeKillEvent' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmono_dbg_la-debugger-agent.o):(.text+0x124f): undefined reference toimp_shutdown' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmono_dbg_la-debugger-agent.o):(.text+0x1268): undefined reference to `imp_shutdown' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x3fe): undefined reference to `imp_SafeArrayCreate' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x45d): undefined reference to __imp_SafeArrayDestroy' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x4ae): undefined reference toimp_SafeArrayGetDim' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x551): undefined reference to __imp_SafeArrayGetUBound' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x5ab): undefined reference toimp_SafeArrayGetLBound' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0xe68): undefined reference to __imp_SysFreeString' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x18c0): undefined reference toimp_SafeArrayPutElement' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x1915): undefined reference to __imp_SafeArrayPtrOfIndex' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x197e): undefined reference toimp_SafeArrayGetDim' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x199c): undefined reference to __imp_SafeArrayGetUBound' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x19a3): undefined reference toimp_SafeArrayGetLBound' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x3640): undefined reference to __imp_CoCreateFreeThreadedMarshaler' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x3b1a): undefined reference toimp_SysAllocStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x7193): undefined reference to __imp_SysAllocStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x71f1): undefined reference toimp_SysStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x7295): undefined reference to __imp_SysStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x7ea6): undefined reference toimp_SysStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x7ef3): undefined reference to __imp_SysAllocStringLen' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-cominterop.o):(.text+0x7f08): undefined reference toimp_SysFreeString' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-marshal-windows.o):(.text+0x33): undefined reference to __imp_CoTaskMemAlloc' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-marshal-windows.o):(.text+0x53): undefined reference toimp_CoTaskMemRealloc' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-marshal-windows.o):(.text+0x147): undefined reference to __imp_CoTaskMemAlloc' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-marshal-windows.o):(.text+0x1e0): undefined reference toimp_CoTaskMemAlloc' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-threads.o):(.text+0x7085): undefined reference to __imp_CoInitializeEx' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-threads.o):(.text+0x70f3): undefined reference toimp_CoUninitialize' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32process.o):(.text+0x42e): undefined reference to GetFileVersionInfoSizeW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32process.o):(.text+0x483): undefined reference toGetFileVersionInfoW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32process.o):(.text+0x4c8): undefined reference to VerQueryValueW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32process.o):(.text+0x519): undefined reference toVerQueryValueW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32process.o):(.text+0x62b): undefined reference to VerQueryValueW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0xb2): undefined reference toimp_getpeername' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x118f): undefined reference to __imp_WSASocketW' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x233b): undefined reference toimp_getsockopt' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x240d): undefined reference to __imp_getsockopt' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x24a1): undefined reference toimp_getsockopt' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x2591): undefined reference to __imp_getsockopt' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x2743): undefined reference toimp_getsockopt' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x2ca7): undefined reference to __imp_shutdown' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x2e10): undefined reference toimp_WSAIoctl' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x2f47): undefined reference to __imp_gethostname' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket.o):(.text+0x31a0): undefined reference toimp_gethostname' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoutils_la-mono-os-wait-win32.o):(.text+0x26b): undefined reference to __imp_WSAWaitForMultipleEvents' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoutils_la-mono-os-wait-win32.o):(.text+0x376): undefined reference toimp_WSAWaitForMultipleEvents' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoutils_la-networking-posix.o):(.text+0x269): undefined reference to __imp_getprotobyname' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoutils_la-networking-posix.o):(.text+0x2d1): undefined reference toimp_getprotobyname' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoutils_la-networking-posix.o):(.text+0x329): undefined reference to __imp_getprotobyname' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x8d): undefined reference toimp_WSAIoctl' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x17b): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x247): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x3ff): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x42e): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x587): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x5ad): more undefined references toimp_WSASetLastError' follow /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x9a8): undefined reference to __imp_WSARecv' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xa71): undefined reference toimp_WSARecv' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xab7): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xadd): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xc3f): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xc6d): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xe07): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xe2d): more undefined references toimp_WSASetLastError' follow /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xed6): undefined reference to __imp_WSASend' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xf9f): undefined reference toimp_WSASend' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0xfdf): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x100d): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x10b4): undefined reference to __imp_WSAIoctl' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x11b7): undefined reference toimp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x11fb): undefined reference to __imp_WSASetLastError' /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: /root/mono-installs/desktop-windows-x86_64-release/lib/libmonosgen-2.0.a(libmonoruntimesgen_la-w32socket-win32.o):(.text+0x1373): undefined reference toimp_WSASetLastError' collect2: error: ld returned 1 exit status scons: *** [bin/godot.windows.opt.tools.64.mono.exe] Error 1 scons: building terminated because of errors.

dream-young-soul commented 2 years ago

use https://github.com/godotengine/godot-build-scripts build.sh