compilation problems
marco turchi
marco.turchi at gmail.com
Sun Jan 7 11:44:54 PST 2007
Hi Russel,
you are right I've gcc 3.2.3. It is not a good new. :-)
Where can I find all the other messages of this mailing list?
Thanks
Marco
On 1/7/07, Russell Sheptak <rus at sonic.net> wrote:
>
> Check which version of GCC you're using. I suspect it is version 3.x
> (a simple gcc --version should give you the info you need). I think
> you need gcc 4 to successfully compile it on linux.
>
> rus
>
>
>
> On Jan 7, 2007, at 6:06 AM, marco turchi wrote:
>
> > Dear Sanyaade,
> > I'm working under Linux.
> > I move srilm in my home directory, but I obtain the same errors. :-(
> >
> > Thanks
> > Marco
> >
> >
> > On 1/7/07, sanyaade <sanyaade at hotmail.com> wrote: What platform are
> > you on -> Windows, Linux, Unix, etc..
> >>
> >> If you are on windows then its got to be in your root directory ->
> >> c:\srilm (Cygwin installed)
> >>
> >> On linux put it in your home /home/srilm or on root -> /srilm
> >> then do: set 1.) srlim home variable inside the Makefile and 2.) make
> >> world
> >>
> >> Hope this help!
> >>
> >> God blesses!!!
> >>
> >> Best regards,
> >>
> >> Sanyaade
> >>
> >>
> >>
> >>> ----- Original Message -----
> >>> From: marco turchi
> >>> To: srilm-user at speech.sri.com
> >>> Sent: Saturday, January 06, 2007 8:24 PM
> >>> Subject: compilation problems
> >>>
> >>>
> >>> 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/20070107/2261d4b8/attachment.html>
More information about the SRILM-User
mailing list