/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i386-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include/kio -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/include/db4.2 -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 -O3 -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 -c -o plugin_skel.lo plugin_skel.cpp In file included from plugin.h:25, from plugin_skel.cpp:9: mainWidget.h:39: error: syntax error before `{' token mainWidget.h:40: error: virtual outside class declaration mainWidget.h:40: error: non-member function `const char* className()' cannot have `const' method qualifier mainWidget.h:40: error: virtual outside class declaration mainWidget.h:40: error: virtual outside class declaration mainWidget.h:40: error: virtual outside class declaration mainWidget.h:40: error: virtual outside class declaration mainWidget.h: In function `QObject* qObject()': mainWidget.h:40: error: invalid use of `this' in non-member function mainWidget.h: At global scope: mainWidget.h:40: error: syntax error before `private' mainWidget.h:43: error: destructors must be member functions mainWidget.h:49: error: non-member function `QStringList tags()' cannot have ` const' method qualifier mainWidget.h:55: error: non-member function `QStringList bookmarks()' cannot have `const' method qualifier mainWidget.h:62: error: syntax error before `public' mainWidget.h:95: error: `QListViewItem' was not declared in this scope mainWidget.h:95: error: `item' was not declared in this scope mainWidget.h:95: error: variable or field `slotBookmarkExecuted' declared void mainWidget.h:100: error: type specifier omitted for parameter `QListViewItem' mainWidget.h:100: error: syntax error before `*' token mainWidget.h:105: error: `QListViewItem' was not declared in this scope mainWidget.h:105: error: `item' was not declared in this scope mainWidget.h:105: error: syntax error before `&' token mainWidget.h:110: error: `QListViewItem' was not declared in this scope mainWidget.h:110: error: `item' was not declared in this scope mainWidget.h:110: error: syntax error before `&' token mainWidget.h:142: error: syntax error before `protected' mainWidget.h:153: error: syntax error before `private' mainWidget.h:173: error: syntax error before `}' token In file included from plugin_skel.cpp:9: plugin.h:82: error: syntax error before `*' token mainWidget.h:40: warning: `bool qt_static_property(QObject*, int, int, QVariant*)' declared `static' but never defined mainWidget.h:40: warning: `QMetaObject* staticMetaObject()' declared `static' but never defined make[5]: *** [plugin_skel.lo] Erreur 1 Here is my emerge --info : Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/" LC_ALL="fr_FR.UTF-8" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi alsa amuled apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bl bzip2 cdr cpudetection crypt cups curl dga dts dv dvb dvd dvdread edl eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac foomaticdb fortran gdbm ggi gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imap imlib ipv6 jack java jpeg junit kde lcms ldap libcaca libg++ libwww live lzo mad matroska mhash mikmod mime mmx mmxext mng mono motif mozilla mozsvg mp3 mpeg mysql ncurses network nls ogg oggvorbis openal opengl oracle oss pam pcre pdflib perl png python qt quicktime readline real remote rtx samba sdl silc speex spell sse sse2 ssl svg svga tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb v41 v412 vorbis win32codecs xanim xine xinerama xml2 xmms xv xvid xvmc zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Note this happened when i was doing a : emerge -u world
can you try again with MAKEOPTS="". Looks like a parallel make error.
Thank you, your solution is working ! This was a parellel make error.
*** Bug 129784 has been marked as a duplicate of this bug. ***
*** Bug 136286 has been marked as a duplicate of this bug. ***