[SRILM User List] problem installing ubuntu 11.10

Xichuan Wu wuxichuan.go at gmail.com
Sat Nov 19 10:00:59 PST 2011


Hi Simon,

I made it recently on Ubuntu 11.10. Here is a suggestion can follow:
1. In this file /common/Makefile.machine.$MACHINE_TYPE, change
GCC_FLAGS = -march=athlon64 -m64 -Wall -Wno-unused-variable
-Wno-uninitialized
to
GCC_FLAGS = -march=athlon64 -m64 -Wall -Wno-unused-variable
-Wno-uninitialized -fPIC
then, run with command: make MAKE_PIC=yes MACHINE_TYPE=$MACHINE_TYPE World
Note that 1) here $MACHINE_TYPE refers to your machine type (you can try
either "i686-m64" or "i686-ubuntu"); 2) before the make command, you might
need to use "make clean" to clean what's left from previous compile.
2. consult "Joshua technical support" googlegroup and you will find more
info.
Good luck!
Xichuan
On Sat, Nov 19, 2011 at 4:13 PM, Simon h s <d_emps at yahoo.com> wrote:

> Dear all,
>
> I have a problem when compiling SRILM in Ubuntu 11.10
>
> after installing all required package mentioned in INSTALL, I have the
> following error when running make World:
>
> make[2]: Entering directory
> `/home/ndriks/Thesis/tools/atools/srilm/misc/src'
> /usr/bin/gcc -march=athlon64 -m64 -Wall -Wno-unused-variable
> -Wno-uninitialized -D_FILE_OFFSET_BITS=64   /usr/include/tcl8.5/tcl.h -I.
> -I../../include   -c -g -O3 -o ../obj/i686/option.o option.c
> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
> compilation terminated.
> make[2]: *** [../obj/i686/option.o] Error 4
> make[2]: Leaving directory
> `/home/ndriks/Thesis/tools/atools/srilm/misc/src'
> make[1]: *** [release-libraries] Error 1
> make[1]: Leaving directory `/home/ndriks/Thesis/tools/atools/srilm'
> make: *** [World] Error 2
>
> full error is attached.
>
> FYI I'm using srilm 1.5.12
>
> Please help?
> Thanks before
>
> --
> Simon H S
>
> _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/mailman/listinfo/srilm-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20111119/3da7557c/attachment.html>


More information about the SRILM-User mailing list