Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11904 - kopete-0.5-1 doesn't compile under kde 3.0.4
Summary: kopete-0.5-1 doesn't compile under kde 3.0.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://www.cron.cl/kopete/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-10 11:50 UTC by Quequero
Modified: 2002-12-16 21:12 UTC (History)
1 user (show)

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 Quequero 2002-12-10 11:50:15 UTC
I've always used kopete, but since recompilation of kde-3.0.4 it doesn't 
compile anymore (all other apps are ok, i've tried to not patching kopete with 
qt-patch, but i get the same error)...dunno why, look here: 
 
errors star here:  
  
echo '#include "addwizardui.moc"' >> addwizardui.cpp  
source='addwizardui.cpp' object='addwizardui.lo' libtool=yes \  
depfile='.deps/addwizardui.Plo' tmpdepfile='.deps/addwizardui.TPlo' \  
depmode=gcc3 /bin/sh ../../../admin/depcomp \  
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H  
-I. -I. -I../../.. -I../../../kopete/libkopete -I/usr/kde/3/include  
-I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor  
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes  
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align  
-Wconversion -O2 -fno-exceptions -fno-check-new  -c -o addwizardui.lo `test -f  
addwizardui.cpp || echo './'`addwizardui.cpp  
addwizardui.cpp: In constructor `addWizardUI::addWizardUI(QWidget*, const  
   char*, bool, unsigned int)':  
   addwizardui.cpp:4666: invalid use of undefined type `struct KListView'  
   addwizardui.h:19: forward declaration of `struct KListView'  
   addwizardui.cpp:4667: invalid use of undefined type `struct KListView'  
   addwizardui.h:19: forward declaration of `struct KListView'  
   addwizardui.cpp:4668: invalid use of undefined type `struct KListView'  
   addwizardui.h:19: forward declaration of `struct KListView'  
   addwizardui.cpp:4668: invalid use of undefined type `struct KListView'  
   addwizardui.h:19: forward declaration of `struct KListView'  
   addwizardui.cpp:4669: invalid use of undefined type `struct KListView'  
   addwizardui.h:19: forward declaration of `struct KListView'  
   addwizardui.cpp:4670: no matching function for call to  
`QHBoxLayout::addWidget(  
      KListView*&)'  
      /usr/qt/3/include/qlayout.h:378: candidates are: void  
         QBoxLayout::addWidget(QWidget*, int = 0, int = 0)  
 addwizardui.cpp:4674: invalid use of undefined type `struct KPushButton'  
 addwizardui.h:20: forward declaration of `struct KPushButton'  
 addwizardui.cpp:4675: no matching function for call to  
`QVBoxLayout::addWidget(  
    KPushButton*&)'  
    /usr/qt/3/include/qlayout.h:378: candidates are: void  
       QBoxLayout::addWidget(QWidget*, int = 0, int = 0)  
       addwizardui.cpp:4706: invalid use of undefined type `struct KListView'  
       addwizardui.h:19: forward declaration of `struct KListView'  
       addwizardui.cpp:4707: invalid use of undefined type `struct KListView'  
       addwizardui.h:19: forward declaration of `struct KListView'  
       addwizardui.cpp:4708: invalid use of undefined type `struct KListView'  
       addwizardui.h:19: forward declaration of `struct KListView'  
       addwizardui.cpp:4708: invalid use of undefined type `struct KListView'  
       addwizardui.h:19: forward declaration of `struct KListView'  
       addwizardui.cpp:4709: invalid use of undefined type `struct KListView'  
       addwizardui.h:19: forward declaration of `struct KListView'  
       addwizardui.cpp:4710: no matching function for call to  
`QVBoxLayout::addWidget(  
          KListView*&)'  
  /usr/qt/3/include/qlayout.h:378: candidates are: void  
     QBoxLayout::addWidget(QWidget*, int = 0, int = 0)  
     addwizardui.cpp: In member function `virtual void  
        addWizardUI::languageChange()':  
addwizardui.cpp:4769: invalid use of undefined type `struct KListView'  
addwizardui.h:19: forward declaration of `struct KListView'  
addwizardui.cpp:4770: invalid use of undefined type `struct KPushButton'  
addwizardui.h:20: forward declaration of `struct KPushButton'  
addwizardui.cpp:4774: invalid use of undefined type `struct KListView'  
addwizardui.h:19: forward declaration of `struct KListView'  
make[4]: *** [addwizardui.lo] Error 1  
make[4]: Leaving directory `/home/quequero/kopete-0.5-1/kopete/libkopete/ui'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory `/home/quequero/kopete-0.5-1/kopete/libkopete'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory `/home/quequero/kopete-0.5-1/kopete'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/home/quequero/kopete-0.5-1'  
make: *** [all] Error 2  
 
 
*  kde-base/kdebase 
      Latest version available: 3.0.4-r3 
      Latest version installed: 3.0.4-r3 
      Size of downloaded files: 12,803 kB 
      Homepage:    http://www.kde.org/ 
 
*  x11-libs/qt 
      Latest version available: 3.1.0-r1 
      Latest version installed: 3.1.0-r1 
      Size of downloaded files: 13,062 kB 
      Homepage:    http://www.trolltech.com/ 
 
thanx for your work
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-10 13:39:53 UTC
did you re-emerge kdelibs after qt upgrade? maybe this is needed. 
 
danarmak: this looks like the old kde_widgetdir-problem. 
Comment 2 Quequero 2002-12-10 15:09:57 UTC
of coz i recompiled kdebase and kdelibs after qt upgrade
Que :)
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-12-14 14:48:21 UTC
kopete's admin/ dir is recent enough, it includes the fix for problems of this sort that 
solved the issue originally. Hm... 
 
Let's have some more info. Please attach your Makefile from the kopete workdir and 
your ~/.qt/qtrc file. Also, do you have a /usr/qt/3/etc/config dir? And, if a qtrc file exists 
there as well, please attach it too. 
Comment 4 Quequero 2002-12-14 20:44:31 UTC
Dunno why but now it works, i've updated portage and some libs (emerge -u --deep world) and now there 
are no more probs, btw i haven't recompiled kdelibs (i did it when i emerged qt 3.1), if you need some 
feedback, tell me, thanx for your work

Que
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-15 19:44:05 UTC
this can now be closed, or am i wrong? 
Comment 6 Quequero 2002-12-16 10:07:44 UTC
yes of coz..if i'll be able to reproduce the bug i'll post here, thanx a lot
Que
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-16 21:12:42 UTC
couldn't be reproduced, not even by the reporter.