I'm trying to emerge kde 3.2.2, but kdemultimedia fails to compile. I get this error message : /usr/kde/3.2/bin/dcopidl ./kscd.h > kscd.kidl || ( rm -f kscd.kidl ; false ) /usr/kde/3.2/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kscd.kidl g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -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 kscd_skel.o kscd_skel.cpp In file included from kscd_skel.cpp:9: kscd.h:110: error: erreur d'analyse syntaxique before `,' token kscd.h:112: error: virtual outside class declaration kscd.h:112: error: non-member function `const char* className()' cannot have ` const' method qualifier kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h: Dans function
I'm trying to emerge kde 3.2.2, but kdemultimedia fails to compile. I get this error message : /usr/kde/3.2/bin/dcopidl ./kscd.h > kscd.kidl || ( rm -f kscd.kidl ; false ) /usr/kde/3.2/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kscd.kidl g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -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 kscd_skel.o kscd_skel.cpp In file included from kscd_skel.cpp:9: kscd.h:110: error: erreur d'analyse syntaxique before `,' token kscd.h:112: error: virtual outside class declaration kscd.h:112: error: non-member function `const char* className()' cannot have ` const' method qualifier kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h:112: error: virtual outside class declaration kscd.h: Dans function « QObject* qObject() »: kscd.h:112: error: invalid use of `this' in non-member function kscd.h: At global scope: kscd.h:112: error: erreur d'analyse syntaxique before `private' kscd.h:113: error: erreur d'analyse syntaxique before `private' kscd.h: Dans function « void stop() »: kscd.h:121: error: `stopClicked' undeclared (first use this function) kscd.h:121: error: (Each undeclared identifier is reported only once for each function it appears in.) kscd.h: Dans function « void previous() »: kscd.h:122: error: `prevClicked' undeclared (first use this function) kscd.h: Dans function « void next() »: kscd.h:123: error: `nextClicked' undeclared (first use this function) kscd.h: Dans function « void jumpTo(int) »: kscd.h:124: error: `jumpToTime' undeclared (first use this function) kscd.h: Dans function « void eject() »: kscd.h:125: error: `ejectClicked' undeclared (first use this function) kscd.h: Dans function « void quit() »: kscd.h:126: error: `quitClicked' undeclared (first use this function) kscd.h: Dans function « void toggleLoop() »: kscd.h:127: error: `loopClicked' undeclared (first use this function) kscd.h: Dans function « void toggleShuffle() »: kscd.h:128: error: `randomSelected' undeclared (first use this function) kscd.h: Dans function « void toggleTimeDisplay() »: kscd.h:129: error: `cycleplaytimemode' undeclared (first use this function) kscd.h: Dans function « void cddbDialog() »: kscd.h:130: error: `CDDialogSelected' undeclared (first use this function) kscd.h: Dans function « void optionDialog() »: kscd.h:131: error: `showConfig' undeclared (first use this function) kscd.h: Dans function « void setTrack(int) »: kscd.h:132: error: `trackSelected' undeclared (first use this function) kscd.h: Dans function « int getVolume() »: kscd.h:134: error: `volume' undeclared (first use this function) kscd.h: At global scope: kscd.h:141: error: erreur d'analyse syntaxique before `public' kscd.h:143: error: destructors must be member functions kscd.h:144: error: virtual outside class declaration kscd.h: Dans function « bool dock() »: kscd.h:146: error: `docking' undeclared (first use this function) kscd.h: Dans function « bool stopOnExit() »: kscd.h:148: error: `stopexit' undeclared (first use this function) kscd.h: Dans function « bool autoPlay() »: kscd.h:150: error: `autoplay' undeclared (first use this function) kscd.h: Dans function « bool ejectOnFinish() »: kscd.h:152: error: `ejectonfinish' undeclared (first use this function) kscd.h: Dans function « unsigned int skipInterval() »: kscd.h:155: error: `skipDelta' undeclared (first use this function) kscd.h: Dans function « QColor ledColor() »: kscd.h:157: error: `led_color' undeclared (first use this function) kscd.h: Dans function « QColor bgColor() »: kscd.h:158: error: `background_color' undeclared (first use this function) kscd.h: Dans function « QString devicePath() »: kscd.h:161: error: `cd_device_str' undeclared (first use this function) kscd.h: Dans function « QString audioSystem() »: kscd.h:162: error: `audio_system_str' undeclared (first use this function) kscd.h: Dans function « QString audioDevice() »: kscd.h:163: error: `audio_device_str' undeclared (first use this function) kscd.h: Dans function « QStringList audioSystems() »: kscd.h:164: error: `audio_systems_list' undeclared (first use this function) kscd.h: At global scope: kscd.h:166: error: erreur d'analyse syntaxique before `protected' kscd.h:170: error: erreur d'analyse syntaxique before `public' kscd.h:173: error: `void randomSelected()' used prior to declaration kscd.h:178: error: `void nextClicked()' used prior to declaration kscd.h:179: error: `void prevClicked()' used prior to declaration kscd.h:180: error: `void stopClicked()' used prior to declaration kscd.h:181: error: `void ejectClicked()' used prior to declaration kscd.h:182: error: `void jumpToTime(int)' used prior to declaration kscd.h:183: error: `void quitClicked()' used prior to declaration kscd.h:186: error: `void loopClicked()' used prior to declaration kscd.h:188: error: `void trackSelected(int)' used prior to declaration kscd.h:189: error: `void showConfig()' used prior to declaration kscd.h:196: error: `void cycleplaytimemode()' used prior to declaration kscd.h:206: error: erreur d'analyse syntaxique before `protected' kscd.h:211: error: erreur d'analyse syntaxique before `protected' kscd.h:232: error: erreur d'analyse syntaxique before `private' kscd.h:242: error: `QColor background_color' used prior to declaration kscd.h:243: error: `QColor led_color' used prior to declaration kscd.h:265: error: `unsigned int skipDelta' used prior to declaration kscd.h:266: error: `int volume' used prior to declaration kscd.h:276: error: `QString cd_device_str' used prior to declaration kscd.h:277: error: `QString audio_system_str' used prior to declaration kscd.h:278: error: `QString audio_device_str' used prior to declaration kscd.h:279: error: `QStringList audio_systems_list' used prior to declaration kscd.h:313: error: `bool docking' used prior to declaration kscd.h:314: error: `bool autoplay' used prior to declaration kscd.h:315: error: `bool stopexit' used prior to declaration kscd.h:316: error: `bool ejectonfinish' used prior to declaration kscd.h:320: error: erreur d'analyse syntaxique before `public' kscd.h:325: error: `void CDDialogSelected()' used prior to declaration kscd.h:329: error: erreur d'analyse syntaxique before `private' kscd.h:340: error: erreur d'analyse syntaxique before `}' token kscd_skel.cpp:63: error: invalid use of undefined type `class KSCD' kscd.h:110: error: forward declaration of `class KSCD' kscd_skel.cpp: Dans member function « bool KSCD::process(const QCString&, const QByteArray&, QCString&, QByteArray&) »: kscd_skel.cpp:74: error: `play' undeclared (first use this function) kscd_skel.cpp:168: error: cannot call member function `virtual bool DCOPObject::process(const QCString&, const QByteArray&, QCString&, QByteArray&)' without object kscd_skel.cpp: At global scope: kscd_skel.cpp:174: error: invalid use of undefined type `class KSCD' kscd.h:110: error: forward declaration of `class KSCD' kscd_skel.cpp: Dans member function « QCStringList KSCD::interfaces() »: kscd_skel.cpp:175: error: cannot call member function `virtual QCStringList DCOPObject::interfaces()' without object kscd_skel.cpp: At global scope: kscd_skel.cpp:181: error: invalid use of undefined type `class KSCD' kscd.h:110: error: forward declaration of `class KSCD' kscd_skel.cpp: Dans member function « QCStringList KSCD::functions() »: kscd_skel.cpp:182: error: cannot call member function `virtual QCStringList DCOPObject::functions()' without object make[3]: *** [kscd_skel.o] Erreur 1 make[3]: *** Attente des tâches non terminées.... Session management error: Could not open network socket Session management error: Could not open network socket make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2/work/kdemultimedia-3.2.2/kscd' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2/work/kdemultimedia-3.2.2/kscd' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2/work/kdemultimedia-3.2.2' make: *** [all] Erreur 2 !!! ERROR: kde-base/kdemultimedia-3.2.2 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. emerge kdemultimedia-3.2.2 2. 3. Actual Results: kdemultimedia emerge fails with a compilation error Expected Results: kdemultimedia should emerge successfully emerge --info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-ck2) ================================================================= System uname: 2.6.4-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu/distfiles" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww linguas_fr mad mikmod mmx motif mozilla moznocompose moznoirc mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
try with CFLAGS="-march=i686 -O2 -pipe"
With your CFLAGS, I still get the compile error (that does not surprise me, I've successfully compile kdemultimedia-3.2.1 with my original CFLAGS)
Cannot reproduce here: here's the output of a clean compilation. make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.2/work/kdemultimedia-3.2.2/kscd' /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o panel.h ./panel.ui /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o configWidgetUI.h ./configWidgetUI.ui /usr/qt/3/bin/moc ./kvolumecontrol.h -o kvolumecontrol.moc /usr/qt/3/bin/moc ./kscd.h -o kscd.moc /usr/qt/3/bin/moc ./configdlg.h -o configdlg.moc /usr/qt/3/bin/moc ./ledlamp.h -o ledlamp.moc /usr/qt/3/bin/moc ./CDDialogData.h -o CDDialogData.moc /usr/qt/3/bin/moc ./CDDialog.h -o CDDialog.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 CDDialogData.o CDDialogData.cpp /usr/qt/3/bin/moc ./docking.h -o docking.moc /usr/qt/3/bin/moc ./inexact.h -o inexact.moc /usr/qt/3/bin/moc ./mgconfdlg.h -o mgconfdlg.moc /usr/qt/3/bin/moc ./bwlednum.h -o bwlednum.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 configWidget.o configWidget.cpp ***************** /usr/kde/3.2/bin/dcopidl ./kscd.h > kscd.kidl || ( rm -f kscd.kidl ; false ) /usr/qt/3/bin/moc panel.h -o panel.moc /usr/qt/3/bin/moc configWidgetUI.h -o configWidgetUI.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 kvolumecontrol.o kvolumecontrol.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 kscd.o kscd.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 configdlg.o configdlg.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 ledlamp.o ledlamp.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 CDDialog.o CDDialog.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 docking.o docking.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 inexact.o inexact.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 mgconfdlg.o mgconfdlg.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 bwlednum.o bwlednum.cpp ****************** /usr/kde/3.2/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kscd.kidl rm -f panel.cpp echo '#include <kdialog.h>' > panel.cpp echo '#include <klocale.h>' >> panel.cpp /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -tr tr2i18n -i panel.h ./panel.ui > panel.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" panel.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_panel,g" >> panel.cpp ;\ rm -f panel.cpp.temp ;\ if test "$ret" = 0; then echo '#include "panel.moc"' >> panel.cpp; else rm -f panel.cpp ; exit $ret ; fi rm -f configWidgetUI.cpp echo '#include <kdialog.h>' > configWidgetUI.cpp echo '#include <klocale.h>' >> configWidgetUI.cpp /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -tr tr2i18n -i configWidgetUI.h ./configWidgetUI.ui > configWidgetUI.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" configWidgetUI.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_configWidgetUI,g" >> configWidgetUI.cpp ;\ rm -f configWidgetUI.cpp.temp ;\ if test "$ret" = 0; then echo '#include "configWidgetUI.moc"' >> configWidgetUI.cpp; else rm -f configWidgetUI.cpp ; exit $ret ; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -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 kscd_skel.o kscd_skel.cpp Note that there's a lot more compiling (between the lines marked with '*', which are the first two line of the reported output). It's like the compiler thinks a lot of headers are already there, but they are bogus. Do you use ccache?
No, I don't use ccache I've just try to go to /var/tmp/portage/kdemultimedia-3.2.2/work/kdemultimedia-3.2.2/kscd and start "make", and it compiles without any error I can't understand why it doesn't works with emerge
Another try could be: MAKEOPTS="-j1" emerge kde...
-j1 should fix it - it's a bug in the upstream makefile.am patching kdemultimedia/kscd/Makefile.am by adding the line kscd_COMPILE_FIRST = kscd.skel I believe will fix the problem.
The -j1 tip solved my problem. Thanks for your help.
Now I am having this problem: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -O2 -march=athlon-xp -funroll-loops -pipe -c plat_linux_cdda.c cddaslave.c:120: warning: parameter names (without types) in function declaration gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -O2 -march=athlon-xp -funroll-loops -pipe -c plat_sun_cdda.c /bin/sh ../../libtool --silent --mode=link gcc -DNDEBUG -O2 -O2 -march=athlon-xp -funroll-loops -pipe -o libworkman.la -rpath /usr/kde/3.2/lib -version-info 6:0:0 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib cddb.lo cdinfo.lo cdrom.lo wm_helpers.lo cdtext.lo database.lo index.lo scsi.lo cdda.lo plat_aix.lo plat_bsd386.lo plat_freebsd.lo plat_hpux.lo plat_irix.lo plat_linux.lo plat_svr4.lo plat_ultrix.lo plat_news.lo plat_openbsd.lo plat_osf1.lo plat_sun.lo plat_scor5.lo drv_sony.lo drv_toshiba.lo -lxine /bin/sh ../../libtool --silent --mode=link gcc -DNDEBUG -O2 -O2 -march=athlon-xp -funroll-loops -pipe -o cddaslave cddaslave.o plat_linux_cdda.o plat_sun_cdda.o audio/libworkmanaudio.la libworkman.la -L/usr/kde/3.2/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lxine make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2/kscd/libwm' make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2/kscd/libwm' make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2/kscd' /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o panel.h ./panel.ui /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o configWidgetUI.h ./configWidgetUI.ui make[3]: *** No rule to make target `kscd.skel', needed by `kvolumecontrol.cpp'. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2/kscd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2/kscd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemultimedia-3.2.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.2.2-r1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make I simply appended kscd_COMPILE_FIRST = kscd.skel to kdemultimedia/kscd/Makefile.am Johnny
unfortunately my comment above doesn't work. I played around with it, but I couldn't follow the dep chain very close. The -j1 trick does work, however.
caleb, could we have this incorporated in the ebuild, namely "-j1" and while i'm at it, this may be OT, could we also have the kdeaddons-3.2.2 gcc-3.4.0 patch in portage TIA
should all be fixed now.