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

Fails to build in current Debian Testing (13, Trixie) #670

Open
malaire opened this issue Oct 16, 2024 · 0 comments
Open

Fails to build in current Debian Testing (13, Trixie) #670

malaire opened this issue Oct 16, 2024 · 0 comments

Comments

@malaire
Copy link

malaire commented Oct 16, 2024

When trying to build in current Debian Testing (13, Trixie) using make I get following error:

...
===> CXX network/memory_rw.cc
===> CXX network/network.cc
===> CXX network/network_address.cc
===> CXX network/network_cmd.cc
===> CXX network/network_cmd_ingame.cc
===> CXX network/network_cmd_scenario.cc
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;
      |                      ^~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant