After upgrading from gcc 4.9.3 (mingw-w64 v3) to gcc 8.1.0 (mingw-w64
v5.0.4) I am getting a linking error on i686 when building libuv. The
x86_64 architecture is still fine.


C:/rtools40/mingw32/bin/g++ -shared -s -static-libgcc -o httpuv.dll
tmp.def RcppExports-legacy.o RcppExports.o callback.o callbackqueue.o
filedatasource-unix.o filedatasource-win.o http.o httprequest.o
httpresponse.o httpuv.o md5.o set_invalid_parameter.o socket.o
thread.o utils.o uvutil.o webapplication.o websockets-base.o
websockets-hixie76.o websockets-hybi03.o websockets-ietf.o
websockets.o ./libuv/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o
./base64/base64.o -lpthread -lws2_32 -lkernel32 -lpsapi -liphlpapi
-lshell32 -luserenv -LC:/PROGRA~1/R/R-34~1.4/bin/i386 -lR
./libuv/libuv.a(getaddrinfo.o):getaddrinfo.c:(.text+0x995): undefined
reference to `ConvertInterfaceIndexToLuid'
./libuv/libuv.a(getaddrinfo.o):getaddrinfo.c:(.text+0x9b5): undefined
reference to `ConvertInterfaceLuidToNameW'
collect2.exe: error: ld returned 1 exit status

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to