Looking to make a GDC-12 mingw64 package
Preetpal
preetpal.sohal at gmail.com
Tue Sep 13 07:23:49 UTC 2022
There are more issues with the GDC 11.3.0 that I compiled on
Windows earlier (it was compiled with win32 threads). The
following code has issues compiling (find_file.d):
```
import std.file;
import std.stdio;
/// Command line tool to find files in directories
int main(string[] args) {
if (args.length < 2) {
writefln("Usage: %s wildcard", args[0]);
return 1;
}
string wildcard = args[1];
auto results = dirEntries(".", wildcard, SpanMode.depth);
foreach(string result; results) {
writeln(result);
}
return 0;
}
```
The following is a log of the compilation:
```
preet at DESKTOP MINGW64
/b/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/tests_for_d_compiler
$ ../src/mingw64/bin/gdc.exe -v
Using built-in specs.
COLLECT_GCC=B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\mingw64\bin\gdc.exe
COLLECT_LTO_WRAPPER=B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.3.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/include
--libexecdir=/mingw64/lib --enable-bootstrap
--enable-checking=release --with-arch=x86-64 --with-tune=generic
--enable-languages=d --enable-shared --enable-static
--enable-libatomic --enable-graphite
--enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts
--enable-libstdcxx-time --disable-libstdcxx-pch --enable-lto
--enable-libgomp --enable-libphobos --disable-multilib
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-libiconv
--with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64
--with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2,
Built by MSYS2 project'
--with-bugurl=https://github.com/msys2/MINGW-packages/issues
--with-gnu-as --with-gnu-ld --disable-libstdcxx-debug
--with-boot-ldflags=-static-libstdc++
--with-stage1-ldflags=-static-libstdc++
Thread model: win32
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Rev2, Built by MSYS2 project)
preet at DESKTOP MINGW64
/b/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/tests_for_d_compiler
$ ../src/mingw64/bin/gdc.exe find_file.d
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8Protocol17getProtocolByTypeMFNbNeEQBuQBt12ProtocolTypeZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:443: undefined reference to `getprotobynumber'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress4portMxFNaNbNdNiNfZt':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1504: undefined reference to `ntohs'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress4addrMxFNaNbNdNiNfZk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1510: undefined reference to `ntohl'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket16Internet6Address4portMxFNaNbNdNiNfZt':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1775: undefined reference to `ntohs'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket7isAliveMxFNdNeZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2764: undefined reference to `getsockopt'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket8shutdownMFNbNiNeEQBkQBj14SocketShutdownZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2867: undefined reference to `shutdown'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6_closeFNbNiEQBfQBe8socket_tZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2875: undefined reference to `closesocket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket4sendMFNeAxvEQBfQBe11SocketFlagsZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2963: undefined reference to `send'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6sendToMFNeAxvEQBhQBg11SocketFlagsCQCbQCa7AddressZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2989: undefined reference to `sendto'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6sendToMFNeAxvEQBhQBg11SocketFlagsZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3013: undefined reference to `sendto'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket7receiveMFNeAvEQBhQBg11SocketFlagsZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3038: undefined reference to `recv'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket11receiveFromMFNeAvEQBmQBl11SocketFlagsKCQChQCg7AddressZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3071: undefined reference to `recvfrom'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket11receiveFromMFNeAvEQBmQBl11SocketFlagsZl':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3103: undefined reference to `recvfrom'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket18_sharedStaticDtor2FNbNiZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:325: undefined reference to `WSACleanup'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket12setKeepAliveMFNeiiZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3300: undefined reference to `WSAIoctl'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6__ctorMFNeEQBeQBd13AddressFamilyEQCaQBz10SocketTypeEQCtQCs12ProtocolTypeZCQDpQDoQDk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket8blockingMFNdNebZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2730: undefined reference to `ioctlsocket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket4bindMFNeCQBcQBb7AddressZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2770: undefined reference to `bind'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6listenMFNeiZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2814: undefined reference to `listen'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket13remoteAddressMFNdNeZCQBpQBo7Address':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2915: undefined reference to `getpeername'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket12localAddressMFNdNeZCQBoQBn7Address':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2927: undefined reference to `getsockname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket9getOptionMFNeEQBhQBg17SocketOptionLevelEQChQCg12SocketOptionAvZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3132: undefined reference to `getsockopt'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket9setOptionMFNeEQBhQBg17SocketOptionLevelEQChQCg12SocketOptionAvZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3179: undefined reference to `setsockopt'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket7connectMFNeCQBfQBe7AddressZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2781: undefined reference to `connect'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6acceptMFNeZCQBfQBeQBa':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2840: undefined reference to `accept'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6_closeFNbNiEQBfQBe8socket_tZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2875: undefined reference to `closesocket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket18_sharedStaticCtor1FZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:295: undefined reference to `WSAStartup'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket18_sharedStaticDtor2FNbNiZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:325: undefined reference to `WSACleanup'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket12InternetHost__T13getHostNoSyncVAyaa118_0a2020202020202020202020206175746f2078203d2068746f6e6c28706172616d293b0a2020202020202020202020206175746f206865203d20676574686f73746279616464722826782c20342c206361737428696e7429204164647265737346616d696c792e494e4554293b0a2020202020202020TkZQKdMFkZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d-mixin-688:689: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d-mixin-688:690: undefined reference to `gethostbyaddr'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress6__ctorMFNaNbNiNfktZCQBxQBwQBs':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1547: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1548: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress16toHostNameStringMxFNfZAya':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1605: undefined reference to `ntohl'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress6__ctorMFNaNbNiNftZCQBwQBvQBr':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1556: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket16Internet6Address6__ctorMFNaNbNiNfG16htZCQCbQCaQBw':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1824: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket16Internet6Address6__ctorMFNaNbNiNftZCQBxQBwQBs':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1832: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6__ctorMFNeEQBeQBd13AddressFamilyEQCaQBz10SocketTypeEQCtQCs12ProtocolTypeZCQDpQDoQDk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6_closeFNbNiEQBfQBe8socket_tZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2875: undefined reference to `closesocket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6selectFNeCQBdQBc9SocketSetQrQtPSQBzQBy7TimeValZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3427: undefined reference to `select'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:3431: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6__ctorMFNeEQBeQBd13AddressFamilyEQCaQBz10SocketTypeEQCtQCs12ProtocolTypeZCQDpQDoQDk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress6__ctorMFNaNbNiNfktZCQBxQBwQBs':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1547: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1548: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket7Service8populateMFNaNbPS4core3sys7windows8winsock27serventZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:503: undefined reference to `ntohs'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket12InternetHost8populateMFNaNbPS4core3sys7windows8winsock27hostentZv':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:677: undefined reference to `ntohl'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress12toAddrStringMxFNeZAya':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1573: undefined reference to `inet_ntoa'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress12addrToStringFNbNekZAya':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1651: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1652: undefined reference to `inet_ntoa'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket8hostNameFNdNeZAya':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2905: undefined reference to `gethostname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8Protocol17getProtocolByNameMFNbNexAaZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:430: undefined reference to `getprotobyname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket7Service16getServiceByNameMFNbNexAaxQdZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:535: undefined reference to `getservbyname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket7Service16getServiceByPortMFNbNetxAaZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:547: undefined reference to `getservbyport'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket12InternetHost__T13getHostNoSyncVAyaa75_0a202020202020202020202020202020206175746f206865203d20676574686f737462796e616d6528706172616d2e74656d7043537472696e672829293b0a202020202020202020202020TAxaZQGwMFQjZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d-mixin-688:689: undefined reference to `gethostbyname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket12InternetHost__T13getHostNoSyncVAyaa245_0a2020202020202020202020206175746f2078203d20696e65745f6164647228706172616d2e74656d7043537472696e672829293b0a202020202020202020202020656e666f726365287820213d20494e414444525f4e4f4e452c0a202020202020202020202020202020206e657720536f636b6574506172616d65746572457863657074696f6e2822496e76616c6964204950763420616464726573732229293b0a2020202020202020202020206175746f206865203d20676574686f73746279616464722826782c20342c206361737428696e7429204164647265737346616d696c792e494e4554293b0a2020202020202020TAxaZQTzMFQjZb':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d-mixin-688:689: undefined reference to `inet_addr'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d-mixin-688:692: undefined reference to `gethostbyaddr'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress5parseFNbNexAaZk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1641: undefined reference to `inet_addr'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1641: undefined reference to `ntohl'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6__ctorMFNeEQBeQBd13AddressFamilyEQCaQBz10SocketTypexAaZCQCxQCwQCs':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2668: undefined reference to `getprotobyname'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket6Socket6__ctorMFNeEQBeQBd13AddressFamilyEQCaQBz10SocketTypeEQCtQCs12ProtocolTypeZCQDpQDoQDk':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:2648: undefined reference to `socket'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress6__ctorMFNfxAatZCQBtQBsQBo':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1534: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1535: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket15InternetAddress6__ctorMFNaNbNiNfktZCQBxQBwQBs':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1547: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1548: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1547: undefined reference to `htonl'
C:\msys64\mingw64\bin/ld.exe:
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:1548: undefined reference to `htons'
C:\msys64\mingw64\bin/ld.exe:
B:/D/gdc/MINGW-packages-gdc-11.3.0-build/mingw-w64-gdc/src/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../lib\libgphobos.a(socket.o): in function `_D3std6socket8_lasterrFNbNiNfZi':
B:\D\gdc\MINGW-packages-gdc-11.3.0-build\mingw-w64-gdc\src\build-x86_64-w64-mingw32\x86_64-w64-mingw32\libphobos\src/../../../../gcc-11.3.0/libphobos/src/std/socket.d:74: undefined reference to `WSAGetLastError'
collect2.exe: error: ld returned 1 exit status
preet at DESKTOP MINGW64
```
More information about the D.gnu
mailing list