Search SRILM-USER Archives

Match: Format: Sort by:
Search:

problems compiling on alpha

From: "Twitchell, Doug" <dtwitchell at ADDRESS HIDDEN>
Date: Wed, 26 Jan 2005 10:33:10 -0700

I attempting to compile srilm on the following machine:

Machine: HP/Compaq Alpha GS1280
OS: Tru64 Unix
Compiler: gcc 3.4.3
Make:  GNU make 3.80

Everything compiles cleanly except the "ngram" executable (which, of
course, is one that I need to use).  

This is the error it returns during the make:

g++ -mieee-with-inexact -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES
-I~/tcl/generic -I. -I/home4/u12/dtwitche/srilm/include   -u matherr
-L/home4/u12/dtwitche/srilm/lib/alpha  -g3 -O2 -o ../bin/alpha/ngram
../obj/alpha/ngram.o -L/home4/u12/dtwitche/srilm/lib/alpha
../obj/alpha/liboolm.a -lm -lflm -ldstruct -lmisc -L~/tcl/unix -ltcl -lm
2>&1 | c++filt
/usr/bin/ld:
../obj/alpha/liboolm.a(CacheLM.o): LHash<unsigned int,
double>::removedData: multiply defined
../obj/alpha/liboolm.a(CacheLM.o): global constructors keyed to
_ZN5LHashIjdE11removedDataE: multiply defined
../obj/alpha/liboolm.a(CacheLM.o): global destructors keyed to
_ZN5LHashIjdE11removedDataE: multiply defined
../obj/alpha/liboolm.a(CacheLM.o):
_GLOBAL__F__ZN5LHashIjdE11removedDataE: multiply defined
collect2: ld returned 1 exit status

Any ideas on how to resolve this?

Thanks,

Doug

Click here to go to the SRILM home page.