Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99459 - kdevelop 3.2.1-r1 profileeditor.h:28: error: expected class-name before '{' token
Summary: kdevelop 3.2.1-r1 profileeditor.h:28: error: expected class-name before '{' t...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 12:46 UTC by Hans-Christian Armingeon
Modified: 2005-07-20 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2005-07-18 12:46:34 UTC
make[4]: Leaving directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1/src/profileengine/lib'  
Making all in editor  
make[4]: Entering directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1/src/profileengine/editor'  
rm -rf profileeditorbase.h;  
rm -rf addprofilewidget.h;  
/usr/qt/3/bin/uic -L /usr/kde/3.4/lib/kde3/plugins/designer  
-nounload ./profileeditorbase.ui | /usr/bin/perl -pi -e "s,public  
QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>  
profileeditorbase.h ;  
/usr/qt/3/bin/uic -L /usr/kde/3.4/lib/kde3/plugins/designer  
-nounload ./addprofilewidget.ui | /usr/bin/perl -pi -e "s,public QWizard,public  
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>  
addprofilewidget.h ;  
/usr/qt/3/bin/moc ./profileeditor.h -o profileeditor.moc  
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib  
-I../../../lib/external_interfaces -I../../../lib/interfaces  
-I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib   
-I../../../lib/structure -I/usr/kde/3.4/include -I/usr/qt/3/include -I.    
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef  
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion  
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG  
-O2 -m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -mmmx  
-fno-stack-protector -fPIC -Wformat-security -Wmissing-format-attribute  
-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 main.o  
main.cpp  
In file included from main.cpp:24:  
profileeditor.h:28: error: expected class-name before '{' token  
profileeditor.h:38: error: `QListBoxItem' has not been declared  
profileeditor.h:38: error: ISO C++ forbids declaration of `item' with no type  
profileeditor.h:39: error: `QListViewItem' has not been declared  
profileeditor.h:39: error: ISO C++ forbids declaration of `item' with no type  
profileeditor.h:28: warning: `class ProfileEditor' has virtual functions but  
non-virtual destructor  
main.cpp: In function `int main(int, char**)':  
main.cpp:41: error: 'class ProfileEditor' has no member named 'show'  
main.cpp:42: error: no matching function for call to  
`KApplication::setMainWidget(ProfileEditor*)'  
/usr/qt/3/include/qapplication.h:122: note: candidates are: virtual void  
QApplication::setMainWidget(QWidget*)  
make[4]: *** [main.o] Error 1  
make[4]: *** Waiting for unfinished jobs....  
Session management error: Could not open network socket  
Session management error: Could not open network socket  
make[4]: Leaving directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1/src/profileengine/editor'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1/src/profileengine'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1/src'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/kdevelop-3.2.1-r1/work/kdevelop-3.2.1'  
make: *** [all] Error 2  
  
!!! ERROR: dev-util/kdevelop-3.2.1-r1 failed.  
!!! Function kde_src_compile, Line 164, Exitcode 2  
!!! died running emake, kde_src_compile:make  
!!! If you need support, post the topmost build error, NOT this status message.  
  
 
 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.12-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r4 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r9, 2.16-r1, 2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe 
-mmmx -fno-stack-protector -fPIC" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openjms/config /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/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe 
-mmmx -fno-stack-protector -fPIC" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo" 
MAKEOPTS="-j6" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility 
accounting acl acpi activefilter ada adns afs aim aliaschain alsa amuled ao 
apache2 apm applet ares arts artswrappersuid artworkextra asterisk async athena 
atm auctex audiofile authdaemond avantgo avi bash-completion bcmath berkdb bidi 
bind-mysql bl blas blender-game bluetooth bmp bonobo bootsplash boundchecking 
bri brltty buffysize bzip2 bzlib c++ cairo calendar callbacks camaelon caps 
cdda cddb cdio cdparanoia cdr cgi chasen chroot clearcase clearpasswd clisp 
cmucl cnamefix codecs corba cpdflib cpudetection crypt cscope css ctype cups 
curl curlwrappers customlog daap dbase dbm dbus dbx dedicated devfs26 devmap 
dga dhcp dio directfb divx4linux djbfft dlloader dlz dpms drac dts dv dvb dvd 
dvdr dvdread dynagraph edirectory edl eds elf emacs emboss encode erandom esd 
ethereal evo examples exif extensions extras f77 faac faad fam fame fastcgi fax 
fb fbcon fbdev festival ffcall ffmpeg fftw filepro firebird firefox flac flash 
flatfile flexresp flood floppy-boot floppyboot floppyd florz fltk fluidsynth 
font-server foomaticdb fortran fping fpx frascend freetts freetype frlargefiles 
frxp ftp fwdzone gb gcc-libffi gcj gd gd-external gdbm geoip ggi gif gimpprint 
ginac glitz glut gnokii gnome gnome-print gnomedb gnutls gphoto2 gpm gps 
graphviz gsl gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell howl httpd 
hub ibm iconv icq icu idea idled idn ieee1394 imagemagic imagemagick imap imlib 
imlib2 immqt inetd inifile inline innodb insecure-drivers intl ipalias ipv6 
irda irmc isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks 
jms john joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kdexdeltas 
kerberos kig-scripting koffice-plugin kqemu krb4 ladcca ladspa large-domain 
latex lcd lcms ldap ldb leim lesstif libcaca libclamav libg++ libgda 
libsamplerate libwww lirc live lm_sensors logitech-mouse logrotate lua 
lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox 
mbrola mcal mcve md5sum mecab memlimit messages mgetty mhash mikmod mime ming 
mjpeg mmap mmx mmx2 mmxext mng mod modelock motif mozcalendar mozdevelop 
mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mppe-mppc msn mule 
multicall multipleip multiprocess multislot multitarget musepack mysql mysql41 
mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netboot 
netcdf nethack network neural new-login nfs nis nls nntp non-flattened nptl 
nptlonly nsplugin oav objc odbc offensive ofx ogg oggvorbis openexr opengl osc 
oscar oss pam pam_chroot pam_console pam_timestamp pascal pcap pcapnav pccts 
pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime 
pg-vacuumdelay php physfs pic plotutils png pnp portaudio posix postfix 
postgres povray ppds prelude pri procmail profile pvm pwdb pxeserial pyste 
python qemu-fast qhull qt quicktime quotas radius rar rdesktop readline real 
remote resperl rhino roundrobin rpm rrdtool rtc ruby samba sample sasl sblive 
scanner screen sdk sdl semanticfix sendfile serial server session sftplogging 
sguil shaper shared sharedmem silc simplexml skey slang slp smartcard smime smp 
sms smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota 
soundtouch sox spamassassin speex spell spl sql sqlite srp sse ssl 
static-modules stats stencil-buffer stream streamzap subject-rewrite subtitles 
subversion svg svga syslog sysvipc szip tcltk tcpd termcap-compat test tetex 
tga theora threads tidy tiff timidity tokenizer toolbar transcode 
transparent-proxy truetype truetype-fonts type1-fonts ucs2 udpfromto 
underscores unicode urandom usb userlocales utf8 v4l v4l2 vcd vchroot vda 
vdesktop vhosts vidix vim-with-x virus-scan visualization vlm vmdbmysql 
vmdbpostgres vorbis vpopmail wddx webdav wifi win32codecs winbind wmf wxgtk1 
wxwindows x11vnc xanim xbase xface xforms xfs xim xine xinerama xinetd xml xml2 
xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz yv12 zaptel 
zero-penalty-hit zeroconf zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-19 06:13:35 UTC
Really strange error, I cannot reproduce it here.  
Please try againg with basic CFLAGS and with ccache disabled and with a  
smaller value in MAKEOPTS.  
  
(By the way, I see you're used to report compilation failures almost  
with an automatic method. It would be really helpful for us if you could do 
another try following the directions above any time a failure happens, i.e. 
setting CFLAGS="-O2 -mtune=athlon-4 -fomit-frame-pointer -pipe", 
MAKEOPTS="-j1", FEATURES="-ccache -distcc"... and report the failure only if 
it persists with this settings) 
 
Comment 2 Hans-Christian Armingeon 2005-07-20 12:21:00 UTC
Well, with -j1 and sane CFLAGs it worked. :-( 
 
Is that a bug in the maklefiles, if they aren't -j safe? 
 
I know, that this discussion is nearly the same as flamewars, so I'm setting 
this to Wontfix. 
 
Johnny 
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-07-20 12:41:47 UTC
maybe they can fix it upstream if they know about it? 
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-20 13:18:41 UTC
Nope
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-20 13:25:15 UTC
Don't use fpic in your compiler flags
-> http://www.gentoo.org/proj/en/hardened/pic-internals.xml