aspell-devel
[Top][All Lists]
Advanced

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

[aspell-devel] aspell0 failed to compile


From: Melvin Hadasht
Subject: [aspell-devel] aspell0 failed to compile
Date: Mon, 20 May 2002 12:26:31 +0200

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

Best regards.

-- 
Melvin Hadasht



reply via email to

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