Horrible compile troubles on SuSE 7.3
- From: Matthias Andree <ma+balsa dt e-technik uni-dortmund de>
- To: balsa-list gnome org
- Subject: Horrible compile troubles on SuSE 7.3
- Date: Thu, 1 Nov 2001 01:46:37 +0100
Hi,
I cannot get balsa 1.2.2 compiled on SuSE Linux 7.3.
some reasons:
- configure.in fails all tests that involve linking that take place
after the pspell checks, because linking fails (symptoms below).
A workaround is to include AC_PROG_CXX and AC_LANG(C++), but it's ugly.
- pspell creates dependencies on libstdc++-3-libc6.2-2-2.10.0.so, but
this is never linked, symptom (final link of balsa):
/usr/lib/libpspell.so: undefined reference to `ios virtual table'
/usr/lib/libpspell.so: undefined reference to `ostream::flush(void)'
/usr/lib/libpspell.so: undefined reference to `istream::ios virtual table'
/usr/lib/libpspell.so: undefined reference to `ostream::operator<<(char const *)'
/usr/lib/libpspell.so: undefined reference to `ostream & operator<<<int>(ostream &, smanip<int> const &)'
/usr/lib/libpspell.so: undefined reference to `ifstream::~ifstream(void)'
/usr/lib/libpspell.so: undefined reference to `__iomanip_setw(ios &, int)'
/usr/lib/libpspell.so: undefined reference to `fstreambase::fstreambase(int, char const *, int, int)'
/usr/lib/libpspell.so: undefined reference to `ifstream::ios virtual table'
collect2: ld returned 1 exit status
Just using g++ instead of gcc to link does not help for some strange
reason, adding -lstdc++-3-libc6.2-2-2.10.0 does help but is ugly and
totally unsuitable for configure.in or Makefile.am.
I'm not sure what would be the correct fix, SuSE don't use special
options for their pspell.
Horrible. Looks like pspell should be thrown out for now.
--
Matthias Andree
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." Benjamin Franklin
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]