He mejorado, ahora me sale este otro error:
main.cpp: In function 'FILE* AppendBlockFile(unsigned int&)':
main.cpp:1995:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
main.cpp: At global scope:
main.cpp:834:12: warning: 'int generateMTRandom(unsigned int, int)' defined but not used [-Wunused-function]
main.cpp:3342:21: warning: 'unsigned int ScanHash_CryptoPP(char*, char*, char*, char*, unsigned int&)' defined but not used [-Wunused-function]
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/root/peseta/pesetacoin/src -I/root/peseta/pesetacoin/src/obj -DUSE_UPNP=1 -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:21:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.
make: *** [obj/net.o] Error 1
Gracias por tu ayuda
