Open 0-8-15 opened 9 years ago
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -pthread -std=c++11 -pthread -D_FORTIFY_SOURCE=2 -c -o natpmp.o natpmp.cpp natpmp.cpp: In function 'void upnp_map_port(uint32t, in_portt&)': natpmp.cpp:149:94: error: too few arguments to function 'UPNPDev upnpDiscover(int, const char, const char, int, int, int_)' UPNPDev devlist = upnpDiscover(2000/_response timeout (milliseconds)/, nullptr, nullptr, 0);
Debian Testing and Ubuntu seem to carry an incompatible version of libminiupnpc. As a temporary fix, you can disable building UPNP into snow:
libminiupnpc
make NO_UPNP=1 -j8
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -pthread -std=c++11 -pthread -D_FORTIFY_SOURCE=2 -c -o natpmp.o natpmp.cpp natpmp.cpp: In function 'void upnp_map_port(uint32t, in_portt&)': natpmp.cpp:149:94: error: too few arguments to function 'UPNPDev upnpDiscover(int, const char, const char, int, int, int_)' UPNPDev devlist = upnpDiscover(2000/_response timeout (milliseconds)/, nullptr, nullptr, 0);