Post
Topic
Board Announcements (Altcoins)
Re: [ANN][UNIT] Universal Currency | LIFETIME| POW/POS SHA256 |
by
cryptopoolcash
on 30/01/2019, 00:31:39 UTC
hi
make have error :

Code:
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/****/compil/unitcurrency/src -I/home/****/compil/unitcurrency/src/obj -DUSE_UPNP=0 -I/home/****/compil/unitcurrency/src/leveldb/include -I/home/****/compil/unitcurrency/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.o net.cpp
net.cpp: In function ‘void ThreadMapPort2(void*)’:
net.cpp:1118:72: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)’
     devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 0, 0);
                                                                        ^
In file included from net.cpp:20:0:
/usr/include/miniupnpc/miniupnpc.h:58:1: note: declared here
 upnpDiscover(int delay, const char * multicastif,
 ^
net.cpp:1117:9: warning: unused variable ‘error’ [-Wunused-variable]
     int error = 0;
         ^
makefile.unix:175: recipe for target 'obj/net.o' failed
make: *** [obj/net.o] Error 1

how fix it ?