Hi Christopher, when I tried to build srilm on a amd64 machine running Linux, I found that srilm used the "common/Makefile.machine.i686" Makefile. This, in turn, defines compiler flags "GCC_FLAGS = -m32 -mtune=pentium3 -W...." I removed the "-m32 -mtune=pentium" from the flags to build regular 64 bit code. After that I could link the result to moses quite fine.
hope that helps Christof christopher taylor wrote: > hello everyone! > > i'm currently trying to build an instance of moses to support > crisiscommons.org's machine translation project (i'm currently the > PM). > > i really want to give moses a spin *but* i'm having issues building it. > > my build trouble is related to liboolm.a - here's out put from my compilation: > > Making all in moses-cmd/src > make[2]: Entering directory `../mt/moses/moses-cmd/src' > g++ -g -O2 -L..//mt/srilm/lib/i686 -L..//mt/irstlm//lib/x86_64 -o > moses Main.o mbr.o IOWrapper.o TranslationAnalysis.o > -L../../moses/src -lmoses -loolm -ldstruct -lmisc -lirstlm -lz > /usr/bin/ld: skipping incompatible ../mt/srilm/lib/i686/liboolm.a when > searching for -loolm > /usr/bin/ld: cannot find -loolm > collect2: ld returned 1 exit status > make[2]: *** [moses] Error 1 > make[2]: Leaving directory `..//mt/moses/moses-cmd/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `..//mt/moses' > make: *** [all] Error 2 > > thanks so much for your help! > > chris taylor > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support