On 05/03/2011 09:48 PM, David C. Rankin wrote:
On 05/03/2011 02:27 AM, Serghei Amelian wrote:
On Tuesday 03 May 2011 09:32:11 Timothy Pearson
wrote:
Hi Serghei,
I rebuilt Amarok with the new CMake support, but it is still failing:
https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-nightly-b
uilds/+build/4033:
cmake -DWITH_IFP=ON -DWITH_NJB=ON -DWITH_MTP=ON -DWITH_DAAP=ON ...
I'll give it a try, but I also get a build failure:
In function `Amarok::Menu::helpMenu(QWidget*)':
actionclasses.cpp:(.text+0x1205): undefined reference to `Amarok::aboutData'
collect2: ld returned 1 exit status
make[2]: *** [amarok/src/libamarok.so.0.0.0] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-app-amarok/src/build'
make[1]: *** [amarok/src/CMakeFiles/amarok-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-app-amarok/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
It occurs at 70%...
Serghei,
Here is the full error:
[ 71%] Building CXX object
amarok/src/CMakeFiles/amarok-shared.dir/editfilterdialog.cpp.o
cd /home/david/tblds/trinity-app-amarok/src/build/amarok/src && /usr/bin/c++
-Damarok_shared_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe
-fpermissive -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -fPIC -I/home/david/tblds/trinity-app-amarok/src/build/amarok/src
-I/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src
-I/home/david/tblds/trinity-app-amarok/src/build
-I/home/david/tblds/trinity-app-amarok/src/build/amarok/src/amarokcore
-I/home/david/tblds/trinity-app-amarok/src/build/amarok/src/magnatunebrowser
-I/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/amarokcore
-I/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/analyzers
-I/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/statusbar
-I/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/plugin
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
-I/usr/include/taglib -o CMakeFiles/amarok-shared.dir/editfilterdialog.cpp.o
-c /home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/editfilterdialog.cpp
Linking CXX shared library libamarok.so
cd /home/david/tblds/trinity-app-amarok/src/build/amarok/src && /usr/bin/cmake
-E cmake_link_script CMakeFiles/amarok-shared.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fpermissive
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,--no-undefined -shared -Wl,-soname,libamarok.so.0 -o libamarok.so.0.0.0
CMakeFiles/amarok-shared.dir/Options1.cpp.o
CMakeFiles/amarok-shared.dir/Options2.cpp.o
CMakeFiles/amarok-shared.dir/Options4.cpp.o
CMakeFiles/amarok-shared.dir/Options5.cpp.o
CMakeFiles/amarok-shared.dir/Options7.cpp.o
CMakeFiles/amarok-shared.dir/Options8.cpp.o
CMakeFiles/amarok-shared.dir/actionclasses.cpp.o
CMakeFiles/amarok-shared.dir/app.cpp.o
CMakeFiles/amarok-shared.dir/atomicstring.cpp.o
CMakeFiles/amarok-shared.dir/atomicurl.cpp.o
CMakeFiles/amarok-shared.dir/browserbar.cpp.o
CMakeFiles/amarok-shared.dir/clicklineedit.cpp.o
CMakeFiles/amarok-shared.dir/collectionbrowser.cpp.o
CMakeFiles/amarok-shared.dir/collectiondb.cpp.o
CMakeFiles/amarok-shared.dir/columnlist.cpp.o
CMakeFiles/amarok-shared.dir/configdialog.cppup.cpp.o
CMakeFiles/amarok-shared.dir/deletedialog.cpp.o
CMakeFiles/amarok-shared.dir/deletedialogbase.cpp.o
CMakeFiles/amarok-shared.dir/deviceconfiguredialog.cpp.o
CMakeFiles/amarok-shared.dir/devicemanager.cpp.o
CMakeFiles/amarok-shared.dir/directorylist.cpp.o
CMakeFiles/amarok-shared.dir/dynamicmode.cpp.o
CMakeFiles/amarok-shared.dir/enginebase.cpp.o
CMakeFiles/amarok-shared.dir/enginecontroller.cpp.o
CMakeFiles/amarok-shared.dir/engineobserver.cpp.o
CMakeFiles/amarok-shared.dir/equalizergraph.cpp.o
CMakeFiles/amarok-shared.dir/equalizerpresetmanager.cpp.o
CMakeFiles/amarok-shared.dir/equalizersetup.cpp.o
CMakeFiles/amarok-shared.dir/expression.cpp.o
CMakeFiles/amarok-shared.dir/fht.cpp.o
CMakeFiles/amarok-shared.dir/filebrowser.cpp.o
CMakeFiles/amarok-shared.dir/firstrunwizard.cpp.o
CMakeFiles/amarok-shared.dir/hintlineedit.cpp.o
CMakeFiles/amarok-shared.dir/htmlview.cpp.o
CMakeFiles/amarok-shared.dir/iconloader.cpp.o
CMakeFiles/amarok-shared.dir/k3bexporter.cpp.o
CMakeFiles/amarok-shared.dir/kbookmarkhandler.cpp.o
CMakeFiles/amarok-shared.dir/ktrm.cpp.o
CMakeFiles/amarok-shared.dir/lastfm.cpp.o
CMakeFiles/amarok-shared.dir/mediabrowser.cpp.o
CMakeFiles/amarok-shared.dir/mediadevicemanager.cpp.o
CMakeFiles/amarok-shared.dir/medium.cpp.o
CMakeFiles/amarok-shared.dir/mediumpluginmanager.cpp.o
CMakeFiles/amarok-shared.dir/metabundle.cpp.o
CMakeFiles/amarok-shared.dir/metabundlesaver.cpp.o
CMakeFiles/amarok-shared.dir/moodbar.cpp.o
CMakeFiles/amarok-shared.dir/mountpointmanager.cpp.o
CMakeFiles/amarok-shared.dir/multitabbar.cpp.o
CMakeFiles/amarok-shared.dir/mydiroperator.cpp.o
CMakeFiles/amarok-shared.dir/newdynamic.cpp.o
CMakeFiles/amarok-shared.dir/organizecollectiondialog.cpp.o
CMakeFiles/amarok-shared.dir/osd.cpp.o
CMakeFiles/amarok-shared.dir/pixmapviewer.cpp.o
CMakeFiles/amarok-shared.dir/playerwindow.cpp.o
CMakeFiles/amarok-shared.dir/playlist.cpp.o
CMakeFiles/amarok-shared.dir/playlistbrowser.cpp.o
CMakeFiles/amarok-shared.dir/playlistbrowseritem.cpp.o
CMakeFiles/amarok-shared.dir/playlistitem.cpp.o
CMakeFiles/amarok-shared.dir/playlistloader.cpp.o
CMakeFiles/amarok-shared.dir/playlistselection.cpp.o
CMakeFiles/amarok-shared.dir/playlistwindow.cpp.o
CMakeFiles/amarok-shared.dir/pluginmanager.cpp.o
CMakeFiles/amarok-shared.dir/podcastsettings.cpp.o
CMakeFiles/amarok-shared.dir/podcastsettingsbase.cpp.o
CMakeFiles/amarok-shared.dir/prettypopupmenu.cpp.o
CMakeFiles/amarok-shared.dir/queuemanager.cpp.o
CMakeFiles/amarok-shared.dir/refreshimages.cpp.o
CMakeFiles/amarok-shared.dir/scancontroller.cpp.o
CMakeFiles/amarok-shared.dir/scriptmanager.cpp.o
CMakeFiles/amarok-shared.dir/scriptmanagerbase.cpp.o
CMakeFiles/amarok-shared.dir/scrobbler.cpp.o
CMakeFiles/amarok-shared.dir/sliderwidget.cpp.o
CMakeFiles/amarok-shared.dir/smartplaylisteditor.cpp.o
CMakeFiles/amarok-shared.dir/socketserver.cpp.o
CMakeFiles/amarok-shared.dir/starmanager.cpp.o
CMakeFiles/amarok-shared.dir/statistics.cpp.o
CMakeFiles/amarok-shared.dir/systray.cpp.o
CMakeFiles/amarok-shared.dir/tagdialog.cpp.o
CMakeFiles/amarok-shared.dir/tagdialogbase.cpp.o
CMakeFiles/amarok-shared.dir/tagguesser.cpp.o
CMakeFiles/amarok-shared.dir/tagguesserconfigdialog.cpp.o
CMakeFiles/amarok-shared.dir/threadmanager.cpp.o
CMakeFiles/amarok-shared.dir/tooltip.cpp.o
CMakeFiles/amarok-shared.dir/trackpickerdialog.cpp.o
CMakeFiles/amarok-shared.dir/trackpickerdialogbase.cpp.o
CMakeFiles/amarok-shared.dir/tracktooltip.cpp.o
CMakeFiles/amarok-shared.dir/transferdialog.cpp.o
CMakeFiles/amarok-shared.dir/xmlloader.cpp.o
CMakeFiles/amarok-shared.dir/xspfplaylist.cpp.o
CMakeFiles/amarok-shared.dir/editfilterdialog.cpp.o -L/opt/qt/lib
-Wl,-whole-archive amarokcore/libamarokcore.a
magnatunebrowser/libmagnatunebrowser.a analyzers/libanalyzers.a
plugin/libplugin.a metadata/libmetadata.a statusbar/libstatusbar.a
-Wl,-no-whole-archive /opt/trinity/lib/libkhtml.so.4.2.0
/opt/trinity/lib/libknewstuff.so.1.0.0 -lGL -ltag -lsqlite3 -lpthread
metadata/asf/libtagasf.a metadata/audible/libtagaudible.a
metadata/rmff/libtagrealmedia.a metadata/aac/libtagaac.a
metadata/wav/libtagwav.a metadata/m4a/libtagmp4.a
/opt/trinity/lib/libkutils.so.1.2.0 /opt/trinity/lib/libkparts.so.2.1.0
/opt/trinity/lib/libkdeprint.so.4.2.0 /opt/trinity/lib/libkjs.so.1.2.0 -ljpeg
/opt/trinity/lib/libkio.so.4.2.0 /opt/trinity/lib/libkdeui.so.4.2.0 -lfreetype
-lfontconfig /opt/trinity/lib/libkdesu.so.4.2.0 -lutil
/opt/trinity/lib/libkwalletclient.so.1.0.1 /opt/trinity/lib/libkdecore.so.4.2.0
/opt/trinity/lib/libDCOP.so.4.2.0 /opt/trinity/lib/libkdefx.so.4.2.0 -ltqt
-lqt-mt -lXrender -lX11 -lz -lICE -lSM -Wl,-rpath,/opt/qt/lib:/opt/trinity/lib:
CMakeFiles/amarok-shared.dir/actionclasses.cpp.o: In function
`Amarok::Menu::helpMenu(QWidget*)':
actionclasses.cpp:(.text+0x1205): undefined reference to `Amarok::aboutData'
collect2: ld returned 1 exit status
make[2]: *** [amarok/src/libamarok.so.0.0.0] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-app-amarok/src/build'
make[1]: *** [amarok/src/CMakeFiles/amarok-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-app-amarok/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
--
David C. Rankin, J.D.,P.E.