Bitcointalk

Is there a way to automate bitcoin payments for a website?

中本聪 · 2010 年 5 月 18 日

SN-0502 已核对来源,附原文与上下文。

阅读语言

回得有点晚,但万一别人也遇到同样的问题。编译输出有 2 条警告(各长达 20 行)和 2 个链接错误。错误是:

A little late, but in case anyone else has the same issue. The compile dump had 2 warnings (that were 20 lines long) and 2 link errors. The errors were:

引用 · 发言者未注明

obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x13): In function `wxArrayString::Item(unsigned long) const':

obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x13): In function `wxArrayString::Item(unsigned long) const':

/usr/local/include/wx-2.9/wx/buffer.h:42: undefined reference to `wxTheAssertHandler'

/usr/local/include/wx-2.9/wx/buffer.h:42: undefined reference to `wxTheAssertHandler'

obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x45): In function `wxArrayString::Item(unsigned long) const':

obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x45): In function `wxArrayString::Item(unsigned long) const':

/usr/src/bitcoin/trunk/uint256.h:526: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)'

/usr/src/bitcoin/trunk/uint256.h:526: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)'

中本聪回应

那多半是因为换用了 wxWidgets 的 release 构建而非 debug。他们正走向只保留 debug 构建、抛弃 release 构建,所以他们大概不在乎自己的 release 构建引用了不存在的断言东西而坏掉。debug 构建没什么可怕的,完全适合发布。

Those are probably due to switching to the release build of wxWidgets instead of debug. They're moving towards only debug build and ditching the release build, so they probably don't care that their release build is broken by referring to non-existent assert stuff. There's nothing to fear about the debug build. It's fully suitable for releases.

bitcoind 以守护进程方式运行,可以用命令行或 JSON-RPC 控制。

bitcoind runs as a daemon and can either be controlled by command line or JSON-RPC.

感谢 madhatter 和 generica 详细写出 freebsd 上的构建说明。

Thanks madhatter and generica for detailing the instructions for building on freebsd.

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0502

阅读字号

选择适合你的字号,之后阅读会继续使用。