Closed sheerlox closed 1 year ago
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/root/ION/ion/src -I/root/ION/ion/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/ION/ion/src/leveldb/include -I/root/ION/ion/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 ThreadMapPort()': net.cpp:1153:74: error: invalid conversion from 'int*' to 'unsigned char' [-fpermissive] devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); ^ net.cpp:1153:74: error: too few arguments to function 'UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)' In file included from net.cpp:26:0: /usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here upnpDiscover(int delay, const char * multicastif, ^ make: *** [obj/net.o] Error 1
OS : Ubuntu 14.10 updated
I'm trying to patch it.
Pull request created
@IonomyGuy here is the issue fixed by my PR :smiley:
[EDIT] Here is the new PR who solve this error : https://github.com/ionomy/ion/pull/16
OS : Ubuntu 14.10 updated