compilation problems

marco turchi marco.turchi at gmail.com
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
problems.
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 FDiscount.cc
Lattice.cc ngram.cc fngram-count.cc lattice-tool.cc

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 DFNgram.cc
Trellis.h:203: sorry, not implemented: use of `enumeral_type' in template
type
   unification

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: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20070106/e4d56696/attachment.html>


More information about the SRILM-User mailing list