Bug 66118 - kdevelop cvs does not compile against kde cvs due to problem with kdockwidget_compat
Summary: kdevelop cvs does not compile against kde cvs due to problem with kdockwidget...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 15:48 UTC by Nick Brown
Modified: 2003-11-01 18:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Brown 2003-10-16 15:48:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

I have used the below method to build the latest KDE etc from CVS.
It all went great except for the final package kdevelop.
(All other packages build/installed fine and I've been using them just fine).
The error I'm seeing during the "make >& make.log" for kdevelop is below.

<Error seen>
Making all in qextmdi
make[3]: Entering directory `/home/kdedevel/kdecvs/build/kdevelop/lib/qextmdi'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I../../../../source/kdevelop/lib/qextmdi -I../.. -I../../../../source/kdevelop/lib/qextmdi/res -I../../../../source/kdevelop/lib/structure -I/home/kdedevel/kdecvs/install/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2 -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  -MT kmdimainfrm.lo -MD -MP -MF ".deps/kmdimainfrm.Tpo" \
  -c -o kmdimainfrm.lo `test -f '../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp' || echo '../../../../source/kdevelop/lib/qextmdi/'`../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp; \
then mv -f ".deps/kmdimainfrm.Tpo" ".deps/kmdimainfrm.Plo"; \
else rm -f ".deps/kmdimainfrm.Tpo"; exit 1; \
fi
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual KMdiToolViewAccessor* KMdiMainFrm::addToolWindow(QWidget*, KDockWidget::DockPosition, QWidget*, int, const QString&, const QString&)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:524: warning: unused variable `const QPixmap&wndIcon'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:526: warning: unused variable `KDockWidget*pCover'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual void KMdiMainFrm::removeWindowFromMdi(KMdiChildView*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:741: warning: unused parameter `KMdiChildView*pWnd'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `QStringList KMdiMainFrm::prepareIdealToTabs(KMdiDockWidget*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: `containedWidgets' undeclared (first use this function)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::idealToolViewsToStandardTabs(QStringList, KDockWidget::DockPosition, int)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1878: warning: unused parameter `int size'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::setActiveToolDock(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2524: warning: unused variable `int offset'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::removeFromActiveDockList(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2536: warning: unused variable `int i2'
make[3]: *** [kmdimainfrm.lo] Error 1
make[3]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop/lib/qextmdi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdedevel/kdecvs/build/kdevelop'
make: *** [all] Error 2
<Error seen>

<Method used>
#Build Qt
su - kdedevel
mkdir kdecvs && cd kdecvs && mkdir source build install
cd source
export CVSROOT=:pserver:anonymous@anoncvs.kde.org:/home/kde
cvs login
cvs co qt-copy
cd qt-copy
make -f Makefile.cvs
cd ../../build/ && mkdir qt-copy
cd qt-copy
export QTDIR=/home/kdedevel/kdecvs/build/qt-copy
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
../../source/qt-copy/configure -system-zlib -qt-gif -system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-stl -no-exceptions -debug -prefix ~/kdecvs/install
make sub-tools >& make.log
make install >& make-install.log
exit

#Build KDE packages
su - kdedevel
export QTDIR=/home/kdedevel/kdecvs/install
export KDEDIR=/home/kdedevel/kdecvs/install
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
export CVSROOT=:pserver:anonymous@anoncvs.kde.org:/home/kde
cvs login
cd kdecvs/source
PACKAGES="arts kdelibs kdebase kdenetwork kdepim kdegraphics kdeutils kdetoys kdeadmin kdesdk kdegames kdemultimedia kdeaddons kdevelop"
cvs co $PACKAGES
cd ..
for package in $PACKAGES
do
  cd source/$package
  make -f Makefile.cvs
  cd ../../build
  mkdir $package
  cd $package
  ../../source/$package/configure --enable-debug=yes --enable-closure --prefix=/home/kdedevel/kdecvs/install
  make >& make.log
  make install >& make-install.log
  cd ../../
done
exit
<Method used>
Comment 1 Nick Brown 2003-10-16 15:49:38 UTC
I removed the silent from libtool command, so that compiler command used can be seen.

/bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I../../../../source/kdevelop/lib/qextmdi -I../.. -I../../../../source/kdevelop/lib/qextmdi/res -I../../../../source/kdevelop/lib/structure -I/home/kdedevel/kdecvs/install/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2 -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  -MT kmdimainfrm.lo -MD -MP -MF ".deps/kmdimainfrm.Tpo"   -c -o kmdimainfrm.lo `test -f '../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp' || echo '../../../../source/kdevelop/lib/qextmdi/'`../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../../../source/kdevelop/lib/qextmdi -I../.. -I../../../../source/kdevelop/lib/qextmdi/res -I../../../../source/kdevelop/lib/structure -I/home/kdedevel/kdecvs/install/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2 -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 -MT kmdimainfrm.lo -MD -MP -MF .deps/kmdimainfrm.Tpo -c ../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp  -fPIC -DPIC -o .libs/kmdimainfrm.o
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual KMdiToolViewAccessor* KMdiMainFrm::addToolWindow(QWidget*, KDockWidget::DockPosition, QWidget*, int, const QString&, const QString&)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:524: warning: unused variable `const QPixmap&wndIcon'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:526: warning: unused variable `KDockWidget*pCover'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `virtual void KMdiMainFrm::removeWindowFromMdi(KMdiChildView*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:741: warning: unused parameter `KMdiChildView*pWnd'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `QStringList KMdiMainFrm::prepareIdealToTabs(KMdiDockWidget*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: `containedWidgets' undeclared (first use this function)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1867: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::idealToolViewsToStandardTabs(QStringList, KDockWidget::DockPosition, int)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:1878: warning: unused parameter `int size'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::setActiveToolDock(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2524: warning: unused variable `int offset'
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp: In member function `void KMdiMainFrm::removeFromActiveDockList(KMdiDockContainer*)':
../../../../source/kdevelop/lib/qextmdi/kmdimainfrm.cpp:2536: warning: unused variable `int i2'
Comment 2 Amilcar do Carmo Lucas 2003-10-16 18:31:34 UTC
Like it says in
http://www.kdevelop.org/index.html?filename=bugs.html

You should not report compilation errors to the bug database. For compilation errors use the mailing list instead.
Comment 3 Amilcar do Carmo Lucas 2003-11-01 18:03:54 UTC
AFAIK this is fixed now.