I've seen the other reports about tests failing, but I feel this is a different bug. Here's the error: /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 -g3 -fno-inline -march=pentium4 -O2 -pipe -g2 -ggdb2 -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 -L/usr/qt/3/lib -L/usr/lib -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -o kresolvertest kresolvertest.o ../libkdecore.la kresolvertest.o(.text+0xabf): In function `go()': /var/tmp/portage/kdelibs-3.4.0-r1/work/kdelibs-3.4.0/kdecore/tests/kresolvertest.cpp:289: undefined reference to `KDE::resolverFlags' collect2: ld returned 1 exit status make[2]: *** [kresolvertest] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0-r1/work/kdelibs-3.4.0/kdecore/tests' I've done some checking and I noticed the following. kresolvertest.o needs resolverFlags from netsupp.o, which is part of libkdecore.so. > nm tests/kresolvertest.o |grep resolverFlags U _ZN3KDE13resolverFlagsE > nm .libs/libkdecore.so.4.2.0 |grep resolverFlags 00000acc r _ZN3KDE13resolverFlagsE > nm .libs/netsupp.o |grep resolverFlags 00000000 R _ZN3KDE13resolverFlagsE As you can see resolverFlags is external in netsupp.o, but it is local in libkdecore.so. I have reduced the command line that creates libkdecore.so back to: /bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -o libkdecore.la -rpath /usr/kde/3.4/lib -version-info 6:0:2 netsupp.lo But still the symbol is made local. Could that be the reason this test fails to link?
the kde herd is too small to care for this *** This bug has been marked as a duplicate of 78231 ***