aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] aspell-0.60 Compile Problem: undefined reference


From: Kevin Atkinson
Subject: Re: [Aspell-user] aspell-0.60 Compile Problem: undefined reference
Date: Wed, 9 Nov 2005 15:06:16 -0700 (MST)

On Wed, 9 Nov 2005, Richard Plana wrote:

I've tried to compile aspell-0.60.[34] and I keep hitting the following
compile problem when trying to compile the 'aspell' program. I'm using
gcc-c++-4.0.1:

make[1]: Entering directory `/home/rplana/src/aspell-0.60.4'
/bin/sh ./libtool --tag=CXX --mode=link g++  -march=pentium4 -O3 -pipe
-fomit-frame-pointer -fno-exceptions   -o aspell  prog/aspell.o
prog/check_funs.o prog/checker_string.o libaspell.la -lncursesw -ldl
-ldl
g++ -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions
-o .libs/aspell prog/aspell.o prog/check_funs.o
prog/checker_string.o  ./.libs/libaspell.so -lncursesw -ldl -Wl,--rpath
-Wl,/opt/aspell-0.60/lib
./.libs/libaspell.so: undefined reference to
`acommon::HashTable<acommon::StringMap::Parms>::init(unsigned int)'
./.libs/libaspell.so: undefined reference to
`acommon::HashTable<acommon::StringMap::Parms>::del()'
./.libs/libaspell.so: undefined reference to
`acommon::BlockSList<acommon::StringPair>::clear()'
collect2: ld returned 1 exit status

My C++ is a little rusty. Where are those methods defined? Why can't the
linker find them in the above case?

You probably need to stick in a few explicit template institutions.

What system are you using.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]