Serghei,
Tomorrow when looking at gcc cmake issues, add amarok osd.h line 40 to the list:
/home/david/tbld/applications/amarok/amarok/src/osd.h:40:78: error: cannot call constructor ‘QImage::QImage’ directly /home/david/tbld/applications/amarok/amarok/src/osd.h:40:78: error: for a function-style cast, remove the redundant ‘::QImage’
Just needs ‘::QImage’ deleted :)
Then after fixing the constructor, you will run into the following error at 82%
[ 82%] Building CXX object amarok/src/CMakeFiles/amarok-shared.dir/organizecollectiondialog.cpp.o cd /home/david/tbld/applications/amarok/src/amarok/src && /usr/bin/c++ -Damarok_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -fPIC -I/home/david/tbld/applications/amarok/src/amarok/src -I/home/david/tbld/applications/amarok/amarok/src -I/home/david/tbld/applications/amarok/src -I/home/david/tbld/applications/amarok/src/amarok/src/amarokcore -I/home/david/tbld/applications/amarok/src/amarok/src/magnatunebrowser -I/home/david/tbld/applications/amarok/amarok/src/amarokcore -I/home/david/tbld/applications/amarok/amarok/src/analyzers -I/home/david/tbld/applications/amarok/amarok/src/statusbar -I/home/david/tbld/applications/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/organizecollectiondialog.cpp.o -c /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.cpp /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.cpp:256:9: error: prototype for ‘QString OrganizeCollectionDialog::buildDestination(const QString&, const MetaBundle&)’ does not match any in class ‘OrganizeCollectionDialog’ /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.h:59:21: error: candidate is: virtual QString OrganizeCollectionDialog::buildDestination(const QString&, const MetaBundle&) const /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.cpp:262:9: error: prototype for ‘QString OrganizeCollectionDialog::buildFormatTip()’ does not match any in class ‘OrganizeCollectionDialog’ /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.h:60:21: error: candidate is: virtual QString OrganizeCollectionDialog::buildFormatTip() const /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.cpp:268:9: error: prototype for ‘QString OrganizeCollectionDialog::buildFormatString()’ does not match any in class ‘OrganizeCollectionDialog’ /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.h:61:21: error: candidate is: virtual QString OrganizeCollectionDialog::buildFormatString() const /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.cpp:279:9: error: prototype for ‘QString OrganizeCollectionDialog::cleanPath(const QString&)’ does not match any in class ‘OrganizeCollectionDialog’ /home/david/tbld/applications/amarok/src/amarok/src/organizecollectiondialog.h:63:21: error: candidate is: virtual QString OrganizeCollectionDialog::cleanPath(const QString&) const make[2]: *** [amarok/src/CMakeFiles/amarok-shared.dir/organizecollectiondialog.cpp.o] Error 1 make[2]: Leaving directory `/home/david/tbld/applications/amarok/src' make[1]: *** [amarok/src/CMakeFiles/amarok-shared.dir/all] Error 2 make[1]: Leaving directory `/home/david/tbld/applications/amarok/src' make: *** [all] Error 2 Aborting...
Dunno how to fix this one :(