Skip to content

回复:*** 警报 *** 请尽快升级到 0.3.6! ​

原始发布页

打开来源页面
查看 1 个交叉存档

引用 lachesis 于 2010 年 7 月 29 日 10:14:36 PM 的发言

在 32 位 Debian testing 上,我遇到了一些构建错误,看起来都像这样:

代码:

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。我还以为自己已经很小心,没有接受任何更新了。

英文原文 ​

展开英文原文

Quote from: lachesis on July 29, 2010, 10:14:36 PM

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.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。