[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Unable to compile kdelibs for some time...
From: Bjorn Westlin <bjorn.westlin () telia ! com>
Date: 2002-04-23 20:43:33
[Download RAW message or body]
Hi.
I have been unable to compile kdelibs from CVS for some time now, due to some
problems in svgicons. Here is the output from make:
/bin/sh ../../libtool --mode=link --tag=CXX c++ -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 -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=athlon
-march=i386 -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o ksvgtopng
ksvgtopng.o libkdesvgicons.la -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv
-lSM -lICE -lpthread -L/usr/X11R6/lib -L/opt/lib/qt-copy/lib -L/opt/kde3/lib
objprelink ksvgtopng.o
c++ -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 -DNDEBUG
-DNO_DEBUG -O2 -O3 -mcpu=athlon -march=i386 -fno-exceptions -fno-check-new
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o
ksvgtopng ksvgtopng.o ./.libs/libkdesvgicons.a
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../.. -lstdc++ -lc -lgcc
-lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread
-L/usr/X11R6/lib -L/opt/lib/qt-copy/lib -L/opt/kde3/lib
./.libs/libkdesvgicons.a(ksvgiconengine.o): In function
`KSVGIconEngine::load(int, int, QString const &)':
ksvgiconengine.o(.text+0xb5): undefined reference to
`QDomDocument::setContent(QIODevice *, QString *, int *, int *)'
./.libs/libkdesvgicons.a(ksvgiconengine.o)(.QPtrCollection::gnu.linkonce.t.stub.newItem(void
*)+0x1): undefined reference to `QPtrCollection::newItem(void *)'
collect2: ld returned 1 exit status
make: *** [ksvgtopng] Error 1
It seems like the linker is trying to link against an older version of QT
which seems natural due to the
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../.. flag which
translates to /usr/lib where QT2 is installed on my machine.
Also I have been unable to compile libkscan/scandialog.cpp in kdegraphics
because -I/usr/include coming before -I/opt/kde3/include which as I
understand it makes it compile against kde2.2.
I'm running Mandrake 8.1 with kde2.2. Do I really have to uninstall the whole
kde2.2 to be able to compile kde3? I really would like to keep it...
Any help would be appreciated.
/ Björn
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic