I cannot emerge kdelibs-3.4.3 (or following versions ...) Here the logs: emerge kdelibs - log: ***************************************************** make[3]: Entering directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui' /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include -DQT_THREAD_SUPPORT -D_REENTRANT -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=pentium-m -fomit-frame-pointer -mtune=pentium-m -pipe -mmmx -msse -msse2 -ftracer -ffast-math -fvisibility-inlines-hidden -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 -c -o kshortcutdialog.lo `test -f 'kshortcutdialog.cpp' || echo './'`kshortcutdialog.cpp kshortcutdialog.cpp: In constructor `KShortcutDialog::KShortcutDialog(const KShortcut&, bool, QWidget*, const char*)': kshortcutdialog.cpp:78: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:80: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:81: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:92: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:93: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:94: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:95: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:97: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:99: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:102: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:103: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:104: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:105: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:106: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:108: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::updateShortcutDisplay()': kshortcutdialog.cpp:167: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:168: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:175: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:176: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:177: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `virtual void KShortcutDialog::slotDetails()': kshortcutdialog.cpp:195: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::updateDetails()': kshortcutdialog.cpp:209: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:210: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:211: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:216: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:217: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:218: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:219: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:220: error: invalid use of undefined type `struct KShortcutDialogSimple' kshortcutdialog.h:28: error: forward declaration of `struct KShortcutDialogSimple' kshortcutdialog.cpp:221: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotSelectPrimary()': kshortcutdialog.cpp:232: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotSelectAlternate()': kshortcutdialog.cpp:243: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotClearPrimary()': kshortcutdialog.cpp:258: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::slotClearAlternate()': kshortcutdialog.cpp:266: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp: In member function `void KShortcutDialog::keyPressed(KKey)': kshortcutdialog.cpp:516: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' kshortcutdialog.cpp:525: error: invalid use of undefined type `struct KShortcutDialogAdvanced' kshortcutdialog.h:29: error: forward declaration of `struct KShortcutDialogAdvanced' make[3]: *** [kshortcutdialog.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3' make: *** [all] Error 2 ***************************************************************** here's my make.conf ***************************************************************** USE="X aac aalib acpi alsa arts bluetooth bzlib cdr cdparanoia crypt cups divx4linux dv dvd dvdr ffmpeg gpg gnupg gpgme gphoto2 gstreamer gstream icq jabber java javascript kde msn ncurses curses oggvorbis python quicktime scanner ssl xine zlib real xvid live unicode wmvdmo mmx win32codecs samba sse" CHOST="i686-pc-linux-gnu" " CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -mtune=pentium-m -pipe -mmmx -msse -msse2 -ftracer -ffast-math" CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" st-math -momit-leaf-frame-pointers -fvisibility-inlines-hidden" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" LINGUAS="en it fr" PORTDIR_OVERLAY=/usr/local/portage ALSA_CARDS="intel8x0" PORTAGE_BINHOST="http://chinstrap.alternating.net/files/2005.1/grp/i686/" SYNC="rsync://rsync.it.gentoo.org/gentoo-portage/" *******************************************************************
Solved ... Actually this was not a kdelibs bug. A third-path, proprietary application installed an older version of the qt shared library in /usr/lib, (and this was processed before the right one in /usr/qt/3/lib). For this reason the uic executable generated an unsolved symbol, and so it couldn't generate a .h file , and this caused the error.