Overview: Attempting to emerge kdevelop gives the following compile-time error: *** Warning: Linking the executable r++ against the loadable module *** libkdevcppsupport.so is not portable! main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_create' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0xfd): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x109): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_create' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3bf): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x424): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror' collect2: ld returned 1 exit status make[4]: *** [r++] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages/cpp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages/cpp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0.2 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make Steps to Reproduce: ACCEPT_KEYWORDS="~amd64" emerge kdevelop Actual Results: Compile succeeds Expected Results: Compile fails Build Date & Platform: Build ???? on Gentoo 2004 - kernel 2.6.2 Additional Information: make.conf file = CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" USE="qt kde -gnome -gtk" CXXFLAGS="${CFLAGS}"
*** Bug 44775 has been marked as a duplicate of this bug. ***
This fixes the problem for me: http://forums.gentoo.org/viewtopic.php?t=133577&highlight=kdevelop+linking
merges fine for me... Recently reinstalled my machine using 2004.0 stage1 tarball...