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

Howto build on KDE 4.2?

Tags: None
(comma "," separated)
imported4-liquidat
Registered Member
Posts
27
Karma
0

Howto build on KDE 4.2?

Tue Jan 27, 2009 7:06 pm
Hi,
I'd like to build the newest ktorrent 3.1.6 on KDE 4.2 - however, that fails:

Code: Select all
Building CXX object plugins/infowidget/CMakeFiles/ktinfowidgetplugin.dir/statustab.o
cd /builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu/plugins/infowidget && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DENABLE_DHT_SUPPORT -Dktinfowidgetplugin_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu/plugins/infowidget -I/builddir/build/BUILD/ktorrent-3.1.6/plugins/infowidget -I/builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu/libktcore -I/builddir/build/BUILD/ktorrent-3.1.6/libktcore -I/builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu/libbtcore -I/builddir/build/BUILD/ktorrent-3.1.6/libbtcore -I/builddir/build/BUILD/ktorrent-3.1.6 -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default   -fexceptions -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/ktinfowidgetplugin.dir/statustab.o -c /builddir/build/BUILD/ktorrent-3.1.6/plugins/infowidget/statustab.cpp
CMakeFiles/ktlogviewerplugin.dir/logviewerplugin.o: In function `kt::LogViewerPlugin::unload()':
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewerplugin.cpp:67: undefined reference to `
bt::RemoveLogMonitor(bt::LogMonitorInterface*)'
CMakeFiles/ktlogviewerplugin.dir/logviewerplugin.o: In function `kt::LogViewerPlugin::load()':
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewerplugin.cpp:58: undefined reference to `bt::AddLogMonitor(bt::LogMonitorInterface*)'
CMakeFiles/ktlogviewerplugin.dir/logviewer.o: In function `~LogViewer':
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
CMakeFiles/ktlogviewerplugin.dir/logviewer.o:/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:58: more undefined references to `bt::LogMonitorInterface::~LogMonitorInterface()' follow
CMakeFiles/ktlogviewerplugin.dir/logviewer.o: In function `LogViewer':
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:44: undefined reference to `bt::LogMonitorInterface::LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:52: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:44: undefined reference to `bt::LogMonitorInterface::LogMonitorInterface()'
/builddir/build/BUILD/ktorrent-3.1.6/plugins/logviewer/logviewer.cpp:52: undefined reference to `bt::LogMonitorInterface::~LogMonitorInterface()'
CMakeFiles/ktlogviewerplugin.dir/logviewer.o:(.data.rel.ro._ZTIN2kt9LogViewerE[typeinfo for kt::LogViewer]+0x28): undefined reference to `typeinfo for bt::LogMonitorInterface'
collect2: ld returned 1 exit status
make[2]: Leaving directory `/builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/ktorrent-3.1.6/x86_64-redhat-linux-gnu/CMakeFiles
make[2]: *** [lib/ktlogviewerplugin.so] Error 1


Is this related to the cmake changes?
George
Moderator
Posts
5421
Karma
1

Tue Jan 27, 2009 7:10 pm


Bookmarks



Who is online

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