[SRILM User List] Difficulty installing SRILM
anil krishna eragani
eragani at gmail.com
Thu Dec 29 21:22:49 PST 2011
uname -a
Linux anil-laptop 2.6.40.6-0.fc15.i686.PAE #1 SMP Tue Oct 4 00:44:38 UTC
2011 i686 i686 i386 GNU/Linux
gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)
make[2]: Entering directory `/home/eragani/Documents/Nlp_
Tools/srilm/misc/src'
gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable -Wno-uninitialized
-D_FILE_OFFSET_BITS=64 -I/usr/include -I. -I../../include -c -g -O3 -o
../obj/i686/option.o option.c
In file included from /usr/include/time.h:4:0,
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:320,
from option.c:23:
/usr/include/v8.h:79:1: error: unknown type name ‘namespace’
/usr/include/v8.h:79:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
In file included from /usr/include/sys/types.h:133:0,
from /usr/include/stdlib.h:320,
from option.c:23:
/usr/include/time.h:6:1: error: unknown type name ‘namespace’
/usr/include/time.h:6:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
option.c:34:57: error: unknown type name ‘time_t’
option.c: In function ‘Opt_Parse’:
option.c:195:5: warning: implicit declaration of function ‘ParseTime’
[-Wimplicit-function-declaration]
option.c:196:9: error: ‘time_t’ undeclared (first use in this function)
option.c:196:9: note: each undeclared identifier is reported only once for
each function it appears in
option.c:196:17: error: expected expression before ‘)’ token
option.c: At top level:
option.c:400:5: error: unknown type name ‘time_t’
make[2]: *** [../obj/i686/option.o] Error 1
make[2]: Leaving directory
`/home/eragani/Documents/Nlp_Tools/srilm/misc/src'
make[1]: *** [release-libraries] Error 1
make[1]: Leaving directory `/home/eragani/Documents/Nlp_Tools/srilm'
make: *** [World] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20111230/60bb2551/attachment.html>
More information about the SRILM-User
mailing list