<div>Hi Russel,</div>
<div>you are right I&#39;ve gcc 3.2.3. It is not a good new. :-)</div>
<div>Where can I find all the other messages of this mailing list?</div>
<div>&nbsp;</div>
<div>Thanks </div>
<div>Marco<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/7/07, <b class="gmail_sendername">Russell Sheptak</b> &lt;<a href="mailto:rus@sonic.net">rus@sonic.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Check which version of GCC you&#39;re using.&nbsp;&nbsp;I suspect it is version 3.x<br>(a simple gcc --version should give you the info you need).&nbsp;&nbsp; I think
<br>you need gcc 4 to successfully compile it on linux.<br><br>rus<br><br><br><br>On Jan 7, 2007, at 6:06 AM, marco turchi wrote:<br><br>&gt; Dear Sanyaade,<br>&gt; I&#39;m working under Linux.<br>&gt; I move srilm in my home directory, but I obtain the same errors. :-(
<br>&gt; <br>&gt; Thanks<br>&gt; Marco<br>&gt;<br>&gt; <br>&gt; On 1/7/07, sanyaade &lt;<a href="mailto:sanyaade@hotmail.com">sanyaade@hotmail.com</a>&gt; wrote: What platform are<br>&gt; you on -&gt; Windows, Linux, Unix, etc..
<br>&gt;&gt; <br>&gt;&gt; If you are on windows then its got to be in your root directory -&gt;<br>&gt;&gt; c:\srilm (Cygwin installed)<br>&gt;&gt; <br>&gt;&gt; On linux put it in your home /home/srilm or on root -&gt; /srilm
<br>&gt;&gt; then do: set 1.) srlim home variable inside the Makefile and 2.) make<br>&gt;&gt; world<br>&gt;&gt; <br>&gt;&gt; Hope this help!<br>&gt;&gt; <br>&gt;&gt; God blesses!!!<br>&gt;&gt; <br>&gt;&gt; Best regards,<br>
&gt;&gt;<br>&gt;&gt; Sanyaade<br>&gt;&gt;<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;&gt; ----- Original Message -----<br>&gt;&gt;&gt; From: marco turchi<br>&gt;&gt;&gt; To: <a href="mailto:srilm-user@speech.sri.com">srilm-user@speech.sri.com
</a><br>&gt;&gt;&gt; Sent: Saturday, January 06, 2007 8:24 PM<br>&gt;&gt;&gt; Subject: compilation problems<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; <br>&gt;&gt;&gt; Dear all,<br>&gt;&gt;&gt; I&#39;m a new user, and I&#39;m trying to compile and install it, but I have
<br>&gt;&gt;&gt; some problems.<br>&gt;&gt;&gt; I set the srlim home variable inside the Makefile, and I run make<br>&gt;&gt;&gt; World, but I obtain this set of errors:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; /enm/local/bin/gcc -mtune=i686 -Wreturn-type -Wimplicit
<br>&gt;&gt;&gt; -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/Moses/srilm//include -c<br>&gt;&gt;&gt; -g -O3 -o ../obj/i686/option.o option.c<br>&gt;&gt;&gt; cc1: invalid option `tune=i686&#39;<br>&gt;&gt;&gt; make[2]: *** [../obj/i686/option.o] Error 1
<br>&gt;&gt;&gt; I have the same error for other files: qsort.c matherr.c<br>&gt;&gt;&gt; FDiscount.cc Lattice.cc ngram.cc fngram-count.cc lattice-tool.cc<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I try to change the mtune variable without good result, so I remove
<br>&gt;&gt;&gt; this flag. Using this brute solution, I&#39;m able to compile quite all<br>&gt;&gt;&gt; the files, but I have other errors<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; /enm/local/bin/g++ -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES
<br>&gt;&gt;&gt; -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/Moses/srilm//include -c<br>&gt;&gt;&gt; -g -O3 -o ../obj/i686/DFNgram.o DFNgram.cc<br>&gt;&gt;&gt;&nbsp;&nbsp;Trellis.h:203: sorry, not implemented: use of `enumeral_type&#39; in
<br>&gt;&gt;&gt; template type<br>&gt;&gt;&gt; unification<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; make[2]: *** [../obj/i686/DFNgram.o] Error 1<br>&gt;&gt;&gt; make[2]: Leaving directory `/usr/local/Moses/srilm/lm/src&#39;<br>&gt;&gt;&gt; make[2]: Entering directory `/usr/local/Moses/srilm/flm/src&#39;
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; make[2]: *** No rule to make target<br>&gt;&gt;&gt; `/usr/local/Moses/srilm//lib/i686/liboolm.a&#39;, needed by<br>&gt;&gt;&gt; `../bin/i686/lattice-tool&#39;. Stop.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; can you help me??
<br>&gt;&gt;&gt; Please, can you tell me where I can find all the other messages of<br>&gt;&gt;&gt; the mailing list?<br>&gt;&gt;&gt; Thanks a lot<br>&gt;&gt;&gt; Marco Turchi<br><br></blockquote></div><br>