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?