You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During compilation, I get an error that the number of arguments in UPNP_GetVildIGD does not match. The error message is as follows.
network/network.cc: In function ‘bool prepare_for_server(char*, char*, int)’:
network/network.cc:997:33: error: too few arguments to function ‘int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)’
997 | UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof(lanaddr) );
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from network/network.cc:970:
/usr/include/miniupnpc/miniupnpc.h:122:1: note: declared here
122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
| ^~~~~~~~~~~~~~~~
network/network.cc: In function ‘void remove_port_forwarding(int)’:
network/network.cc:1056:33: error: too few arguments to function ‘int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)’
1056 | UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof(lanaddr) );
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/miniupnpc/miniupnpc.h:122:1: note: declared here
122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
| ^~~~~~~~~~~~~~~~
make: *** [common.mk:57: build/default/network/network.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from network/../gui/components/gui_aligned_container.h:10,
from network/../gui/gui_frame.h:15,
from network/../gui/player_frame_t.h:12,
from network/network_cmd_ingame.cc:24:
network/../gui/components/gui_container.h: In member function ‘bool gui_container_t::set_checkered(bool)’:
network/../gui/components/gui_container.h:45:22: warning: unused variable ‘old’ [-Wunused-variable]
45 | bool old = checkered;
| ^~~
My compile-time environment is as follows:
OS: Arch Linux x86_64
gcc version 14.2.1 20240910 (GCC)
Since I don't know which of these UPnP packagesis actually used, I will include all of the packages that look like it that are installed.
extra/gupnp-igd 1.6.0-1 (28.8 KiB 115.6 KiB) (Installed)
A library to handle UPnP IGD port mapping
extra/gupnp 1:1.6.7-1 (125.2 KiB 713.8 KiB) (Installed)
GObject-based UPNP framework
extra/miniupnpc 2.2.8-1 (45.0 KiB 135.8 KiB) (Installed)
Small UPnP client library/tool to access Internet Gateway Devices
The text was updated successfully, but these errors were encountered:
During compilation, I get an error that the number of arguments in
UPNP_GetVildIGD
does not match. The error message is as follows.My compile-time environment is as follows:
Since I don't know which of these UPnP packagesis actually used, I will include all of the packages that look like it that are installed.
The text was updated successfully, but these errors were encountered: