Re: aspell-0.60.5 - build error

Chris Clayton <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
Hi,

I think I've tracked this build error down to a GCC bug. If I change optimisation to -O2, the build completes successfully.

Chris

On Sunday 24 December 2006 11:17, you wrote:
> Hi,
> 
> I'm trying to build aspell-0.60.5, but I get the following error:
> 
> /bin/sh ./libtool --tag=CXX   --mode=link g++  -O3 -march=i386 -fno-strength-reduce -fno-exceptions  -s -o aspell prog/aspell.o prog/check_funs.o prog/checker_string.o libaspell.la -lncurses -ldl -ldl
> g++ -O3 -march=i386 -fno-strength-reduce -fno-exceptions -s -o .libs/aspell prog/aspell.o prog/check_funs.o prog/checker_string.o  ./.libs/libaspell.so /usr/lib/libstdc++.so -lncurses -ldl
> ./.libs/libaspell.so: undefined reference to `acommon::HashTable<acommon::StringMap::Parms>::erase(char const* const&)'
> collect2: ld returned 1 exit status
> make[1]: *** [aspell] Error 1
> make[1]: Leaving directory `/home/users/chris/tmp/aspell-0.60.5'
> make: *** [all-recursive] Error 1
> 
> I am calling configure with:
> 
> ./configure --prefix=/usr --enable-shared --disable-static --disable-nls
> 
> and my build tools are:
> 
> gcc-4.1.2 (20061124 snapshot)
> libtool 1.5.22
> autoconf 2.61
> automake 1.10
> 
> Please ask of any other information is needed. Thanks in anticipation.
> 
> Chris
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.