Linkage problem with kde 4.2 and plasmoids

Florian Sievert floriansievert at phobeus.de
Thu Jan 22 19:42:28 UTC 2009


Hi,

I am trying to compile some plasmoids again kde 4.2 from the testing
repository and encouter some kind of linkage problem, I don't unstand.
It looks like he tries to link again the wrong version, but:
kdebase-workspace-devel.i386                                                                                          
4.1.96-4.fc10
kdelibs-devel.i386                                                                                                    
6:4.1.96-9.fc10
kdepimlibs-devel.i386                                                                                                 
4.1.96-2.fc10

I really have no idea, what going wrong. I am looking forward to any
hint. I attached the console output of the problem bellow.

btw: I tried to send this message some days ago, not sure where it went
or if I just dreamed it ;)

Best regards,
Florian
---
[...]
[100%] Building CXX object
CMakeFiles/plasma_applet_stock_quote.dir/stock.o                                                                                                                                                                 

Linking CXX shared module
lib/plasma_applet_stock_quote.so                                                                                                                                                                                  

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function `PlasmaStockQuote::qt_metacast(char
const*)':                                                                                                                    

/home/phobeus/temp/quote/plasma_stock_quote-1.1/build/plasma_stock_quote.moc:59:
undefined reference to `Plasma::Applet::qt_metacast(char
const*)'                                                                                          

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function
`PlasmaStockQuote':                                                                                                                                              

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:36:
undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant>
const&)'                                                                                

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:38:
undefined reference to
`Plasma::Applet::setBackgroundHints(QFlags<Plasma::Applet::BackgroundHint>)'                                                              

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:39:
undefined reference to
`Plasma::Applet::setAspectRatioMode(Plasma::AspectRatioMode)'                                                                             

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:40:
undefined reference to
`Plasma::Applet::setHasConfigurationInterface(bool)'                                                                                      

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:36:
undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant>
const&)'                                                                                

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:38:
undefined reference to
`Plasma::Applet::setBackgroundHints(QFlags<Plasma::Applet::BackgroundHint>)'                                                              

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:39:
undefined reference to
`Plasma::Applet::setAspectRatioMode(Plasma::AspectRatioMode)'                                                                             

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:40:
undefined reference to
`Plasma::Applet::setHasConfigurationInterface(bool)'                                                                                      

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function
`PlasmaStockQuote::configAccepted()':                                                                                                                            

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:173:
undefined reference to
`Plasma::Applet::configNeedsSaving()'                                                                                                    

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function `PlasmaStockQuote::qt_metacall(QMetaObject::Call, int,
void**)':                                                                                                 

/home/phobeus/temp/quote/plasma_stock_quote-1.1/build/plasma_stock_quote.moc:65:
undefined reference to `Plasma::Applet::qt_metacall(QMetaObject::Call,
int,
void**)'                                                                       

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function
`~PlasmaStockQuote':                                                                                                                                             

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:50:
undefined reference to `Plasma::Applet::hasFailedToLaunch()
const'                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:59:
undefined reference to
`Plasma::Applet::~Applet()'                                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:59:
undefined reference to
`Plasma::Applet::~Applet()'                                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:52:
undefined reference to `Plasma::Applet::config()
const'                                                                                                          

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:50:
undefined reference to `Plasma::Applet::hasFailedToLaunch()
const'                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:59:
undefined reference to
`Plasma::Applet::~Applet()'                                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:52:
undefined reference to `Plasma::Applet::config()
const'                                                                                                          

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:50:
undefined reference to `Plasma::Applet::hasFailedToLaunch()
const'                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:59:
undefined reference to
`Plasma::Applet::~Applet()'                                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:59:
undefined reference to
`Plasma::Applet::~Applet()'                                                                                                               

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:52:
undefined reference to `Plasma::Applet::config()
const'                                                                                                          

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function
`PlasmaStockQuote::init()':                                                                                                                                      

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:68:
undefined reference to `Plasma::Applet::config()
const'                                                                                                          

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o: In
function
`PlasmaStockQuote::createConfigurationInterface(KConfigDialog*)':                                                                                                

/home/phobeus/temp/quote/plasma_stock_quote-1.1/plasma_stock_quote.cpp:248:
undefined reference to `Plasma::Applet::icon()
const'                                                                                                           

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro+0x0):
undefined reference to
`Plasma::Applet::staticMetaObject'                                                                                                 

CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x20): undefined reference to
`Plasma::Applet::eventFilter(QObject*,
QEvent*)'                              
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x24): undefined reference to
`Plasma::Applet::timerEvent(QTimerEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x40): undefined reference to
`Plasma::Applet::type() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x44): undefined reference to
`Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x48): undefined reference to
`Plasma::Applet::paintWindowFrame(QPainter*, QStyleOptionGraphicsItem
const*, QWidget*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x50): undefined reference to
`Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x58): undefined reference to
`Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x60): undefined reference to
`Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange, QVariant
const&)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x7c): undefined reference to
`Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x94): undefined reference to
`Plasma::Applet::resizeEvent(QGraphicsSceneResizeEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xa0): undefined reference to
`Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xb4): undefined reference to
`Plasma::Applet::save(KConfigGroup&) const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xb8): undefined reference to
`Plasma::Applet::restore(KConfigGroup&)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xbc): undefined reference to
`Plasma::Applet::formFactor() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xc0): undefined reference to
`Plasma::Applet::location() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xc8): undefined reference to
`Plasma::Applet::contextualActions()'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xcc): undefined reference to
`Plasma::Applet::isPopupShowing() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xd0): undefined reference to
`Plasma::Applet::addAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xd4): undefined reference to
`Plasma::Applet::removeAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xd8): undefined reference to
`Plasma::Applet::initExtenderItem(Plasma::ExtenderItem*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xdc): undefined reference to
`Plasma::Applet::destroy()'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xe0): undefined reference to
`Plasma::Applet::showConfigurationInterface()'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xe8): undefined reference to
`Plasma::Applet::configChanged()'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xec): undefined reference to
`Plasma::Applet::saveState(KConfigGroup&) const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xf4): undefined reference to
`Plasma::Applet::constraintsEvent(QFlags<Plasma::Constraint>)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xf8): undefined reference to
`Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0xfc): undefined reference to
`Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x100): undefined reference to
`Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x11c): undefined reference to `non-virtual thunk
to Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x134): undefined reference to `non-virtual thunk
to Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x138): undefined reference to `non-virtual thunk
to Plasma::Applet::type() const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x13c): undefined reference to `non-virtual thunk
to Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x158): undefined reference to `non-virtual thunk
to Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x160): undefined reference to `non-virtual thunk
to Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x168): undefined reference to `non-virtual thunk
to Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x178): undefined reference to `non-virtual thunk
to Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x190): undefined reference to `non-virtual thunk
to Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange,
QVariant const&)'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTV16PlasmaStockQuote[vtable
for PlasmaStockQuote]+0x1bc): undefined reference to `non-virtual thunk
to Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_stock_quote.dir/plasma_stock_quote.o:(.data.rel.ro._ZTI16PlasmaStockQuote[typeinfo
for PlasmaStockQuote]+0x8): undefined reference to `typeinfo for
Plasma::Applet'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [lib/plasma_applet_stock_quote.so] Fehler 1
make[1]: *** [CMakeFiles/plasma_applet_stock_quote.dir/all] Fehler 2
make: *** [all] Fehler 2



More information about the kde mailing list