This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems During Make Process

Tags: None
(comma "," separated)
rhighfil82
Registered Member
Posts
5
Karma
0

Problems During Make Process

Mon Feb 02, 2009 1:04 pm
I'm getting roughly the same errors, whether I try to make the 3.2rc1 version, or the 3.1.6.. The end looks like this:

Code: Select all
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/webseedsmodel.cpp:137: warning: comparison between signed and unsigned integer expressions
[ 50%] Building CXX object plugins/infowidget/CMakeFiles/ktinfowidgetplugin.dir/infowidgetpluginsettings.o
Linking CXX shared module ../../lib/ktinfowidgetplugin.so
CMakeFiles/ktinfowidgetplugin.dir/trackerview.o: In function `kt::TrackerView::torrentChanged(bt::TorrentInterface*)':
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:199: undefined reference to `KSqueezedTextLabel::clear()'
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:200: undefined reference to `KSqueezedTextLabel::clear()'
CMakeFiles/ktinfowidgetplugin.dir/trackerview.o: In function `kt::TrackerView::update()':
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:189: undefined reference to `KSqueezedTextLabel::clear()'
CMakeFiles/ktinfowidgetplugin.dir/trackerview.o: In function `TrackerView':
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:60: undefinedreference to `KSqueezedTextLabel::clear()'
/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:63: undefinedreference to `KSqueezedTextLabel::clear()'
CMakeFiles/ktinfowidgetplugin.dir/trackerview.o:/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6/plugins/infowidget/trackerview.cpp:60: more undefined references to `KSqueezedTextLabel::clear()' follow
collect2: ld returned 1 exit status
make[2]: *** [lib/ktinfowidgetplugin.so] Error 1
make[1]: *** [plugins/infowidget/CMakeFiles/ktinfowidgetplugin.dir/all] Error 2
make: *** [all] Error 2
linux-6y6q:/home/shauna/Documents/LinuxSetups/KtorrentSrc/ktorrent-3.1.6 #


Any ideas?
George
Moderator
Posts
5421
Karma
1

Mon Feb 02, 2009 5:11 pm
Which KDE version are you using ?
rhighfil82
Registered Member
Posts
5
Karma
0

ktorrent

Mon Feb 02, 2009 6:34 pm
Kde4 on Opensuse 11.1
rhighfil82
Registered Member
Posts
5
Karma
0

Mon Feb 02, 2009 10:11 pm
I just remembered another piece of info that might help... for some reason, the version of ktorrent that I got with opensuse 11.1 had quit working after a hard reboot, I'm told (which is what sparked my interest in building a newer version.. hopefully with RSS and DHT)
This is what happens when trying to run kTorrent 3.1.5-17.16:

Code: Select all
linux-6y6q:~ # ktorrent
ktorrent(19408)/kdeui (K*Gesture*) KAction::setGlobalShortcut: Attempt to set global shortcut for action without objectName(). Read the setGlobalShortcut() documentation.
ktorrent: symbol lookup error: /usr/lib/kde4/ktinfowidgetplugin.so: undefined symbol: _ZN18KSqueezedTextLabel5clearEv
<unknown program name>(19407)/: Communication problem with  "ktorrent" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "


I'm 100% sure that I have no idea what I lost during the reboot, but it seems to affect anything having to do with ktorrent and infowidgetplugin.. Maybe I've lost a dependency somewhere?
George
Moderator
Posts
5421
Karma
1

Tue Feb 03, 2009 11:15 am
Which KDE 4 version ?
rhighfil82
Registered Member
Posts
5
Karma
0

Wed Feb 04, 2009 2:38 am
KDE 4.1.3
George
Moderator
Posts
5421
Karma
1

Wed Feb 04, 2009 10:38 am
Code: Select all
linux-6y6q:~ # ktorrent
ktorrent(19408)/kdeui (K*Gesture*) KAction::setGlobalShortcut: Attempt to set global shortcut for action without objectName(). Read the setGlobalShortcut() documentation.
ktorrent: symbol lookup error: /usr/lib/kde4/ktinfowidgetplugin.so: undefined symbol: _ZN18KSqueezedTextLabel5clearEv
<unknown program name>(19407)/: Communication problem with  "ktorrent" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "


This means that the ktorrent you are starting up was compiled against a newer version of the kde, and now it is trying to use an older version.

You need to reinstall ktorrent, probably the best way to fix this.

EDIT: looking at your original compile errors, I think you have some sort of weird mix of old and new kde. KSqueezedTextLabel::clear (the missing symbol) is part of KDE 4.2 but not of KDE 4.1. So it's like you are using the header files of 4.2 to compile but you are linking against KDE 4.1 libraries.
rhighfil82
Registered Member
Posts
5
Karma
0

Thu Feb 05, 2009 6:48 pm
Okay, that kinda makes sense... cause I figured kde might have been broken after that reboot.. I'mma try to reinstall it all, and see if it works then.. thanks


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar