| |
Search SRILM-USER Archives
Re: pls help (urgent)
From: Alexandre Patry <patryale at ADDRESS HIDDEN>
Date: Tue, 04 Apr 2006 23:15:21 -0400
Hi,
you have specified the path to the libraries, but you did not specify
that the compiler should link against them. In your makefile, if you
change the line:
libs=-L$(libdir)
for:
libs=-L$(libdir) -loolm -lmisc -ldstruct
it should work.
Good luck,
Alexandre
Le mardi 04 avril 2006 à 15:10 -0700, GholamReza Haffari a écrit :
> Hi there,
>
> Currently I am trying to get the srilm working but I have a problem: when I
> use "make" to compile and build the attached sample file, it gives me some
> error messages. It seems to me that the libs of the sri toolkit may not be
> installed properly in my machine. currently in the lib directory the
> following files and directory exist:
>
> i386-solaris_m
> i686\libdstruct.a
> i686\liblattice.a
> i686\libmisc.a
> i686\liboolm.a
>
> Is everything fine? Would you please help me to find out where the problem
> is?
> thanks,
> -Reza
>
> PS. for more reference I have copied the error messages here:
>
> /tmp/cc7U0zaO.o(.text+0xc3): In function `main':
> : undefined reference to `File::File(char const*, char const*, int)'
> /tmp/cc7U0zaO.o(.text+0xdf): In function `main':
> : undefined reference to `File::File(char const*, char const*, int)'
> /tmp/cc7U0zaO.o(.text+0xf5): In function `main':
> : undefined reference to `File::getline()'
> /tmp/cc7U0zaO.o(.text+0x11d): In function `main':
> : undefined reference to `Vocab::parseWords(char*, char const**, unsigned
Click here to go to the SRILM home page.
|
|