Code Monkey home page Code Monkey logo

Comments (16)

lu4p avatar lu4p commented on May 26, 2024

@karalabe What needs to be done in order to add windows support?

from go-libtor.

sesopenko avatar sesopenko commented on May 26, 2024

The first thing I ran into was file names being too long during compilation for the NTFS file system (max 255 characters).

from go-libtor.

psycik avatar psycik commented on May 26, 2024

Error on windows 10:
go build github.com/ipsn/go-libtor/libtor: c:\go\pkg\tool\windows_amd64\cgo.exe: fork/exec c:\go\pkg\tool\windows_amd64\cgo.exe: The filename or extension is too long.

from go-libtor.

Techno-Fox avatar Techno-Fox commented on May 26, 2024

If I'm not mistaken can't the NTFS file system max of 255 characters be extended? This happens when installing python on windows.

from go-libtor.

psycik avatar psycik commented on May 26, 2024

If I'm not mistaken can't the NTFS file system max of 255 characters be extended? This happens when installing python on windows.

Windows 10 does have something... https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd
In my experience it has not been of any use. I think the key there is in how MS uses this with their API.

from go-libtor.

Techno-Fox avatar Techno-Fox commented on May 26, 2024

what about cross compilation? It seems here that he's having the issue of building libtor on the windows OS, but what about cross compiling libtor for windows on linux?

from go-libtor.

gen2brain avatar gen2brain commented on May 26, 2024

I added Windows support in https://github.com/gen2brain/go-libtor. I didn't try to build from Windows yet, all was done cross-compiling from Linux. I did have to patch a couple of rpc* headers from MinGW in order to build though.

from go-libtor.

bobbaker6667 avatar bobbaker6667 commented on May 26, 2024

@gen2brain
I'm attempting to use your fork to cross compile a windows amd64 build.

I'm getting the following errors:

In file included from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/objbase.h:164, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/ole2.h:17, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/wtypes.h:13, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winscard.h:10, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/windows.h:97, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winsock2.h:23, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/include/event2/util.h:65, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/include/event2/buffer.h:89, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:36, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/windows_libevent_buffer_iocp.go:9: /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:919:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IEnumSTATPROPSTG_RemoteNext_Stub’ 919 | void __RPC_STUB IEnumSTATPROPSTG_RemoteNext_Stub( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:929:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IEnumSTATPROPSTG_Next_Stub’ 929 | HRESULT __RPC_STUB IEnumSTATPROPSTG_Next_Stub( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1055:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IEnumSTATPROPSETSTG_RemoteNext_Stub’ 1055 | void __RPC_STUB IEnumSTATPROPSETSTG_RemoteNext_Stub( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1065:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IEnumSTATPROPSETSTG_Next_Stub’ 1065 | HRESULT __RPC_STUB IEnumSTATPROPSETSTG_Next_Stub( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1119:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BSTR_UserSize’ 1119 | ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); | ^~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1120:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BSTR_UserMarshal’ 1120 | unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); | ^~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1121:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BSTR_UserUnmarshal’ 1121 | unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); | ^~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1122:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BSTR_UserFree’ 1122 | void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); | ^~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1123:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LPSAFEARRAY_UserSize’ 1123 | ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); | ^~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1124:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LPSAFEARRAY_UserMarshal’ 1124 | unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); | ^~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1125:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LPSAFEARRAY_UserUnmarshal’ 1125 | unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/propidl.h:1126:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LPSAFEARRAY_UserFree’ 1126 | void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); | ^~~~~~~~~~~~~~~~~~~~ In file included from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/windows.h:97, from /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winsock2.h:23, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/include/event2/util.h:65, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/include/event2/buffer.h:89, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:36, from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/windows_libevent_buffer_iocp.go:9: /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winscard.h:396:3: error: unknown type name ‘UUID’; did you mean ‘GUID’? 396 | UUID *CardIdentifier, | ^~~~ | GUID /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winscard.h:405:3: error: unknown type name ‘UUID’; did you mean ‘GUID’? 405 | UUID *CardIdentifier, | ^~~~ | GUID /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winscard.h:416:3: error: unknown type name ‘UUID’; did you mean ‘GUID’? 416 | UUID *CardIdentifier, | ^~~~ | GUID /mnt/nvme/toolchains/x86_64-w64-mingw32-cross/x86_64-w64-mingw32/include/winscard.h:425:3: error: unknown type name ‘UUID’; did you mean ‘GUID’? 425 | UUID *CardIdentifier, | ^~~~ | GUID ^~~~~~~~~~~~~~~~~~~~

When I run:

`
env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build -v -x -tags "staticOpenssl,staticZlib,staticLibevent" .

Could you let me know the command that you are using to cross compile a windows build of your fork or if you have any idea why I'm getting these errors when trying to compile for windows?

from go-libtor.

gen2brain avatar gen2brain commented on May 26, 2024

@bobbaker6667 You can drop those build tags, they are not used. As I mentioned I had to patch a few rpc* files that come with MinGW runtime, maybe also something else (something that uses widl to generate header from .idl files, not sure). Try for now with the attached patches and report what happens after that.

1.patch.txt
2.patch.txt

from go-libtor.

psycik avatar psycik commented on May 26, 2024

@gen2brain building from windows has the same issue, I haven't tried a cross-compile yet.
go build github.com/gen2brain/go-libtor/libtor: c:\go\pkg\tool\windows_amd64\cgo.exe: fork/exec c:\go\pkg\tool\windows_amd64\cgo.exe: The filename or extension is too long.

from go-libtor.

sesopenko avatar sesopenko commented on May 26, 2024

what about cross compilation? It seems here that he's having the issue of building libtor on the windows OS, but what about cross compiling libtor for windows on linux?

Sorry I'm late to the party. Cross compilation could be a first iteration but go is meant to be cross platform and a solution which doesn't require another os environment would improve adoption of this library. The complexity of any given project which takes this library as a dependency would increase drastically, if it had to cross compile for windows binaries. Switching os context to build a library isn't good developer ergonomics.

The beautiful aspect of go is that you have a comprehensive ecosystem of library solutions letting you solve your problems within your binary, lowering the complexity of a given project by not having to cross runtime barriers. Crossing os barriers at the compilation phase defeats that elegance.

from go-libtor.

gen2brain avatar gen2brain commented on May 26, 2024

@psycik Thanks for checking, I believe the issue is not with filename/extension too long, because none of the filenames exceed 255, but there are 1100+ files per platform, perhaps that is another limitation in Windows. Also, not sure if that is an issue with cgo.exe that can be fixed. I will not try to fix that issue because it is not an issue for me, and I don't have any idea how that can be solved, I may just update the tor version from time to time, i.e. when I need to use this library again.

I just needed this for some project, there was no Windows support so I added it (i.e. adding necessary files, headers, cgo flags, etc.). I anyway build for all platforms from Linux, i.e. with toolchains like MingW, OSXCross, NDK, RPi, crossdev, etc. I can compile for any platform. I don't even know how I could compile my apps in real Windows, it is much much easier to target Windows from Linux, at least for me.

from go-libtor.

bobbaker6667 avatar bobbaker6667 commented on May 26, 2024

Hi all, just writing in reply, what I ended up doing was compiling tor for the needed arches with musl/mingw32 and then embedding the static binaries with go:embed and writing them to a working directory, this means I am able to use the bine wrapper for any arch that you can compile static binary for. Appreciate your input @gen2brain as we ended up coming to similar solutions.
I might upload the code and precompiled binaries I ended up building somewhere if anyone else is interested. I managed to get it to build for all sorts of platforms from win32 to mips etc I still think that this project is awesome work and if anyone is interested in working to support other arches. I was only able to compile successfully go-libtor on i686, amd64, arm, arm64. What didn't build was: MIPS, PPC, Windows etc- compiles were broken. I think this project is a great idea as it would probably lead to reduced file-size which would be beneficial for embedded platforms which are somewhat resource limited where writing an entire tor binary to disk may not be an option, but I think if it were to be successful in this area you would want to test it against these other arches/operating systems, e.g MIPS, PPC, Windows, and I'm not sure if it's entirely possible with the conversion from C++ but to try aim for it to be able to be compiled without CGO enabled, which would lead to single fully static binaries with the native go toolchain without needing to bring in another compiler at build time e.g musl as is currently required to get this library to build into a self contained static binary

from go-libtor.

gen2brain avatar gen2brain commented on May 26, 2024

@bobbaker6667 I agree it is nice to not depend on CGO, but in my case, I was already using Qt and libmpv/ffmpeg with all the dependencies, at that point, I do not care at all about pure Go. There is also an issue with using tor binary, for example, in Windows, it will first ask for permission for my app to use the internet, then once again for tor binary, probably more. When you embed tor it is just your app, I can see total memory usage, all connections, etc. Now, the option to have both via build tags would be perfect, bine library is very nicely done to allow both cases.

I believe for now would be enough to support major platforms like Windows(386/amd64), Darwin(amd64/arm64), and Linux/Android(amd64/arm64). Btw. I forked from the repo that added support for macOS/iOS, I fixed arm64 support for M1/M2, so that should all work (I built binary but it is not tested). Of course, many cannot use it in real Windows, and I did have to patch MingW in Linux (that also must be resolved, why is needed, how come no one noticed so far, etc. I only hacked it).

from go-libtor.

bobbaker6667 avatar bobbaker6667 commented on May 26, 2024

@gen2brain

I have applied the two patch files to my compiler (mingw32) and have attempted to cross compile a windows binary with your fork of the library ''github.com/gen2brain/go-libtor", The error message has now changed which is something, I've attached the output of the compiler. I have a feeling that it is failing to cross compile openssl correctly, which might be due to failure to compile one of it's dependency's correctly, does your version attempt to compile all the prerequisites for openssl etc or is your version expecting libevent openssl / other tor requirements etc to already be built and installed to the compilers folder?

Attached is the output

`# github.com/gen2brain/go-libtor/libtor
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x004.o: in function `evbuffer_write_iovec':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer.c:2477: undefined reference to `__imp_WSASend'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x004.o: in function `get_n_bytes_readable_on_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer.c:2290: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x004.o: in function `evbuffer_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer.c:2359: undefined reference to `__imp_WSARecv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer.c:2362: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x005.o: in function `evbuffer_launch_write_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:226: undefined reference to `__imp_WSASend'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:228: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x005.o: in function `evbuffer_launch_read_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:292: undefined reference to `__imp_WSARecv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../buffer_iocp.c:294: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x006.o: in function `bufferevent_run_eventcb_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent.c:295: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x006.o: in function `bufferevent_run_deferred_callbacks_locked':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent.c:181: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x006.o: in function `bufferevent_run_deferred_callbacks_unlocked':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent.c:226: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o: in function `be_async_ctrl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:696: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o: in function `bev_async_set_wsa_error':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:424: undefined reference to `__imp_WSAGetOverlappedResult'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o: in function `connect_complete':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:448: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o: in function `bev_async_set_wsa_error':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:424: undefined reference to `__imp_WSAGetOverlappedResult'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:424: undefined reference to `__imp_WSAGetOverlappedResult'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o: in function `bufferevent_async_connect_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:649: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:657: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_async.c:650: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x007.o:windows_libevent_bufferevent_async.cgo2.c:(.rdata$.refptr.in6addr_any[.refptr.in6addr_any]+0x0): undefined reference to `in6addr_any'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x011.o: in function `bufferevent_socket_set_conn_address_fd_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_sock.c:118: undefined reference to `__imp_getpeername'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../bufferevent_sock.c:118: undefined reference to `__imp_getpeername'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `tcp_read_message':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2159: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_nameserver_add_impl_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3275: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3257: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3267: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `sockaddr_getport':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3364: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `server_send_response':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1747: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1754: undefined reference to `__imp_sendto'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `dnsname_to_labels':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1960: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_request_data_build':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2032: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2063: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_server_request_format_response':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2450: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2486: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `nameserver_failed':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:771: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_request_transmit_to':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2805: undefined reference to `__imp_sendto'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_request_transmit_through_tcp':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2937: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `request_trans_id_set':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:844: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:844: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `search_set_from_hostname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3970: undefined reference to `__imp_gethostname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `request_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1498: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1565: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `server_udp_port_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1719: undefined reference to `__imp_recvfrom'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_server_request_add_ptr_reply':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:2399: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_base_nameserver_add':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3330: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `sockaddr_getport':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3364: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `sockaddr_setport':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3354: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_getaddrinfo_gotresolve':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:5442: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:5430: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `sockaddr_setport':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3352: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3354: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `evdns_base_resolve_reverse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:3757: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `request_trans_id_set':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:844: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `reply_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1291: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1370: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1444: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1445: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1446: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1447: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o://_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1448: more undefined references to `__imp_ntohl' follow
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x013.o: in function `nameserver_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evdns.c:1677: undefined reference to `__imp_recvfrom'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x014.o: in function `evthread_notify_drain_default':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../event.c:3644: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x014.o: in function `evthread_notify_base_default':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../event.c:2554: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x015.o: in function `init_extension_functions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../event_iocp.c:155: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x015.o: in function `get_extension_function':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../event_iocp.c:119: undefined reference to `__imp_WSAIoctl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x015.o: in function `init_extension_functions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../event_iocp.c:162: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `test_for_getaddrinfo_hacks':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1495: undefined reference to `__imp_getaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1506: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1507: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1511: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:445: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:450: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:452: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:455: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:466: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:470: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:475: undefined reference to `__imp_accept'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:507: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:499: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:499: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:499: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:499: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_ersatz_socketpair_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:436: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:441: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:499: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:518: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_listen_socket_ipv6only':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:593: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_socket_geterror':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:723: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:725: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_socket_connect_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:751: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:743: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:518: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_socket_finished_connecting_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:780: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:786: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_v4addr_is_local_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:826: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:826: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_freeaddrinfo':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1807: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_inet_ntop':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2129: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_inet_pton':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2268: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_inet_pton_scope':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2236: undefined reference to `if_nametoindex'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_unparse_protoname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1137: undefined reference to `__imp_getprotobynumber'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_getaddrinfo_common_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1220: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_parse_servname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1109: undefined reference to `__imp_getservbyname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1111: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_getaddrinfo_common_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1287: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1224: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1246: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1270: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_getaddrinfo':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1669: undefined reference to `__imp_getaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1669: undefined reference to `__imp_getaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `apply_numeric_port_hack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1543: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1550: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_getaddrinfo':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1669: undefined reference to `__imp_getaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_parse_sockaddr_port':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2437: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2459: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_format_sockaddr_port_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2480: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2488: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_sockaddr_is_loopback_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2764: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_v4addr_is_local_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:826: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_check_interfaces':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:979: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:993: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1003: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_check_interfaces':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:994: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_check_interfaces':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1004: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:995: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_socket_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2832: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:518: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_accept4_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:2874: undefined reference to `__imp_accept'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:518: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_make_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:518: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:654: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x021.o: in function `evutil_gai_strerror':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../evutil.c:1900: undefined reference to `gai_strerrorA'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x024.o: in function `create_bind_socket_nonblock':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4749: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4757: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4765: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4767: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x024.o: in function `name_from_addr':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4706: undefined reference to `__imp_getnameinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:4717: undefined reference to `gai_strerrorA'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x024.o: in function `evhttp_bind_socket_with_handle':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:3823: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:3824: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:3827: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x024.o: in function `evhttp_connection_fail_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:836: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../http.c:894: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `stop_accepting':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:621: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `accepted_socket_cb':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:718: undefined reference to `__imp_WSAGetOverlappedResult'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `free_and_unlock_accepting_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:554: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `accepted_socket_cb':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:724: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `start_accepting':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:567: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:580: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:574: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:599: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:587: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `accepted_socket_invoke_user_cb':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:676: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:667: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `free_and_unlock_accepting_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:554: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `evconnlistener_new_async':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:854: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:848: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:851: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `free_and_unlock_accepting_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:554: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `evconnlistener_new':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:179: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:182: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x025.o: in function `evconnlistener_new_bind':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:245: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../listener.c:270: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x028.o: in function `evsig_handler':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../signal.c:385: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../signal.c:403: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../signal.c:428: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x028.o: in function `evsig_cb':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../signal.c:143: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x031.o: in function `ws_global_init':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../wepoll.c:2198: undefined reference to `__imp_WSAStartup'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x031.o: in function `ws_get_base_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../wepoll.c:2209: undefined reference to `__imp_WSAIoctl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x032.o: in function `win32_dispatch':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/libevent/compat/../win32select.c:321: undefined reference to `__imp_select'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x117.o: in function `addr_strings':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:208: undefined reference to `__imp_getnameinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:233: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:220: undefined reference to `gai_strerrorA'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x117.o: in function `BIO_lookup_ex':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:698: undefined reference to `__imp_getaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:731: undefined reference to `gai_strerrorA'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x117.o: in function `BIO_ADDRINFO_free':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_addr.c:430: undefined reference to `__imp_freeaddrinfo'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_sock_error':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:99: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:101: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_gethostbyname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:113: undefined reference to `__imp_gethostbyname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_sock_init':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:133: undefined reference to `__imp_WSAStartup'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:134: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_get_port':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:76: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `bio_sock_cleanup_int':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:156: undefined reference to `__imp_WSACleanup'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_socket_ioctl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:192: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:195: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_accept':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:246: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_set_tcp_ndelay':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:291: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_socket_ioctl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:192: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:195: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x120.o: in function `BIO_sock_info':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:349: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:352: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:47: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:49: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_connect':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:99: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:107: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:90: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:92: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:110: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:101: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_bind':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:160: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:161: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_listen':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:217: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:220: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:238: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:266: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:267: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:229: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:231: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:254: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:256: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:240: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_accept_ex':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:290: undefined reference to `__imp_accept'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:294: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:301: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x121.o: in function `BIO_closesocket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:314: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x130.o: in function `acpt_state':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_acpt.c:229: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x130.o: in function `acpt_close_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_acpt.c:125: undefined reference to `__imp_shutdown'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_acpt.c:126: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_acpt.c:125: undefined reference to `__imp_shutdown'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_acpt.c:126: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x132.o: in function `conn_state':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:174: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:142: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x132.o: in function `conn_write':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:347: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:348: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x132.o: in function `conn_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:322: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:323: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x132.o: in function `conn_close_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_conn.c:285: undefined reference to `__imp_shutdown'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_ctrl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:680: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:759: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:653: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:623: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:746: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_write':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:339: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:342: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:346: undefined reference to `__imp_sendto'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `BIO_dgram_should_retry':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:1843: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:311: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_adjust_rcv_timeout':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:216: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:261: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:316: undefined reference to `__imp_recvfrom'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `BIO_dgram_should_retry':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:1843: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x133.o: in function `dgram_reset_rcv_timeout':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_dgram.c:286: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x139.o: in function `sock_read':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:98: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:99: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x139.o: in function `BIO_sock_should_retry':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:180: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x139.o: in function `sock_write':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:115: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:116: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x139.o: in function `BIO_sock_should_retry':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:180: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/bss_sock.c:180: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_free_key':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1595: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1595: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_open_store':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1402: undefined reference to `__imp_CertOpenStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_get_prov_info':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1283: undefined reference to `__imp_CertGetCertificateContextProperty'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_cert_get_fname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1331: undefined reference to `__imp_CertGetCertificateContextProperty'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_find_cert':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1455: undefined reference to `__imp_CertEnumCertificatesInStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1457: undefined reference to `__imp_CertFindCertificateInStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_load_ssl_client_cert':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1722: undefined reference to `__imp_CertEnumCertificatesInStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1742: undefined reference to `__imp_CertDuplicateCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1758: undefined reference to `__imp_CertCloseStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_free_key':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1595: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_list_certs':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1434: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1445: undefined reference to `__imp_CertCloseStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1447: undefined reference to `__imp_CertEnumCertificatesInStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_find_key':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1561: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1563: undefined reference to `__imp_CertCloseStore'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x669.o: in function `capi_free_key':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1595: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../engines/e_capi.c:1595: undefined reference to `__imp_CertFreeCertificateContext'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x717.o: in function `port_exists_by_type_addr32h_port':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/app/config/config.c:6771: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x721.o: in function `init_addrinfo':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/app/main/main.c:846: undefined reference to `__imp_gethostname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `set_constrained_socket_buffers':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:5094: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `update_send_buffer_size':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:4302: undefined reference to `__imp_WSAIoctl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:4304: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_socks4_proxy_connect':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2643: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2643: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2643: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2643: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_send_socks5_connect':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2858: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_connect_sockaddr':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2222: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:2234: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `make_win32_socket_exclusive':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:1416: undefined reference to `__imp_setsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_listener_new':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:1557: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `tor_listen':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:1437: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_listener_new':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:1584: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x733.o: in function `connection_handle_write_impl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/mainloop/connection.c:4356: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x740.o: in function `address_set_add_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/address_set.c:57: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x741.o: in function `packed_cell_is_destroy':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channel.c:2016: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channel.c:2011: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channel.c:2011: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channel.c:2016: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x743.o: in function `tor_addr_from_netinfo_addr':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channeltls.c:1672: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x743.o: in function `channel_tls_process_authenticate_cell':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channeltls.c:2434: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x743.o: in function `channel_tls_process_versions_cell':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/channeltls.c:1496: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x753.o: in function `connected_cell_format_payload':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_edge.c:898: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x753.o: in function `connection_edge_end':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_edge.c:533: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x753.o: in function `tell_controller_about_resolved_result':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_edge.c:3501: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x753.o: in function `connection_ap_handshake_send_begin':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_edge.c:3245: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x753.o: in function `begin_cell_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_edge.c:3835: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `cell_unpack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:481: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:478: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `cell_pack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:458: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:464: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `var_cell_pack_header':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:495: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `set_uint32':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/arch/bytes.h:89: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `var_cell_pack_header':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:499: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:499: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:495: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:496: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:499: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:495: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `var_cell_pack_header':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/arch/bytes.h:89: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x754.o: in function `connection_or_send_versions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/connection_or.c:2463: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `create_cell_format_impl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:536: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `parse_create2_payload':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:130: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `created_cell_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:228: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `extend_cell_from_extend2_cell_body':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:348: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `extend_cell_from_extend1_cell_body':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:286: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `extended_cell_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:489: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `created_cell_format':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:579: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `extend_cell_format':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:625: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x761.o: in function `extended_cell_format':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/onion.c:737: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x765.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x765.o: in function `exit_policy_is_general_exit_helper':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/policies.c:2207: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x765.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x765.o: in function `policy_expand_unspec':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/policies.c:170: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x765.o: in function `reachable_addr_choose_from_ls':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/policies.c:939: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `relay_header_pack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:481: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `relay_header_unpack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:494: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `relay_header_pack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:481: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `packed_cell_get_circid':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:2913: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:2915: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `relay_header_unpack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:494: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `resolved_cell_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:1172: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:1182: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `connected_cell_parse':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:1081: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:1086: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `connection_ap_process_end_not_open':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:874: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:869: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x769.o: in function `relay_header_unpack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/or/relay.c:494: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x776.o: in function `fetch_var_cell_from_buf':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_cell.c:75: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_cell.c:82: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x777.o: in function `peek_buf_has_control0_command':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_control0.c:25: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x778.o: in function `fetch_ext_or_command_from_buf':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_ext_or.c:35: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x781.o: in function `parse_socks5_client_request':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_socks.c:579: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x781.o: in function `parse_socks4_request':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/core/proto/proto_socks.c:207: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x828.o: in function `tor_main_configuration_free':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/api/tor_api.c:135: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x829.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x831.o: in function `pathbias_check_probe_response':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/client/circpathbias.c:913: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x841.o: in function `control_send_v0_reject':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/control/control.c:367: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x847.o: in function `getinfo_helper_listeners':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/control/control_getinfo.c:301: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x850.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x865.o: in function `generate_srv':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/dirauth/shared_random.c:438: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x896.o: in function `hs_parse_port_config':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/hs/hs_common.c:716: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/hs/hs_common.c:758: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x896.o: in function `hs_get_extend_info_from_lspecs':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/hs/hs_common.c:1633: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x921.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x927.o: in function `set_exitconn_info_from_resolve':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:918: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:887: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x927.o: in function `send_resolved_hostname_cell':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:577: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x927.o: in function `send_resolved_cell':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:537: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:495: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x927.o://_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/dns.c:508: more undefined references to `__imp_htonl' follow
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x927.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x928.o: in function `connection_write_ext_or_command':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/ext_orport.c:74: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x932.o: in function `connection_or_compute_authenticate_cell_body':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/feature/relay/relay_handshake.c:452: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1019.o: in function `geoip_parse_entry':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/geoip/geoip.c:192: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1019.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_sockaddr':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:130: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:142: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_is_v4':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:760: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_is_internal_':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:276: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:282: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o://_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: more undefined references to `__imp_ntohl' follow
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_from_sockaddr':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:184: undefined reference to `__imp_ntohs'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `get_interface_addresses_win32':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1460: undefined reference to `GetAdaptersAddresses'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1465: undefined reference to `GetAdaptersAddresses'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_mapped_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:178: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:178: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `fmt_addr32':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1216: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `get_interface_address6_via_udp_socket_hack':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1669: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1673: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:1661: undefined reference to `__imp_htons'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_parse_mask_ports':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:609: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:668: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_dup_ip':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/address.c:2053: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1044.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1045.o: in function `sock_drain':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/alertsock.c:176: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1045.o: in function `send_ni':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/alertsock.c:76: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1046.o: in function `flush_chunk':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/buffers_net.c:153: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1046.o: in function `read_to_chunk':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/buffers_net.c:52: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1047.o: in function `tor_gethostname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/gethostname.c:29: undefined reference to `__imp_gethostname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1048.o: in function `tor_inet_aton':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/inaddr.c:69: undefined reference to `__imp_htonl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1048.o: in function `tor_inet_ntoa':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/inaddr.c:81: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/inaddr.c:81: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1049.o: in function `subsys_network_shutdown':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/network_sys.c:33: undefined reference to `__imp_WSACleanup'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1050.o: in function `tor_addr_lookup_host_impl':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/resolve.c:153: undefined reference to `__imp_gethostbyname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/resolve.c:155: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1050.o: in function `tor_addr_to_ipv4h':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/lib/net/address.h:162: undefined reference to `__imp_ntohl'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `network_init':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:48: undefined reference to `__imp_WSAStartup'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_connect_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:253: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_open_socket_with_extensions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:298: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `set_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:564: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_open_socket_with_extensions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:278: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_accept_socket_with_extensions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:408: undefined reference to `__imp_accept'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `set_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:564: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_accept_socket_with_extensions':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:386: undefined reference to `__imp_WSASetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_getsockname':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:535: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:535: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `set_socket_nonblocking':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:564: undefined reference to `__imp_ioctlsocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `read_all_from_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:597: undefined reference to `__imp_recv'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `write_all_to_socket':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:617: undefined reference to `__imp_send'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_socket_errno':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:642: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:644: undefined reference to `__imp_getsockopt'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1051.o: in function `tor_close_socket_simple':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:159: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socket.c:159: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1052.o: in function `get_local_listener':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:58: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:75: undefined reference to `__imp_bind'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:77: undefined reference to `__imp_listen'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:82: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: $WORK/b113/_x1052.o: in function `tor_ersatz_socketpair':
//_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:176: undefined reference to `__imp_socket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:181: undefined reference to `__imp_getsockname'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:216: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:216: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:159: undefined reference to `__imp_WSAGetLastError'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:216: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:185: undefined reference to `__imp_connect'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:189: undefined reference to `__imp_accept'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:216: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:201: undefined reference to `__imp_closesocket'
/mnt/nvme/toolchains/x86_64-w64-mingw32-cross/bin/../lib/gcc/x86_64-w64-mingw32/10.2.1/../../../../x86_64-w64-mingw32/bin/ld: //_/_/github.com/gen2brain/[email protected]/libtor/../windows/tor/src/../src/lib/net/socketpair.c:216: undefined reference to `__imp_closesocket'
collect2: error: ld returned 1 exit status
# github.com/gen2brain/go-libtor/libtor
In file included from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/windows_openssl_crypto_bio_b_sock.go:12:
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c: In function ‘BIO_get_accept_socket’:
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:202:13: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  202 |     int s = INVALID_SOCKET;
      |             ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:207:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  207 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:210:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  210 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:217:13: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  217 |         s = INVALID_SOCKET;
      |             ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock.c:224:13: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  224 |         s = INVALID_SOCKET;
      |             ^~~~~~~~~~~~~~
# github.com/gen2brain/go-libtor/libtor
In file included from /home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/windows_openssl_crypto_bio_b_sock2.go:12:
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c: In function ‘BIO_socket’:
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:45:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
   45 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:51:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
   51 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c: In function ‘BIO_accept_ex’:
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:297:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  297 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~
/home/user/go/pkg/mod/github.com/gen2brain/[email protected]/libtor/../windows/openssl/include/../crypto/bio/b_sock2.c:302:16: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
  302 |         return INVALID_SOCKET;
      |                ^~~~~~~~~~~~~~

Any ideas what could be going wrong here? After your post I appreciate the benefits of having the tor binary not shipped seperately and would like to attempt to try and cross compile a reproducable windows build using your library if anyone has any ideas on what I should be looking at from here would be greatly appreciated

EDIT: my only other thought would be is this the response to accedently passing through -static etc LD flags to the compiler that builds the libevent/openssl? The command I'm using to build is this

env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build -trimpath --ldflags "-linkmode external -extldflags '-static' -buildid=" main.go tor_lib.go
x86_64-w64-mingw32-strip main

from go-libtor.

mh-cbon avatar mh-cbon commented on May 26, 2024

commenting a bit out of context, one general solution to windows is to embed the whole compiled tor binary into the Go program, upon start up, extract it on disk, in temp/whatever, then use ExePath. The downside is ~10/15mb increase on the binary size, though looking at my local linux build here using this repo it is 19mb, looks fairly identical increase. Dirty, but a rock solid solution of the poorman. I am always lost into those C cross compilation header things.

from go-libtor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.