Registered Member
|
I am writing because I decided to complile previous stable version of Amarok, but I get an error. How can I make it work?
Here's the error message after "make": [dandys@localhost amarok-1.4.10]$ make make all-recursive make[1]: Wejście do katalogu `/home/dandys/Desktop/amarok-1.4.10' Making all in amarok make[2]: Wejście do katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok' Making all in src make[3]: Wejście do katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok/src' Making all in amarokcore make[4]: Wejście do katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok/src/amarokcore' /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../amarok/src -I../../../amarok/src/amarokcore -I../../../amarok/src -I../../../amarok/src/engine -I../../../amarok/src/plugin -I../../../amarok/src/statusbar -I../../../amarok/src/mediadevice -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT amarokdcophandler.lo -MD -MP -MF .deps/amarokdcophandler.Tpo -c -o amarokdcophandler.lo amarokdcophandler.cpp In file included from amarokdcophandler.cpp:1054: amarokdcophandler.moc:12:2: error: #error "The header file 'amarokdcophandler.h' doesn't include In file included from ../../../amarok/src/collectiondb.h:17, from amarokdcophandler.cpp:27: ../../../amarok/src/threadmanager.h:100: warning: type qualifiers ignored on function return type ../../../amarok/src/threadmanager.h:196: warning: type qualifiers ignored on function return type ../../../amarok/src/threadmanager.h:417: warning: type qualifiers ignored on function return type In file included from ../../../amarok/src/collectiondb.h:23, from amarokdcophandler.cpp:27: /usr/lib/qt3/include/qimage.h: In member function ‘bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’: /usr/lib/qt3/include/qimage.h:61: warning: suggest parentheses around && within || In file included from ../../../amarok/src/playlistbrowser.h:14, from amarokdcophandler.cpp:38: ../../../amarok/src/playlistbrowseritem.h: At global scope: ../../../amarok/src/playlistbrowseritem.h:124: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:268: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:274: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:282: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:303: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:365: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:377: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:378: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:379: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:380: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:381: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:416: warning: type qualifiers ignored on function return type ../../../amarok/src/playlistbrowseritem.h:562: warning: type qualifiers ignored on function return type In file included from amarokdcophandler.cpp:1054: amarokdcophandler.moc:20: error: expected constructor, destructor, or type conversion before ‘static’ amarokdcophandler.moc:38: error: ‘const QMetaObject Amarok::DcopPlayerHandler::staticMetaObject’ is not a static member of ‘class Amarok::DcopPlayerHandler’ amarokdcophandler.moc:38: error: variable ‘const QMetaObject Amarok::DcopPlayerHandler::staticMetaObject’ has initializer but incomplete type amarokdcophandler.moc:40: error: ‘qt_meta_data_Amarok__DcopPlayerHandler’ was not declared in this scope amarokdcophandler.moc:43: error: prototype for ‘const QMetaObject* Amarok::DcopPlayerHandler::metaObject() const’ does not match any in class ‘Amarok::DcopPlayerHandler’ amarokdcophandler.h:32: error: candidate is: virtual QMetaObject* Amarok::DcopPlayerHandler::metaObject() const amarokdcophandler.moc:48: error: no ‘void* Amarok::DcopPlayerHandler::qt_metacast(const char*)’ member function declared in class ‘Amarok::DcopPlayerHandler’ amarokdcophandler.moc:58: error: ‘int Amarok::DcopPlayerHandler::qt_metacall’ is not a static member of ‘class Amarok::DcopPlayerHandler’ amarokdcophandler.moc:58: error: incomplete type ‘QMetaObject’ used in nested name specifier amarokdcophandler.moc:58: error: expected primary-expression before ‘int’ amarokdcophandler.moc:58: error: expected primary-expression before ‘void’ amarokdcophandler.moc:58: error: initializer expression list treated as compound expression amarokdcophandler.moc:59: error: expected ‘,’ or ‘;’ before ‘{’ token amarokdcophandler.moc:83: error: ‘const QMetaObject Amarok::DcopPlaylistHandler::staticMetaObject’ is not a static member of ‘class Amarok::DcopPlaylistHandler’ amarokdcophandler.moc:83: error: variable ‘const QMetaObject Amarok::DcopPlaylistHandler::staticMetaObject’ has initializer but incomplete type amarokdcophandler.moc:88: error: prototype for ‘const QMetaObject* Amarok::DcopPlaylistHandler::metaObject() const’ does not match any in class ‘Amarok::DcopPlaylistHandler’ amarokdcophandler.h:118: error: candidate is: virtual QMetaObject* Amarok::DcopPlaylistHandler::metaObject() const amarokdcophandler.moc:93: error: no ‘void* Amarok::DcopPlaylistHandler::qt_metacast(const char*)’ member function declared in class ‘Amarok::DcopPlaylistHandler’ amarokdcophandler.moc:103: error: ‘int Amarok::DcopPlaylistHandler::qt_metacall’ is not a static member of ‘class Amarok::DcopPlaylistHandler’ amarokdcophandler.moc:103: error: incomplete type ‘QMetaObject’ used in nested name specifier amarokdcophandler.moc:103: error: expected primary-expression before ‘int’ amarokdcophandler.moc:103: error: expected primary-expression before ‘void’ amarokdcophandler.moc:103: error: initializer expression list treated as compound expression amarokdcophandler.moc:104: error: expected ‘,’ or ‘;’ before ‘{’ token amarokdcophandler.moc:128: error: ‘const QMetaObject Amarok::DcopPlaylistBrowserHandler::staticMetaObject’ is not a static member of ‘class Amarok::DcopPlaylistBrowserHandler’ amarokdcophandler.moc:128: error: variable ‘const QMetaObject Amarok::DcopPlaylistBrowserHandler::staticMetaObject’ has initializer but incomplete type amarokdcophandler.moc:133: error: prototype for ‘const QMetaObject* Amarok::DcopPlaylistBrowserHandler::metaObject() const’ does not match any in class ‘Amarok::DcopPlaylistBrowserHandler’ amarokdcophandler.h:147: error: candidate is: virtual QMetaObject* Amarok::DcopPlaylistBrowserHandler::metaObject() const amarokdcophandler.moc:138: error: no ‘void* Amarok::DcopPlaylistBrowserHandler::qt_metacast(const char*)’ member function declared in class ‘Amarok::DcopPlaylistBrowserHandler’ amarokdcophandler.moc:148: error: ‘int Amarok::DcopPlaylistBrowserHandler::qt_metacall’ is not a static member of ‘class Amarok::DcopPlaylistBrowserHandler’ amarokdcophandler.moc:148: error: incomplete type ‘QMetaObject’ used in nested name specifier amarokdcophandler.moc:148: error: expected primary-expression before ‘int’ amarokdcophandler.moc:148: error: expected primary-expression before ‘void’ amarokdcophandler.moc:148: error: initializer expression list treated as compound expression amarokdcophandler.moc:149: error: expected ‘,’ or ‘;’ before ‘{’ token amarokdcophandler.moc:173: error: ‘const QMetaObject Amarok::DcopContextBrowserHandler::staticMetaObject’ is not a static member of ‘class Amarok::DcopContextBrowserHandler’ amarokdcophandler.moc:173: error: variable ‘const QMetaObject Amarok::DcopContextBrowserHandler::staticMetaObject’ has initializer but incomplete type amarokdcophandler.moc:178: error: prototype for ‘const QMetaObject* Amarok::DcopContextBrowserHandler::metaObject() const’ does not match any in class ‘Amarok::DcopContextBrowserHandler’ amarokdcophandler.h:161: error: candidate is: virtual QMetaObject* Amarok::DcopContextBrowserHandler::metaObject() const amarokdcophandler.moc:183: error: no ‘void* Amarok::DcopContextBrowserHandler::qt_metacast(const char*)’ member function declared in class ‘Amarok::DcopContextBrowserHandler’ amarokdcophandler.moc:193: error: ‘int Amarok::DcopContextBrowserHandler::qt_metacall’ is not a static member of ‘class Amarok::DcopContextBrowserHandler’ amarokdcophandler.moc:193: error: incomplete type ‘QMetaObject’ used in nested name specifier amarokdcophandler.moc:193: error: expected primary-expression before ‘int’ amarokdcophandler.moc:193: error: expected primary-expression before ‘void’ amarokdcophandler.moc:193: error: initializer expression list treated as compound expression amarokdcophandler.moc:194: error: expected ‘,’ or ‘;’ before ‘{’ token amarokdcophandler.moc:260: error: ‘const QMetaObject Amarok::DcopCollectionHandler::staticMetaObject’ is not a static member of ‘class Amarok::DcopCollectionHandler’ amarokdcophandler.moc:260: error: variable ‘const QMetaObject Amarok::DcopCollectionHandler::staticMetaObject’ has initializer but incomplete type amarokdcophandler.moc:265: error: prototype for ‘const QMetaObject* Amarok::DcopCollectionHandler::metaObject() const’ does not match any in class ‘Amarok::DcopCollectionHandler’ amarokdcophandler.h:176: error: candidate is: virtual QMetaObject* Amarok::DcopCollectionHandler::metaObject() const amarokdcophandler.moc:270: error: no ‘void* Amarok::DcopCollectionHandler::qt_metacast(const char*)’ member function declared in class ‘Amarok::DcopCollectionHandler’ amarokdcophandler.moc:280: error: ‘int Amarok::DcopCollectionHandler::qt_metacall’ is not a static member of ‘class Amarok::DcopCollectionHandler’ amarokdcophandler.moc:280: error: incomplete type ‘QMetaObject’ used in nested name specifier amarokdcophandler.moc:280: error: expected primary-expression before ‘int’ amarokdcophandler.moc:280: error: expected primary-expression before ‘void’ amarokdcophandler.moc:280: error: initializer expression list treated as compound expression amarokdcophandler.moc:281: error: expected ‘,’ or ‘;’ before ‘{’ token /usr/lib/qt3/include/qptrlist.h: In member function ‘void QPtrList amarokdcophandler.moc:555: instantiated from here /usr/lib/qt3/include/qptrlist.h:153: warning: possible problem detected in invocation of delete operator: /usr/lib/qt3/include/qptrlist.h:153: warning: invalid use of incomplete type ‘struct KConfigBackEnd’ /opt/kde3/include/kconfigbase.h:38: warning: forward declaration of ‘struct KConfigBackEnd’ /usr/lib/qt3/include/qptrlist.h:153: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. make[4]: *** [amarokdcophandler.lo] Błąd 1 make[4]: Opuszczenie katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok/src/amarokcore' make[3]: *** [all-recursive] Błąd 1 make[3]: Opuszczenie katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok/src' make[2]: *** [all-recursive] Błąd 1 make[2]: Opuszczenie katalogu `/home/dandys/Desktop/amarok-1.4.10/amarok' make[1]: *** [all-recursive] Błąd 1 make[1]: Opuszczenie katalogu `/home/dandys/Desktop/amarok-1.4.10' make: *** [all] Błąd 2 |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]