aspell-user
[Top][All Lists]
Advanced

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

[aspell-user] Problem compiling aspell on MacOSX


From: Paul Chakravarti
Subject: [aspell-user] Problem compiling aspell on MacOSX
Date: Wed, 9 May 2001 19:09:34 -0400
User-agent: Mutt/1.2.5i

I had the following problems trying to compile aspell on MacOSX -

The first was that the definition of the 'fileno' method in util/simple_fstream
clashed with the 'fileno' macro definition in stdio.h - I fixed this (I think)
by just renaming the method 'file_no' to avoid CPP trying to expand this

The other problem is a bit more terminal - the final link fails with the
following error -

/bin/sh ../libtool --mode=link c++  -g -O2 -L/usr/local/lib -o aspell  aspell.o 
termios.o text_chain.o ../lib/libaspell.la -lncurses
c++ -g -O2 -o aspell aspell.o termios.o text_chain.o  -L/usr/local/lib 
../lib/.libs/libaspell.a /usr/local/lib/libpspell.a 
/usr/local/lib/libpspell-modules.a /usr/local/lib/libpspell-impl.a 
/usr/local/lib/libpspell.a /usr/local/lib/libpspell-modules.a -lncurses
/usr/bin/ld: warning empty table of contents: /usr/local/lib/libpspell-impl.a 
(can't load from it)
/usr/bin/ld: Undefined symbols:
_get_filter__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_filter__H2ZQ27afiltert10SubstrRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_filter__H2ZQ27afiltert8HashRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8uni2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SubstrRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SubstrRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert8HashRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert8HashRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
make: *** [aspell] Error 1


The strange thing is that the missing objects appear to exist in libaspell.a - 
ie.

[paulc:sage] ..uild/aspell-.33.5/util % nm ../lib/.libs/libaspell.a | grep 
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
         U 
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11

[paulc:sage] ..uild/aspell-.33.5/util % nm ../lib/.libs/libaspell.a | grep 
_get_filter__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
         U 
_get_filter__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
00002934 S 
_get_filter__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart

Does anyone have any suggestions ?

Regards, Paul



reply via email to

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