/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kgamma.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib xf86configpath.lo xvidextwrap.lo displaynumber.lo gammactrl.lo kgamma.lo -lXxf86vm -lkdeui -lkdecore -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lm .libs/xf86configpath.o: In function `XF86ConfigPath::~XF86ConfigPath()': xf86configpath.cpp:(.text+0x23): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x3e): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' .libs/xf86configpath.o: In function `XF86ConfigPath::~XF86ConfigPath()': xf86configpath.cpp:(.text+0x73): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x8e): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' .libs/xf86configpath.o: In function `XF86ConfigPath::XF86ConfigPath()': xf86configpath.cpp:(.text+0xc6): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x131): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x185): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x1d9): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0x22d): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' .libs/xf86configpath.o:xf86configpath.cpp:(.text+0x281): more undefined references to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' follow .libs/xf86configpath.o: In function `XF86ConfigPath::XF86ConfigPath()': xf86configpath.cpp:(.text+0x76d): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x79d): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x7d0): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x803): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x836): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' .libs/xf86configpath.o:xf86configpath.cpp:(.text+0x869): more undefined references to `__gnu_cxx::__exchange_and_add(int volatile*, int)' follow .libs/xf86configpath.o: In function `XF86ConfigPath::XF86ConfigPath()': xf86configpath.cpp:(.text+0xa6e): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0xad9): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0xb2d): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0xb81): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text+0xbd5): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' .libs/xf86configpath.o:xf86configpath.cpp:(.text+0xc29): more undefined references to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' follow .libs/xf86configpath.o: In function `XF86ConfigPath::XF86ConfigPath()': xf86configpath.cpp:(.text+0x1115): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x1145): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x1178): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x11ab): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text+0x11de): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' .libs/xf86configpath.o:xf86configpath.cpp:(.text+0x1211): more undefined references to `__gnu_cxx::__exchange_and_add(int volatile*, int)' follow .libs/xf86configpath.o: In function `std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_insert_aux(__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator > const&)': xf86configpath.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_insert_aux(__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator > const&)]+0x99): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_insert_aux(__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator > const&)]+0x196): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xf86configpath.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_insert_aux(__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator > const&)]+0x1ee): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xf86configpath.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector, std::allocator >, std::allocator, std::allocator > > >::_M_insert_aux(__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, std::basic_string, std::allocator > const&)]+0x217): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' .libs/xvidextwrap.o: In function `XVidExtWrap::_ScreenCount()': xvidextwrap.cpp:(.text+0x4be): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x555): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x711): undefined reference to `std::basic_stringbuf, std::allocator >::_M_sync(char*, unsigned int, unsigned int)' xvidextwrap.cpp:(.text+0x731): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x7d4): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x95b): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x98b): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x9a0): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xvidextwrap.cpp:(.text+0x9c7): undefined reference to `std::basic_string, std::allocator >::_Rep::_S_empty_rep_storage' xvidextwrap.cpp:(.text+0x9dc): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xvidextwrap.cpp:(.text+0xac5): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xvidextwrap.cpp:(.text+0xb1c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xvidextwrap.cpp:(.text+0xb4c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' xvidextwrap.cpp:(.text+0xb8d): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' collect2: ld returned 1 exit status make[4]: *** [kcm_kgamma.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.2/work/kdegraphics-3.5.2/kgamma/kcmkgamma' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.2/work/kdegraphics-3.5.2/kgamma/kcmkgamma' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.2/work/kdegraphics-3.5.2/kgamma' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.2/work/kdegraphics-3.5.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdegraphics-3.5.2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile kdegraphics-3.5.2.ebuild, line 72: Called kde_src_compile kde.eclass, line 164: Called kde_src_compile 'all' kde.eclass, line 331: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 327: Called die