compilation problems

marco turchi marco.turchi at
Sat Jan 6 12:24:15 PST 2007

Dear all,
I'm a new user, and I'm trying to compile and install it, but I have some
I set the srlim home variable inside the Makefile, and I run make World, but
I obtain this set of errors:

/enm/local/bin/gcc -mtune=i686 -Wreturn-type -Wimplicit
-D_FILE_OFFSET_BITS=64   -I. -I/usr/local/Moses/srilm//include   -c -g -O3
-o ../obj/i686/option.o option.c
cc1: invalid option `tune=i686'
make[2]: *** [../obj/i686/option.o] Error 1
I have the same error for other files: qsort.c matherr.c

I try to change the mtune variable without good result, so I remove this
flag. Using this brute solution, I'm able to compile quite all the files,
but I have other errors

/enm/local/bin/g++ -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES
-D_FILE_OFFSET_BITS=64    -I. -I/usr/local/Moses/srilm//include   -c -g -O3
-o ../obj/i686/DFNgram.o
Trellis.h:203: sorry, not implemented: use of `enumeral_type' in template

make[2]: *** [../obj/i686/DFNgram.o] Error 1
make[2]: Leaving directory `/usr/local/Moses/srilm/lm/src'
make[2]: Entering directory `/usr/local/Moses/srilm/flm/src'

make[2]: *** No rule to make target
`/usr/local/Moses/srilm//lib/i686/liboolm.a', needed by
`../bin/i686/lattice-tool'.  Stop.

can you help me??
Please, can you tell me where I can find all the other messages of the
mailing list?
Thanks a lot
Marco Turchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the SRILM-User mailing list