Per Tunedal <per.tunedal@...> writes: > Unfortunately, my efforts to build SALM have failed. I tried building > according to the instructions in the SALM readme file: > make allO64 > > and got the following error: > > g++ -c -O -m64 -I../../Src/Shared -I../../Src/SuffixArrayApplications > -I../../Src/SuffixArrayApplications/SuffixArraySearch > -I../../Src/SuffixArrayApplications/SuffixArrayScan -I../../Src/Utils > -I../../Src/SuffixArrayApplications/SuffixArrayLanguageModel -o > Objs/Index/IndexSA.o64 ../../Src/IndexSA/IndexSA.cpp > ../../Src/IndexSA/IndexSA.cpp: In function ‘int main(int, char**)’: > ../../Src/IndexSA/IndexSA.cpp:46: error: ‘strcmp’ was not declared in > this scope > make: *** [Objs/Index/IndexSA.o64] Fel 1 > > Legend: 'Fel 1' = 'Error 1' (I get some error messages in Swedish.)
Try Jonathan Clark's repository, which fixes the compilation issues: https://github.com/jhclark/salm (it still stops with an error message for me [no rule to make target `../../Bin/Linux/Search/SampleNGramIns.O64'], but the necessary binary is successfully compiled (salm/Bin/Linux/Index/IndexSA.*) _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
