emerge kde-base/kopete-3.4.0-r1 and get: /bin/sh ../../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kopete_accountconfig.la -rpath /usr/kde/3.4/lib/kde3 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib addaccountwizard.lo kopeteaccountconfig.lo addaccountwizardpage1.lo addaccountwizardpage2.lo addaccountwizardpage3.lo kopeteaccountconfigbase.lo ../../../libkopete/libkopete.la -lkutils .libs/addaccountwizard.o(.text+0xae): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::AccountManager::self()' .libs/addaccountwizard.o(.text+0xba): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::AccountManager::registerAccount(Kopete::Account*)' .libs/addaccountwizard.o(.text+0x12b): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::Plugin::pluginId() const' .libs/addaccountwizard.o(.text+0x1d1): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::Account::setColor(QColor const&)' .libs/addaccountwizard.o(.text+0x1e8): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::OnlineStatus::OnlineStatus()' .libs/addaccountwizard.o(.text+0x1fc): In function `AddAccountWizard::accept()': : undefined reference to `Kopete::OnlineStatus::~OnlineStatus()' .libs/addaccountwizard.o(.text+0x288): In function `AddAccountWizard::back()': : undefined reference to `typeinfo for KopeteEditAccountWidget' .libs/addaccountwizard.o(.text+0x675): In function `AddAccountWizard::reject()': : undefined reference to `Kopete::AccountManager::self()' .libs/addaccountwizard.o(.text+0x68f): In function `AddAccountWizard::reject()': : undefined reference to `Kopete::AccountManager::accounts(Kopete::Protocol const*) const' .libs/addaccountwizard.o(.text+0x6d9): In function `AddAccountWizard::reject()': : undefined reference to `Kopete::Plugin::pluginId() const' .libs/addaccountwizard.o(.text+0xa38): In function `AddAccountWizard::next()': : undefined reference to `typeinfo for Kopete::Protocol' .libs/addaccountwizard.o(.text+0xa3e): In function `AddAccountWizard::next()': : undefined reference to `typeinfo for Kopete::Plugin' .libs/addaccountwizard.o(.text+0xac7): In function `AddAccountWizard::next()': : undefined reference to `typeinfo for KopeteEditAccountWidget' .libs/addaccountwizard.o(.text+0xb47): In function `AddAccountWizard::next()': : undefined reference to `Kopete::AccountManager::self()' .libs/addaccountwizard.o(.text+0xb61): In function `AddAccountWizard::next()': : undefined reference to `Kopete::AccountManager::guessColor(Kopete::Protocol*) const' .libs/kopeteaccountconfig.o(.text+0x109): In function `KopeteAccountConfig::slotEditAccount()': : undefined reference to `Kopete::Account::protocol() const' .libs/kopeteaccountconfig.o(.text+0x20f): In function `KopeteAccountConfig::slotEditAccount()': : undefined reference to `typeinfo for KopeteEditAccountWidget' .libs/kopeteaccountconfig.o(.text+0x268): In function `KopeteAccountConfig::slotEditAccount()': : undefined reference to `Kopete::AccountManager::self()' .libs/kopeteaccountconfig.o(.text+0x270): In function `KopeteAccountConfig::slotEditAccount()': : undefined reference to `Kopete::AccountManager::save()' .libs/kopeteaccountconfig.o(.text+0x3a5): In function `KopeteAccountConfig::slotRemoveAccount()': : undefined reference to `Kopete::Account::accountLabel() const' .libs/kopeteaccountconfig.o(.text+0x503): In function `KopeteAccountConfig::slotRemoveAccount()': : undefined reference to `Kopete::AccountManager::self()' .libs/kopeteaccountconfig.o(.text+0x513): In function `KopeteAccountConfig::slotRemoveAccount()': : undefined reference to `Kopete::AccountManager::removeAccount(Kopete::Account*)' .libs/kopeteaccountconfig.o(.text+0x7f8): In function `KopeteAccountConfig::slotColorChanged()': : undefined reference to `Kopete::Account::color() const' .libs/kopeteaccountconfig.o(.text+0x8c6): In function `KopeteAccountConfig::slotColorChanged()': : undefined reference to `Kopete::Account::color() const' .libs/kopeteaccountconfig.o(.text+0xae3): In function `KopeteAccountConfig::slotItemSelected()': : undefined reference to `Kopete::Account::color() const' .libs/kopeteaccountconfig.o(.text+0x1046): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::AccountManager::self()' .libs/kopeteaccountconfig.o(.text+0x104e): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::AccountManager::accounts() const' .libs/kopeteaccountconfig.o(.text+0x10dc): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::Account::protocol() const' .libs/kopeteaccountconfig.o(.text+0x10e8): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::Plugin::displayName() const' .libs/kopeteaccountconfig.o(.text+0x1134): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::Account::accountIcon(int) const' .libs/kopeteaccountconfig.o(.text+0x1167): In function `KopeteAccountConfig::load()': : undefined reference to `Kopete::Account::accountLabel() const' .libs/kopeteaccountconfig.o(.text+0x1920): In function `KopeteAccountConfig::save()': : undefined reference to `Kopete::Account::setPriority(unsigned int)' .libs/kopeteaccountconfig.o(.text+0x197d): In function `KopeteAccountConfig::save()': : undefined reference to `Kopete::Account::setColor(QColor const&)' .libs/kopeteaccountconfig.o(.text+0x19ba): In function `KopeteAccountConfig::save()': : undefined reference to `Kopete::AccountManager::self()' .libs/kopeteaccountconfig.o(.text+0x19c2): In function `KopeteAccountConfig::save()': : undefined reference to `Kopete::AccountManager::save()' collect2: ld returned 1 exit status make[5]: *** [kcm_kopete_accountconfig.la] Error 1 make[5]: Leaving directory `/var/tmp/portage/kopete-3.4.0-r1/work/kopete-3.4.0/kopete/kopete/config/accounts' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kopete-3.4.0-r1/work/kopete-3.4.0/kopete/kopete/config' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kopete-3.4.0-r1/work/kopete-3.4.0/kopete/kopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kopete-3.4.0-r1/work/kopete-3.4.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kopete-3.4.0-r1/work/kopete-3.4.0' make: *** [all] Error 2 !!! ERROR: kde-base/kopete-3.4.0-r1 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: This is on an emerge --update --deep world, original 3.4.0 is the meta groupings. Actual Results: As reported Expected Results: Good ebuild ~/ emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) MP 1900+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 15:14:03)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13, 2.13-r2 sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.5, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4" DISTDIR="/opt/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" MAKEOPTS="-j3" PKGDIR="/opt/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 aac aalib adns alsa apache2 apm arts avantgo avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad memlimit mikmod motif mozilla mp3 mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba scanner sdl session slang snmp speex spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vhosts wddx xml xml2 xmms xv zlib video_cards_matrox" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
It seems it's related to the visibility support (compiling with "-fvisibility=hidden -fvisibility-inlines-hidden"), but I cannot see why it's not reported by more people then...
Yep, that's it, I manually edited that out of the ac stuff and it compiled. I'm using i686-pc-linux-gnu-3.4.3-20050110, nothing fancy in the make.conf (as you can see from the info.) I wondered that myself, I'm not usually the first to run into these things.
I have an hint: it can be that the visibility support in older gcc versions did not support setting the visibility attribute to the class declaration... probably this problem will disappear by upgrading gcc.
please try a gcc upgrade and see if that helps (as well as kopete 3.4.1). reopen if the problem persists.