mak@mak-desktop:~/bitcoin-0.4.0-linux/src/src$ make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXDEBUG__ -D__WXGTK__ -pthread -DGUI -o obj/net.o net.cpp
/usr/include/miniupnpc/miniupnpc.h: In function ‘void ThreadMapPort2(void*)’:
/usr/include/miniupnpc/miniupnpc.h:45: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int)’
net.cpp:1087: error: at this point in file
/usr/include/miniupnpc/upnpcommands.h:123: 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
Нашёл ответ на твой вопрос по ссылке: https://bitcointalksearch.org/topic/m.88407