Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error at "Building CXX object libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp" #4

Open
Hyphaed opened this issue Aug 20, 2024 · 0 comments

Comments

@Hyphaed
Copy link

Hyphaed commented Aug 20, 2024

[ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant