kdelibs/kstyles/keramik with srcdir != builddir doesn't compile

Ralf Nolden nolden at kde.org
Wed Jun 26 18:09:00 BST 2002


On Mittwoch, 26. Juni 2002 18:56, Maksim Orlovich wrote:

fast creating kstyles/keramik/Makefile
source='../../../kstyles/keramik/pixmaploader.cpp' object='pixmaploader.lo' 
libtool=yes \
depfile='.deps/pixmaploader.Plo' tmpdepfile='.deps/pixmaploader.TPlo' \
depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I../../../kstyles/keramik -I../.. -I../../../kdefx 
-I../../kstyles/keramik/ -I../../../dcop -I../../../libltdl 
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio 
-I../../../kio/kfile -I../../.. -I/usr/lib/qt3/include -I/usr/X11R6/include 
-I/opt/kde3/include  -DQT_PLUGIN -DQT_THREAD_SUPPORT  -D_REENTRANT 
-I/opt/kde3/include  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast 
-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  -DQT_NO_TRANSLATION 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -UQT_NO_ASCII_CAST -c 
-o pixmaploader.lo `test -f ../../../kstyles/keramik/pixmaploader.cpp || echo 
'../../../kstyles/keramik/'`../../../kstyles/keramik/pixmaploader.cpp
In file included from 
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.cpp:31:
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.h: 
In method `int Keramik::RowPainter::tileName(unsigned int, unsigned int) 
const':
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.h:272: 
warning: unused parameter `unsigned int row'
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.h: 
In method `int Keramik::ProgressBarPainter::tileName(unsigned int, unsigned 
int) const':
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.h:301: 
warning: unused parameter `unsigned int row'
In file included from 
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.cpp:34:
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaps.keramik: 
At top level:
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaps.keramik:5491: 
warning: missing initializer for member `KeramikEmbedImage::data'
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.cpp: 
In method `class QImage * Keramik::PixmapLoader::getColored(int, const QColor 
&, const QColor &, bool)':
/home/rnolden/Projects/KDE-2.2/kdelibs/release/kstyles/keramik/../../../kstyles/keramik/pixmaploader.cpp:170: 
warning: unused variable `int i'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wbad-function-cast -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  
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT 
-UQT_NO_ASCII_CAST   -o keramik.la.closure keramik_la_closure.lo 
-L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib  -avoid-version -module 
-no-undefined -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib  -module 
keramik.lo pixmaploader.lo keramik_la_meta_unload.lo  ../../kdefx/libkdefx.la
libtool: link: `keramik.lo' is not a valid libtool object
make: *** [keramik.la.closure] Error 1


> On Wed, 26 Jun 2002, Ralf Nolden wrote:
> > Hi, FYI as the subject says, the recent changes break compiling when the
> > builddir isn't the srcdir. I don't have any fixes handy though.
>
> What's the error?

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org




More information about the kde-core-devel mailing list