首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装namecoin时,此错误意味着什么?

安装namecoin时,此错误意味着什么?
EN

Unix & Linux用户
提问于 2011-06-11 12:22:33
回答 1查看 935关注 0票数 3

我正在尝试设置namecoin,但是在运行makefile.unix时会出现以下错误:

代码语言:javascript
复制
$ g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o obj/nogui/net.o net.cpp

In file included from net.cpp:10:
/usr/include/miniupnpc/upnpcommands.h:11:30: error: portlistingparse.h: No such file or directory
/usr/include/miniupnpc/upnpcommands.h:13:28: error: miniupnpctypes.h: No such file or directory
In file included from net.cpp:10:
/usr/include/miniupnpc/upnpcommands.h:25: error: ‘UNSIGNED_INTEGER’ does not name a type
/usr/include/miniupnpc/upnpcommands.h:29: error: ‘UNSIGNED_INTEGER’ does not name a type
/usr/include/miniupnpc/upnpcommands.h:33: error: ‘UNSIGNED_INTEGER’ does not name a type
/usr/include/miniupnpc/upnpcommands.h:37: error: ‘UNSIGNED_INTEGER’ does not name a type
/usr/include/miniupnpc/miniupnpc.h: In function ‘void ThreadMapPort2(void*)’:
/usr/include/miniupnpc/miniupnpc.h:53: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)’
net.cpp:906: error: at this point in file
/usr/include/miniupnpc/upnpcommands.h:117: error: too few arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’
net.cpp:920: error: at this point in file
make: *** [obj/nogui/net.o] Error 1

我认为问题可能是伯克利DB,但我不知道如何检查。有人知道吗?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2011-06-17 04:48:40

亚历克斯的评论是正确的,最新的迷你电脑坏了。但是,您可以在这里使用工作版本:http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.5.tar.gz,然后namecoind会编译得很好。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/14818

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档