g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -Wall -Wall -c -o kextractdlg.o `test -f 'kextractdlg.cpp' || echo './'`kextractdlg.cpp Successfully remade target file `kextractdlg.o'. File `kfilecoder.o' does not exist. Must remake target `kfilecoder.o'. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -Wall -Wall -c -o kfilecoder.o `test -f 'kfilecoder.cpp' || echo './'`kfilecoder.cpp In file included from kfilecoder.cpp:63: kfilecoderdoc.h:115: parse error before `.' token make[3]: *** [kfilecoder.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kfilecoder-0.6.0_pre1/work/kfilecoder-0.6.0-pre1/kfilecoder' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kfilecoder-0.6.0_pre1/work/kfilecoder-0.6.0-pre1/kfilecoder' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kfilecoder-0.6.0_pre1/work/kfilecoder-0.6.0-pre1' make: *** [all] Error 2 With qt-3.1.2-r3 and kde 3.1.1a. I tried making a quick ebuild for kfilecoder 0.6.0 final version but the results were more or less the same. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gaming-r2 i686 Pentium III (Coppermine) GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo ftp://sunsite.auc.dk/mirrors/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif opengl mozilla aalib acl -afs alsa athena bonobo canna cdr cjk curl dga dnd dvb dvd directfb doc esd ethereal fbcon firebird flash freetds freewnn gd ggi gphoto2 gps gtk2 imap innodb ipv6 jikes kerberos lcms ldap leim lucid mbox mozaccess mozcalendar mozinterfaceinfo mozp3p mozsvg mozxmlterm mule mysql nas neXt -nptl oav objc oci8 odbc pda pnp postgres ruby samba scanner slp snmp sse tcltk tetex tiff Xaw3d xface xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -Os -pipe" CXXFLAGS="-march=pentium3 -Os -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="--debug" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache"
Could you check whether you don't have some other kfilecoderdoc.h lingering about as there is no point anywhere near line 115 in my source, and it builds correctly
Closing this as a WORKSFORME - sounds like the poster has a stale file hanging around somewhere.