Divider
  Speech Technology and Research Laboratory
  People
  Current Research Activities
  Past Research Activities
  Publications
  Career Opportunities
  Seminars
  Technologies for License
  In the News
  Contact Us
  STAR Search
  Information and Computing Sciences Division
SpacerAbout UsDividerR and D DivisionsDividerCareersDividerNewsroomDividerContact UsDividerSRI HomeSpacer

Spacer
         
  SRI Logo

Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: SRILM and GCC 4.1.1

From: Andreas Stolcke <stolcke at ADDRESS HIDDEN>
Date: Tue, 31 Oct 2006 11:36:14 PST

make sure the c++ compiler is invoked with

-DINSTANTIATE_TEMPLATES

If it is then there seems to be a strange problem with your linker or
compiler installation that I cannot reproduce.

--Andreas

In message <fcaeb9bf0610311105x32325a33tc910a5c4a19460cd at ADDRESS HIDDEN>you wro
te:
> On 11/1/06, Andreas Stolcke <stolcke at ADDRESS HIDDEN> wrote:
> > $SRILM/common/Makefile.machine.i686-gcc4
> Thank you. After setting MACHINE_TYPE=i686-gcc4, I still got errors:
>
> make[2]: Entering directory `/home/pclouds/tmp/srilm/lm/src'
> /usr/bin/g++    -I. -I/home/pclouds/tmp/srilm/include   -u matherr
> -L/home/pclouds/tmp/srilm/lib/i686-gcc4  -g -O3 -o
> ../bin/i686-gcc4/ngram ../obj/i686-gcc4/ngram.o
> ../obj/i686-gcc4/liboolm.a -lm -ldl
> /home/pclouds/tmp/srilm/lib/i686-gcc4/libflm.a
> /home/pclouds/tmp/srilm/lib/i686-gcc4/libdstruct.a
> /home/pclouds/tmp/srilm/lib/i686-gcc4/libmisc.a -ltcl -lm 2>&1 |
> c++filt
> ../obj/i686-gcc4/liboolm.a(Vocab.o): In function `LHash<char const*,
> unsigned int>::remove(char const*, bool&)':
> /home/pclouds/tmp/srilm/include/LHash.cc:416: undefined reference to
> `LHash<char const*, unsigned int>::removedData'
> /home/pclouds/tmp/srilm/include/LHash.cc:417: undefined reference to
> `LHash<char const*, unsigned int>::removedData'
> /home/pclouds/tmp/srilm/include/LHash.cc:424: undefined reference to
`LHash<char const*, unsigned int>::removedData'
> /home/pclouds/tmp/srilm/include/LHash.cc:473: undefined reference to
> `LHash<char const*, unsigned int>::removedData'
>
> I'm using SRILM 1.5.0
>
> > Andreas
> >
> >
>
>
> --
> Duy

Click here to go to the SRILM home page.

 

About Us  Vertical divider  R&D Divisions  Divider  Careers  Divider  Newsroom  Divider  Contact Us
©2006 SRI International, 333 Ravenswood Avenue, Menlo Park, CA 94025-3493
SRI International is an independent, nonprofit corporation. Privacy policy

Last modified Dec 02, 2008