aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Linking problem - multiple definitions


From: Sam O'Connor
Subject: [Aspell-user] Linking problem - multiple definitions
Date: Fri, 7 Feb 2003 11:22:47 +1100

I am having linking problems with aspell 0.50.3
If I ./configure --disable-dynamic --enable-static
then I can compile without any problem and
the resulting library works as expected.

However, when I try to compile with dynamic linking,
I get hundreds of lines of errors when linking.
The errors are all related to multiple symbol definitions.

(trimmed message from "libtool -o libspell.la" , full message below)

libaspell-speller-default.a(bitset.o): multiple definition of std::cout
      libaspell-common.a(bitset.o): first defined here

It looks like libaspell-speller-default and libaspell-common
both have a bunch of standard library symbols that conflict.

I am writing to the list to find out if anyone has a simple fix
for this problem, otherwise I will spend some time looking into it myself.

Sam

My environment is:

glibc 2.2.5
binutils 2.13.1
gcc 3.2.1
gettext 0.11.5
ncurses 5.3
make 3.80

../modules/speller/default/.libs/libaspell-speller-default.a(bitset.o):
In function `std::_Base_bitset<(unsigned)1>::_M_do_find_first(unsigned) const': /gcc-src-build/i686-pc-linux-gnu/libstdc++-v3/src/../../../../gcc-src/ libstdc++-v3/src/bitset.cc:52: multiple definition of `std::_Base_bitset<(unsigned)1>::_M_do_find_first(unsigned) const' ../common/.libs/libaspell-common.a(bitset.o):/gcc-src-build/i686-pc- linux-gnu/libstdc++-v3/src/../../../../gcc-src/libstdc++-v3/src/ bitset.cc:52: first defined here


Below is a full list of version numbers of other stuff on my system
extracted from my system build script:

PG_VERSION=7.2.3
TCL_VERSION=8.3.5
GLIB_VERSION=1.2.10
READLINE_VERSION=4.3
OPENSSL_VERSION=0.9.6g
OPENSSH_VERSION=3.5p1
HEARTBEAT_VERSION=0.4.9e
DRBD_VERSION=0.6.1
BCM5700_VERSION=2.2.30
APACHE_VERSION=2.0.43
LINUX_VERSION=2.4.18
ASPELL_VERSION=0.50.3
ASPELL_EN_VERSION=0.50-2
ZLIB_VERSION=1.1.4
LIBPNG_VERSION=1.2.5
LIBXML2_VERSION=2.4.28
LIBNET_VERSION=1.1.0
GLIBC_VERSION=2.2.5
GCC_VERSION=3.2.1
XGCC_VERSION=3.2.1-20021201-3
BINUTILS_VERSION=2.13.1
XBINUTILS_VERSION=2.13.90-20030111-1
MINGW_VERSION=2.3
W32API_VERSION=2.1
BASH_VERSION=2.05b
BZIP2_VERSION=1.0.2
DIFFUTILS_VERSION=2.8.1
FILEUTILS_VERSION=4.1
FINDUTILS_VERSION=4.1
GAWK_VERSION=3.1.1
GREP_VERSION=2.5
GZIP_VERSION=1.2.4a
MAKE_VERSION=3.80
PATCH_VERSION=2.5.4
SED_VERSION=4.0.3
SHUTILS_VERSION=2.0
TAR_VERSION=1.13
TEXINFO_VERSION=4.3
TEXTUTILS_VERSION=2.1
UTILLINUX_VERSION=2.11y
NCURSES_VERSION=5.3
WGET_VERSION=1.8.2
PERL_VERSION=5.8.0
VIM_VERSION=6.1
NETTOOLS_VERSION=1.60
E2FSPROGS_VERSION=1.32
MODUTILS_VERSION=2.4.22
M4_VERSION=1.4
BISON_VERSION=1.75
FLEX_VERSION=2.5.4a
NETKIT_VERSION=0.17
PROCPS_VERSION=3.1.4
PSMISC_VERSION=21.2
SHADOW_VERSION=4.0.3
SYSKLOGD_VERSION=1.4.1
SYSVINIT_VERSION=2.84
HDPARM_VERSION=5.3
NETDATE_VERSION=1.16
NTP_VERSION=4.1.1b
SYSLINUX_VERSION=2.00
LOGROTATE_VERSION=3.3
POPT_VERSION=1.7
SSMTP_VERSION=2.60.3
GETTEXT_VERSION=0.11.5
NASM_VERSION=0.98.35
WHICH_VERSION=2.14
AUTOCONF_VERSION=2.57
CPIO_VERSION=2.5
DEBIANUTILS_VERSION=1.16
SUDO_VERSION=1.6.6
IPTABLES_VERSION=1.2.7a
DPKG_VERSION=1.10.9
NAIL_VERSION=10.3
CRON_VERSION=3.0pl1
AT_VERSION=3.1.8
DHCP_VERSION=3.0.1rc10
LMSENSORS_VERSION=2.7.0
I2C_VERSION=2.7.0
ZCIP_VERSION=snapshot-2002-12-16
LIBPCAP_VERSION=0.7.1
NCFTP_VERSION=3.1.5
ATFTP_VERSION=0.6
TELNET_VERSION=0.17
CHECK_VERSION=0.8.4
CVS_VERSION=1.11.5
DOSFSTOOLS_VERSION=2.8
CCACHE_VERSION=2.1.1
DISTCC_VERSION=1.1
ETHTOOL_VERSION=1.7





reply via email to

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