[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] aspell0 failed to compile
From: |
Kevin Atkinson |
Subject: |
Re: [aspell-devel] aspell0 failed to compile |
Date: |
Mon, 20 May 2002 07:28:58 -0400 (EDT) |
On Mon, 20 May 2002, Melvin Hadasht wrote:
> Hi,
>
> when trying to compile the new aspell, the compilation stopped at
> examples/aspell0:
>
> /bin/sh ../libtool --mode=link gcc -O -Wall -o aspell0 aspell0.o
> ../lib/libaspell.la
> gcc -O -Wall -o .libs/aspell0 aspell0.o ../lib/.libs/libaspell.so
> /home/mhadasht/src/aspell/common/.libs/libaspell-common.so -Wl,--rpath
> -Wl,/home/mhadasht/aspell/lib
> ../lib/.libs/libaspell.so: undefined reference to `cerr'
> ../lib/.libs/libaspell.so: undefined reference to `endl(ostream &)'
> ../lib/.libs/libaspell.so: undefined reference to `__out_of_range(char const
> *)'
> ../lib/.libs/libaspell.so: undefined reference to `ostream::flush(void)'
> ../lib/.libs/libaspell.so: undefined reference to `ostream::operator<<(char
> const *)'
> ../lib/.libs/libaspell.so: undefined reference to `streambuf::sungetc(void)'
> ../lib/.libs/libaspell.so: undefined reference to `istrstream::istrstream(int,
> char const *, int)'
> ../lib/.libs/libaspell.so: undefined reference to
> `istrstream::~istrstream(void)'
> ../lib/.libs/libaspell.so: undefined reference to `istream::_skip_ws(void)'
> ../lib/.libs/libaspell.so: undefined reference to `__length_error(char const
> *)'
> collect2: ld returned 1 exit status
>
>
> it obviously had to be compiled using g++ instead of gcc. My workaround was to
> go in examples and 'make CC=g++'. The compilation went flawlessly after that.
> But maybe a more elegant solution exists by changing the Makefile.am
What version of libtools did you use?
--
http://kevin.atkinson.dhs.org