zrm / snow

www.trustiosity.com/snow
Other
781 stars 28 forks source link

Does not compile on debian testing #2

Open 0-8-15 opened 9 years ago

0-8-15 commented 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);

MaZderMind commented 9 years ago

Debian Testing and Ubuntu seem to carry an incompatible version of libminiupnpc. As a temporary fix, you can disable building UPNP into snow:

make NO_UPNP=1 -j8