1

我正在尝试使用它的源代码编译一个程序,但我也做不到,而且问题似乎每次都发生在同一个文件夹中,当我检查文件时,它们都是客观的 c 语言,可能是我缺少库或程序?如果是这样,它们可能是哪一个?我尝试在网上和这里进行研究,但我发现的只是 gcc 和 g++ 上的东西,但我已经安装了这两个库以及 boost 库,这是该程序的另一个先决条件。以下是我得到的一些命令行输出:

        "g++"    -o "phrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/pcfg-score" -Wl,--start-group "phrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/pcfg_score.o" "phrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/main.o" "phrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/tree_scorer.o" "phrase-extract/pcfg-common/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/libpcfg_common.a"  -Wl,-Bstatic -lboost_program_options-mt -lboost_system-mt -lboost_thread-mt -Wl,-Bdynamic -lSegFault -lrt -Wl,--end-group -g -pthread 


...failed gcc.link phrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/pcfg-score...
...skipped <p/home/rowe/Moses/bin>moses_chart for lack of <pmoses-chart-cmd/src/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses_chart...
...skipped <p/home/rowe/Moses/bin>moses for lack of <pmoses-cmd/src/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>moses...
...skipped <p/home/rowe/Moses/bin>lmbrgrid for lack of <pmoses-cmd/src/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>lmbrgrid...
...skipped <p/home/rowe/Moses/bin>CreateOnDiskPt for lack of <pOnDiskPt/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>CreateOnDiskPt...
...skipped <p/home/rowe/Moses/bin>queryOnDiskPt for lack of <pOnDiskPt/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>queryOnDiskPt...
...skipped <p/home/rowe/Moses/bin>pro for lack of <pmert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>pro...
...skipped <p/home/rowe/Moses/bin>kbmira for lack of <pmert/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>kbmira...
common.copy /home/rowe/Moses/bin/processPhraseTable
...skipped <p/home/rowe/Moses/bin>processLexicalTable for lack of <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>processLexicalTable...
common.copy /home/rowe/Moses/bin/queryPhraseTable
...skipped <p/home/rowe/Moses/bin>queryLexicalTable for lack of <pmisc/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>queryLexicalTable...
...skipped <p/home/rowe/Moses/bin>extract-ghkm for lack of <pphrase-extract/extract-ghkm/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>extract-ghkm...
...skipped <p/home/rowe/Moses/bin>pcfg-extract for lack of <pphrase-extract/pcfg-extract/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>pcfg-extract...
...skipped <p/home/rowe/Moses/bin>pcfg-score for lack of <pphrase-extract/pcfg-score/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>pcfg-score...
common.copy /home/rowe/Moses/lib/libLM.a
...failed updating 12 targets...
...skipped 12 targets...
...updated 8 targets...
4

0 回答 0