Thanks, you set me on the right track: I changed the GCC_FLAGS parameter in Makefile.machine.i686 to this (removed mtune): GCC_FLAGS = -Wreturn-type -Wimplicit
2010/2/22 Dimitris Mavroeidis <[email protected]> > Also, > > Apparently, you should not trust srilm's "machine-type" script (that is > also used in moses make files) for some types of 64-bit processors. You > should edit the moses' "configure" file, and comment the following line: > > # MY_ARCH=`${with_srilm}/sbin/machine-type` > > Replacing it with this one: > > MY_ARCH="i686-m64" > > Then, run "configure", "regenerate" and "make" again. > > It solved the problem for me, > Hope it solves it for you, > Dimitris > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Miles Osborne > Sent: Monday, February 22, 2010 1:56 PM > To: Marce van Velden > Cc: [email protected] > Subject: Re: [Moses-support] skipping incompatible liboolm.a > > this is a standard error. you need to build SRILM using 64-bit > support (i686-m64) > > Miles > > On 22 February 2010 11:40, Marce van Velden <[email protected]> > wrote: > > Hi, > > I get the folowing error when trying to compile moses on a intel64 pc. > What > > could cause the liboolm.a to be incompatible? > > (/usr/bin/ld: skipping incompatible > /home/marce/srilm64/lib/i686/liboolm.a > > when searching for -loolm) > > ma...@moses:~/moses/trunk$ sudo make > > make all-recursive > > make[1]: Entering directory `/home/marce/moses/trunk' > > Making all in moses/src > > make[2]: Entering directory `/home/marce/moses/trunk/moses/src' > > make all-am > > make[3]: Entering directory `/home/marce/moses/trunk/moses/src' > > make[3]: Nothing to be done for `all-am'. > > make[3]: Leaving directory `/home/marce/moses/trunk/moses/src' > > make[2]: Leaving directory `/home/marce/moses/trunk/moses/src' > > Making all in moses-cmd/src > > make[2]: Entering directory `/home/marce/moses/trunk/moses-cmd/src' > > g++ -g -O2 -L/home/marce/srilm64/lib/i686 -o moses Main.o mbr.o > > IOWrapper.o TranslationAnalysis.o LatticeMBR.o -L../../moses/src -lmoses > > -L/usr/include/boost/lib -lboost_thread-mt -loolm -ldstruct -lmisc -lz > > /usr/bin/ld: skipping incompatible /home/marce/srilm64/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 `/home/marce/moses/trunk/moses-cmd/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/marce/moses/trunk' > > make: *** [all] Error 2 > > Thanks, > > Marce > > _______________________________________________ > > Moses-support mailing list > > [email protected] > > http://mailman.mit.edu/mailman/listinfo/moses-support > > > > > > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > _______________________________________________ > 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
