With the following: qt-3.0.5-r2 kdebase-3.0.4-r2 xfree-4.2.1 Been 4 days, still no luck at any combination of kde working yet. i686-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -mcpu=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o nspluginviewer nspluginviewer.all_cpp.o -Wl,--export-dynamic -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/X11R6/lib/libXm.so -lXmu -lXp /usr/kde/3/lib/libkio.so -L/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/kde/3/lib/libkdeui.so /usr/kde/3/lib/libkdefx.so -lXrender /usr/kde/3/lib/libkdesu.so /usr/kde/3/lib/libkdecore.so /usr/kde/3/lib/libDCOP.so -lqt-mt -lpng -lX11 -lSM -lICE -lpthread -ldl -lXext -lresolv -lXinerama -lutil -lz /usr/lib/libfam.so -lstdc++ /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so -lm -lc -lgcc_s -lXt -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -Wl,--rpath -Wl,/usr/qt/3/lib nspluginviewer.all_cpp.o: In function `main': nspluginviewer.all_cpp.o(.text+0x756c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x7585): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x7591): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x759d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x75a3): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o(.text+0x76dc): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o: In function `KXtApplication::KXtApplication[not-in-charge](int&, char**, QCString const&, bool, bool, XrmOptionDescRec*, int, char**)': nspluginviewer.all_cpp.o(.text+0x79ec): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x7a05): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x7a11): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x7a1d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x7a23): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o: In function `KXtApplication::KXtApplication[in-charge](int&, char**, QCString const&, bool, bool, XrmOptionDescRec*, int, char**)': nspluginviewer.all_cpp.o(.text+0x7b5c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x7b75): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x7b81): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x7b8d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x7b93): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o: In function `KXtApplication::KXtApplication[not-in-charge](_XDisplay*, int&, char**, QCString const&, bool, bool)': nspluginviewer.all_cpp.o(.text+0x7c5c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x7c75): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x7c81): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x7c8d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x7c96): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o: In function `KXtApplication::KXtApplication[in-charge](_XDisplay*, int&, char**, QCString const&, bool, bool)': nspluginviewer.all_cpp.o(.text+0x7d6c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x7d85): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x7d91): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x7d9d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x7da6): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o: In function `KXtApplication::~KXtApplication [not-in-charge]()': nspluginviewer.all_cpp.o(.text+0x7e5c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o: In function `KXtApplication::~KXtApplication [in-charge]()': nspluginviewer.all_cpp.o(.text+0x7efc): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o: In function `KXtApplication::~KXtApplication [in-charge deleting]()': nspluginviewer.all_cpp.o(.text+0x7f9c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o: In function `KXtApplication::init()': nspluginviewer.all_cpp.o(.text+0x802c): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o(.text+0x8045): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))' nspluginviewer.all_cpp.o(.text+0x8051): undefined reference to `qt_np_add_timer_setter(void (*)(int))' nspluginviewer.all_cpp.o(.text+0x805d): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))' nspluginviewer.all_cpp.o(.text+0x8063): undefined reference to `qt_np_count' nspluginviewer.all_cpp.o: In function `qt_event_handler_wrapper(_XEvent*)': nspluginviewer.all_cpp.o(.text+0xae1d): undefined reference to `qt_event_handler(_XEvent*)' nspluginviewer.all_cpp.o: In function `np_event_proc(_XEvent*)': nspluginviewer.all_cpp.o(.text+0xae6b): undefined reference to `qt_np_cascade_event_handler' nspluginviewer.all_cpp.o: In function `np_set_timer(int)': nspluginviewer.all_cpp.o(.text+0xae87): undefined reference to `qt_np_timerid' nspluginviewer.all_cpp.o(.text+0xae9e): undefined reference to `qt_np_timeout(void*, void*)' nspluginviewer.all_cpp.o(.text+0xaeb4): undefined reference to `qt_np_timerid' nspluginviewer.all_cpp.o: In function `np_do_timers(void*, void*)': nspluginviewer.all_cpp.o(.text+0xaedd): undefined reference to `qt_np_timerid' nspluginviewer.all_cpp.o(.text+0xaee2): undefined reference to `qt_activate_timers()' nspluginviewer.all_cpp.o(.text+0xaf1e): undefined reference to `qt_np_timerid' nspluginviewer.all_cpp.o(.text+0xaf35): undefined reference to `qt_np_timeout(void*, void*)' nspluginviewer.all_cpp.o(.text+0xaf4b): undefined reference to `qt_np_timerid' collect2: ld returned 1 exit status make[3]: *** [nspluginviewer] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r2/work/kdebase-3.0.4/nsplugins/viewer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r2/work/kdebase-3.0.4/nsplugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r2/work/kdebase-3.0.4' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -6662, Exitcode 2 !!! died running emake, kde_src_compile:make my emerge info is as folows: emerge info Portage 2.0.43 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r6,2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r10 i686 GenuineIntel USE="x86 oss 3dnow apm avi crypt cups encode gif gpm imlib jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl tcpd pam ssl perl python esd oggvorbis gnome gtk qt motif opengl" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="no" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
I'm _sure_ I remember seeing this provblem somewhere before, but a google and a search of lists.kde.org and of bugs.gentoo.org all had no results. Which must mean that my memory comes fom having this problem myself and fixing it somehow. Offhand I'd say it's the qt31patch issue, i.e. kdebase 3.0.4 nspluginviewer doesn't build with qt3.1 tree. Except of course this is qt 3.0.5... Of course, you could enable USE=qt31patch and it would most likely compile (even with qt 3.0.x), but that would be bypassing the problem not solving it. Any other ideas?
similar problem here... In file included from xftgram.y:29, from xftgram-kfi.c:23: xftint.h:392: parse error before `*' In file included from xftlex.l:27, from xftlex-kfi.c:23: xftint.h:392: parse error before `*' make[4]: *** [xftgram-kfi.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [xftlex-kfi.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol/kfontinst/kfontinst' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol/kfontinst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -6662, Exitcode 2 !!! died running emake, kde_src_compile:make
Bob: your problem is imho the same described in bug #9423, which is fixed with kdebase-3.0.4-r2.
*** Bug 10183 has been marked as a duplicate of this bug. ***
ok... USE="qt31patch" worked, after about 6 attempts at reinstall (and some formerly missing diff files), it seems to be working now can someone on kde team _please_ add that qt31patch ASAP ? this is starting to become a widespread problem
ok, added this patch to kdebase-3.0.4-r2 by default. (removed "use qt31base"-query).
i unmasked kdebase-3.0.4-r2, so i close this bug. reopen if it still does not work.