2014-03-26 28 views
0

我想在我的小牛機器上使用臭名昭着的「znort」blockparser,但到目前爲止我無法編譯它。 我卡在製備步驟。 如果我離開makefile文件不變,我得到以下錯誤:在小牛編譯znorts blockparser - 出錯

c++ -- cb/allBalances.cpp 
c++ -- callback.cpp 
c++ -- cb/closure.cpp 
c++ -- cb/dumpTX.cpp 
c++ -- cb/help.cpp 
c++ -- opcodes.cpp 
c++ -- option.cpp 
c++ -- parser.cpp 
clangclangclang: : : clang: clang: clang: clang: clang: error: error: error: error: error:  error: error: error: unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard- error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future] 

clangclang: : notenote: : this will be a hard error (cannot be downgraded to a warning) in the futurethis will be a hard error (cannot be downgraded to a warning) in the future 


clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future 
make: *** [.objs/parser.o] Error 1 
make: *** Waiting for unfinished jobs.... 
make: *** [.objs/allBalances.o] Error 1 
make: *** [.objs/option.o] Error 1 
make: *** [.objs/opcodes.o] Error 1 
make: *** [.objs/dumpTX.o] Error 1 
make: *** [.objs/closure.o] Error 1 
make: *** [.objs/callback.o] Error 1 
make: *** [.objs/help.o] Error 1 

當我改變CPLUS海灣合作委員會(而不是G ++),並註釋掉COPT線,我得到一個編譯錯誤文件「谷歌/密集哈希映射未找到「。

...你可能已經猜到了,我無法編譯它們太...

我現在咬我的舌頭了兩天,所以任何幫助將不勝感激!

回答

0

我看到GitHub上這個問題,它建議你運行sudo apt-get install sparsehash來糾正錯誤。還沒有嘗試過,但我希望它有幫助。

https://github.com/znort987/blockparser/issues/2

+0

嗨,Anwell,謝謝你的建議!我真的很想安裝sparsehash。 ...但也有一些其他的小故障。無論如何,在鏈接時遇到很多麻煩後終於成功了。 –