[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspell-user] Re: Problem compiling aspell on MacOSX
From: |
Paul Chakravarti |
Subject: |
[aspell-user] Re: Problem compiling aspell on MacOSX |
Date: |
Wed, 9 May 2001 22:53:01 -0400 |
User-agent: |
Mutt/1.2.5i |
I apologise for continually replying to my own posts however on rereading this
I realised that the _get_repl__.... object is actually undefined in libaspell
(nm output shows up as 'U') - the _get_filter__.... does seem to be defined
however.
In case people arent familiar with the environment the MacOSX compiler is a
derivative of gcc 2.95.2 however the linker is Apple proprietary (not GNU ld
based)
PaulC
On Wed, May 09, 2001 at 07:26:03PM -0400, Paul Chakravarti wrote:
> Forgot to mention that that the aspell version is .33.5 - pspell .12.1 is
> compiled
> and installed
>
> On Wed, May 09, 2001 at 07:09:34PM -0400, Paul Chakravarti wrote:
> > 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