Moses Support Digest: moses-chart error while compiling training scripts
[Moses-support] moses-chart: error while compiling training scripts
I’ve got the following error message when compiling the training scripts from the moses-chart trunk:
g++ tables-core.o extract.o SyntaxTree.o XmlTree.o -o extract
extract.o: In function `printAllHieroPhrases(SentenceAlignment&, int,
int, int, int, HoleCollection&)’:
moses-chart/scripts/training/phrase-extract/extract.cpp:561: undefined
reference to `HoleCollection::SortSourceHoles()’
collect2: ld returned 1 exit status
make[1]: *** [extract] Error 1
make[1]: Leaving directory `moses-chart/scripts/training/phrase-extract’
make: *** [compile] Error 1
Does anyone know what the problem is?
Thanks!
Jörg
Re:[Moses-support] moses-chart: error while compiling training scripts
hi joerg
svn up 1 more time. i forgot to check in the makefile
Re:[Moses-support] moses-chart: error while compiling training scripts
Hi Joerg,
it seems there’s a bug in scripts/training/phrase-extract/Makefile. You need to add “HoleCollection.o” to the compile line and dependencies of “extract”:
extract: tables-core.o [...] HoleCollection.o extract.h
g++ tables-core.o [...] HoleCollection.o -o extract
at least that’s what I did …
best regards
Christof
NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.
Related posts:
- Moses Support Digest:compiling moses 3 chart
- Moses Support Digest:Moses Error in training phrase
- Moses Support Digest:Error compiling on Linux
- Moses Support Digest: About mert-moses in mose-chart
- Moses Support Digest:about the moses-chart reordering
- Moses Support Digest: compiling on Mac
- Moses Support Digest:mt3_chart compilation error
- Moses Support Digest: About moses-chart
- Moses Support Digest: experiment management system and Moses scripts
- Moses Support Digest:GIZA++ error