Error in source code. Like this error in Bitcoin 0.4.0:
https://bitcointalksearch.org/topic/solved-did-pull-cant-compile-due-to-miniupnpc-problems-6020But it can't be fixed by solution from this page.
kanotix@Kanotix:~/doublec-i0coin-58c6cd8/src$ make -f makefile.unix i0coind
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -o obj/nogui/auxpow.o auxpow.cpp
...
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -o obj/nogui/net.o net.cpp
/usr/include/miniupnpc/upnpcommands.h:129: error: too many arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’
net.cpp:1100: error: at this point in file
net.cpp: In function ‘void ThreadOpenConnections2(void*)’:
net.cpp:1316: error: ‘INT64_MIN’ was not declared in this scope
make: *** [obj/nogui/net.o] Error 1
kanotix@Kanotix:~/doublec-i0coin-58c6cd8/src$
With solution:
kanotix@Kanotix:~/doublec-i0coin-58c6cd8/src$ make -f makefile.unix clean
rm -f i0coin i0coind test_i0coin
rm -f obj/*.o
rm -f obj/nogui/*.o
rm -f obj/test/*.o
rm -f headers.h.gch
kanotix@Kanotix:~/doublec-i0coin-58c6cd8/src$ make -f makefile.unix i0coind USE_UPNP=
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -o obj/nogui/auxpow.o auxpow.cpp
...
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -o obj/nogui/net.o net.cpp
net.cpp: In function ‘void ThreadOpenConnections2(void*)’:
net.cpp:1316: error: ‘INT64_MIN’ was not declared in this scope
make: *** [obj/nogui/net.o] Error 1
kanotix@Kanotix:~/doublec-i0coin-58c6cd8/src$
Edit: fixed by commit from Bitcoin project:
https://github.com/bitcoin/bitcoin/issues/637