[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Aspell linking failure
From:       George Karas <gkaras () mail ! jpl ! nasa ! gov>
Date:       2005-07-01 18:48:40
Message-ID: 42C59008.8080502 () mail ! jpl ! nasa ! gov
[Download RAW message or body]

All,

I'm trying to build the latest version of Aspell (v0.60.3) on Solaris, 
but I'm getting a link error.  I've looked everywhere I can, but have 
been unable to locate the problem.

I'm stumped.  I don't know why it can't find these three symbols or, if 
they don't exist, why it's looking for them.  I'm not a C++ developer, 
which is making this harder all around.

I'm using gcc/g++ 4.0.0 with libtool 1.5.18.  I get the same exact error 
on Solaris 8, 9, AND 10.

Here's the error.  I separating the lines for readability:


# make

/usr/local/bin/libtool --tag=CXX --mode=link /usr/local/bin/g++ -w -O3 
-pipe -fno-exceptions -L/usr/local/lib -R/usr/local/lib -o aspell 
prog/aspell.o prog/check_funs.o prog/checker_string.o libaspell.la 
-lncursesw -ldl -ldl

/usr/local/bin/g++ -w -O3 -pipe -fno-exceptions -o .libs/aspell 
prog/aspell.o prog/check_funs.o prog/checker_string.o -L/usr/local/lib 
./.libs/libaspell.so /usr/local/lib/libncursesw.so -ldl -Wl,-R 
-Wl,/usr/local/lib

Undefined                       first referenced
  symbol                             in file
acommon::HashTable<acommon::StringMap::Parms>::init(unsigned 
int)./.libs/libaspell.so
acommon::BlockSList<acommon::StringPair>::clear() ./.libs/libaspell.so
acommon::HashTable<acommon::StringMap::Parms>::del()./.libs/libaspell.so

ld: fatal: Symbol referencing errors. No output written to .libs/aspell
collect2: ld returned 1 exit status
make[1]: *** [aspell] Error 1
make[1]: Leaving directory `/usr/local/build/gnu/aspell-0.60.3'
make: *** [all-recursive] Error 1

Any help would be greatly appreciated!  TIA.

-george karas




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic