Open Hyphaed opened 3 months ago
[ 27%] Building CXX object libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o /home/ferran/Downloads/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc:278:13: error: no matching function for call to 'UPNP_GetValidIGD' 278 | if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) == | ^~~~ /home/ferran/Downloads/transmission-4.0.6/build/third-party/miniupnpc.bld/pfx/include/miniupnpc/miniupnpc.h:128:1: note: candidate function not viable: requires 7 arguments, but 5 were provided 128 | UPNP_GetValidIGD(struct UPNPDev devlist, | ^ ~~~~~ 129 | struct UPNPUrls urls, | ~~~~~~~ 130 | struct IGDdatas data, | ~~~~~~~ 131 | char lanaddr, int lanaddrlen, | ~~~~~~~ 132 | char * wanaddr, int wanaddrlen); | ~~~~~~ 1 error generated. make[2]: [libtransmission/CMakeFiles/transmission.dir/build.make:566: libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:653: libtransmission/CMakeFiles/transmission.dir/all] Error 2 make: *** [Makefile:166: all] Error 2
[ 27%] Building CXX object libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o /home/ferran/Downloads/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc:278:13: error: no matching function for call to 'UPNP_GetValidIGD' 278 | if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) == | ^
~~~/home/ferran/Downloads/transmission-4.0.6/build/third-party/miniupnpc.bld/pfx/include/miniupnpc/miniupnpc.h:128:1: note: candidate function not viable: requires 7 arguments, but 5 were provided 128 | UPNP_GetValidIGD(struct UPNPDev devlist, | ^~~~~~129 | struct UPNPUrls urls, |~~~~~~~ 130 | struct IGDdatas data, |~~~~~~~ 131 | char lanaddr, int lanaddrlen, |~~~~~~~ 132 | char * wanaddr, int wanaddrlen); |~~~~~~1 error generated. make[2]: [libtransmission/CMakeFiles/transmission.dir/build.make:566: libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:653: libtransmission/CMakeFiles/transmission.dir/all] Error 2 make: *** [Makefile:166: all] Error 2