Hi again Rico, I've succeeded in building SALM thanks to you. I got the same error message as you. Successfully built sigtest-filter as well. Will proceed with next step. Yours, Per Tunedal
On Thu, Apr 4, 2013, at 14:48, Rico Sennrich wrote: > 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 _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
