原始文献 / 论坛帖 / Re: *** ALERT *** Upgrade to 0.3.6 ASAP!

Re: *** ALERT *** Upgrade to 0.3.6 ASAP!

Bitcointalk · 2010-07-29 23:12:12 UTC

AuthorSatoshi Nakamoto
TitleRe: *** ALERT *** Upgrade to 0.3.6 ASAP!
Date2010-07-29 23:12:12 UTC
ForumBitcointalk · 原文

【引用 lachesis 于 2010年7月29日 22:14:36(https://bitcointalk.org/index.php?topic=626.msg6515#msg6515)】

"在 32 位 Debian testing 上,我遇到几个构建错误,都类似这样:
Code:"
script.cpp:114: error: ‘OP_NOP1’ was not declared in this scope
我在没有先执行 "make clean" 或 "make" 的情况下尝试 "make bitcoind" 时也遇到过这些错误。看起来 bitcoind 的构建说明没有先编译头文件,但也没有删除 headers.h.gch,所以如果存在旧的头文件就会继续用旧的。

如果还有人遇到这个错误,最简单的办法是执行 "make clean" 后重新构建。

我们其实并不需要预编译头文件。它只让编译稍微快一点。我想干脆把它去掉。即便如此,你还是得记住再执行一次 "make -f makefile.unix clean" 或删除 headers.h.gch,才能把残留文件清掉。

该死的 GLIBC_2.11。我还以为自己已经小心地拒绝了所有更新。

英文原文

【引用 lachesis on July 29, 2010, 10:14:36 PM(https://bitcointalk.org/index.php?topic=626.msg6515#msg6515)】

"On Debian testing 32-bit, I get a few build errors, all resembling:
Code:"
script.cpp:114: error: ‘OP_NOP1’ was not declared in this scope
I got these when attempting to "make bitcoind" without "make clean" or "make" first. It looks like the bitcoind build instructions don't compile the headers first, but they also don't delete the headers.h.gch, so the old headers are used if present.

If anyone else gets this error, the simplest solution is to "make clean" and retry the build.

We don't really need pre-compiled header. It only makes it compile slightly faster. I think I'll just get rid of it. Even still, you'd still need to remember to "make -f makefile.unix clean" or delete headers.h.gch one more time to get rid of the leftover file.

Damn that GLIBC_2.11. I thought I'd been careful not to accept any of the updates.