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

Amarok 1.2 Beta 2 lässt sich nicht kompilieren

Tags: None
(comma "," separated)
Peter
Karma
0
Ich hab heute versucht die neue Amarok Version 1.2 Beta 2 auf meinem Mandrake 10 zu kompilieren. Configure läuft ohne Probleme durch. Das make bricht dann ab mit:
[code:1]grep: /usr/X11R6/lib/libGL.la: No such file or directory
/bin/sed: kann /usr/X11R6/lib/libGL.la nicht lesen: No such file or directory
libtool: link: `/usr/X11R6/lib/libGL.la\' is not a valid libtool archive
make[5]: *** [libamarok_void-engine_plugin.la] Fehler 1
[/code:1]
Ich hab dann die libGL.la von /usr/lib/ auf /usr/X11R6/lib/ gelinkt.
Beim nächsten versuch kam dann öfters die Meldung:[code:1]libtool: link: warning: `/usr/X11R6/lib/libGL.la\' seems to be moved
[/code:1]
make läuft hier weiter.
Doch dann bricht es nach einiger Zeit mit folgender langer Reihe von Fehlern ab:[code:1]In file included from universalamarok.cpp:20:
universalamarok.h:23:31: konqsidebarplugin.h: No such file or directory
In file included from universalamarok.cpp:20:
universalamarok.h:37: error: syntax error before `{\' token
universalamarok.h:38: error: virtual outside class declaration
universalamarok.h:38: error: non-member function `const char* className()\' cannot have `const\' method qualifier
universalamarok.h:38: error: virtual outside class declaration
universalamarok.h:38: error: virtual outside class declaration
universalamarok.h:38: error: virtual outside class declaration
universalamarok.h:38: error: virtual outside class declaration
universalamarok.h: In function `QObject* qObject()\':
universalamarok.h:38: error: invalid use of `this\' in non-member function
universalamarok.h: At global scope:
universalamarok.h:38: error: syntax error before `private\'
universalamarok.h:42: error: destructors must be member functions
universalamarok.h:44: error: virtual outside class declaration
universalamarok.h: In function `QWidget* getWidget()\':
universalamarok.h:44: error: `widget\' undeclared (first use this function)
universalamarok.h:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
universalamarok.h: At global scope:
universalamarok.h:45: error: virtual outside class declaration
universalamarok.h:46: error: syntax error before `&\' token
universalamarok.h:46: error: virtual outside class declaration
universalamarok.h:49: error: syntax error before `private\'
universalamarok.h:55: error: aggregate `QDateTime fileDT\' has incomplete type and cannot be defined
universalamarok.h:57: error: syntax error before `public\'
universalamarok.h: In function `void sendPrev()\':
universalamarok.h:60: error: `checkForAmarok\' undeclared (first use this function)
In file included from universalamarok.cpp:20:
universalamarok.h: At global scope:
universalamarok.h:65: error: syntax error before `&\' token
universalamarok.h:66: error: `void checkForAmarok()\' used prior to declaration
universalamarok.h:67: error: syntax error before `}\' token
universalamarok.cpp:45: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp: In constructor `UniversalAmarok::UniversalAmarok(KInstance*, QObject*, QWidget*, QString&, const char*)\':
universalamarok.cpp:46: error: class `UniversalAmarok\' does not have any field named `KonqSidebarPlugin\'
universalamarok.cpp:53: error: `updateBrowser\' undeclared (first use this function)
universalamarok.cpp:57: error: no matching function for call to `KToolBar::insertButton(const char[13], int, const char[11], UniversalAmarok* const, const char[12])\'
/usr/include/ktoolbar.h:207: error: candidates are: int KToolBar::insertButton(const QString&, int, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:229: error: int KToolBar::insertButton(const QString&, int, const char*, const QObject*, const char*, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:256: error: int KToolBar::insertButton(const QPixmap&, int, bool, const QString&, int)
/usr/include/ktoolbar.h:278: error: int KToolBar::insertButton(const QPixmap&, int, const char*, const QObject*, const char*, bool, const QString&, int)
/usr/include/ktoolbar.h:293: error: int KToolBar::insertButton(const QString&, int, QPopupMenu*, bool, const QString&, int)
/usr/include/ktoolbar.h:308: error: int KToolBar::insertButton(const QPixmap&, int, QPopupMenu*, bool, const QString&, int)
universalamarok.cpp:58: error: no matching function for call to `KToolBar::insertButton(const char[12], int, const char[11], UniversalAmarok* const, const char[12])\'
/usr/include/ktoolbar.h:207: error: candidates are: int KToolBar::insertButton(const QString&, int, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:229: error: int KToolBar::insertButton(const QString&, int, const char*, const QObject*, const char*, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:256: error: int KToolBar::insertButton(const QPixmap&, int, bool, const QString&, int)
/usr/include/ktoolbar.h:278: error: int KToolBar::insertButton(const QPixmap&, int, const char*, const QObject*, const char*, bool, const QString&, int)
/usr/include/ktoolbar.h:293: error: int KToolBar::insertButton(const QString&, int, QPopupMenu*, bool, const QString&, int)
/usr/include/ktoolbar.h:308: error: int KToolBar::insertButton(const QPixmap&, int, QPopupMenu*, bool, const QString&, int)
universalamarok.cpp:59: error: no matching function for call to `KToolBar::insertButton(const char[13], int, const char[11], UniversalAmarok* const, const char[13])\'
/usr/include/ktoolbar.h:207: error: candidates are: int KToolBar::insertButton(const QString&, int, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:229: error: int KToolBar::insertButton(const QString&, int, const char*, const QObject*, const char*, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:256: error: int KToolBar::insertButton(const QPixmap&, int, bool, const QString&, int)
/usr/include/ktoolbar.h:278: error: int KToolBar::insertButton(const QPixmap&, int, const char*, const QObject*, const char*, bool, const QString&, int)
/usr/include/ktoolbar.h:293: error: int KToolBar::insertButton(const QString&, int, QPopupMenu*, bool, const QString&, int)
/usr/include/ktoolbar.h:308: error: int KToolBar::insertButton(const QPixmap&, int, QPopupMenu*, bool, const QString&, int)
universalamarok.cpp:60: error: no matching function for call to `KToolBar::insertButton(const char[12], int, const char[11], UniversalAmarok* const, const char[12])\'
/usr/include/ktoolbar.h:207: error: candidates are: int KToolBar::insertButton(const QString&, int, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:229: error: int KToolBar::insertButton(const QString&, int, const char*, const QObject*, const char*, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:256: error: int KToolBar::insertButton(const QPixmap&, int, bool, const QString&, int)
/usr/include/ktoolbar.h:278: error: int KToolBar::insertButton(const QPixmap&, int, const char*, const QObject*, const char*, bool, const QString&, int)
/usr/include/ktoolbar.h:293: error: int KToolBar::insertButton(const QString&, int, QPopupMenu*, bool, const QString&, int)
/usr/include/ktoolbar.h:308: error: int KToolBar::insertButton(const QPixmap&, int, QPopupMenu*, bool, const QString&, int)
universalamarok.cpp:61: error: no matching function for call to `KToolBar::insertButton(const char[11], int, const char[11], UniversalAmarok* const, const char[12])\'
/usr/include/ktoolbar.h:207: error: candidates are: int KToolBar::insertButton(const QString&, int, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:229: error: int KToolBar::insertButton(const QString&, int, const char*, const QObject*, const char*, bool, const QString&, int, KInstance*)
/usr/include/ktoolbar.h:256: error: int KToolBar::insertButton(const QPixmap&, int, bool, const QString&, int)
/usr/include/ktoolbar.h:278: error: int KToolBar::insertButton(const QPixmap&, int, const char*, const QObject*, const char*, bool, const QString&, int)
/usr/include/ktoolbar.h:293: error: int KToolBar::insertButton(const QString&, int, QPopupMenu*, bool, const QString&, int)
/usr/include/ktoolbar.h:308: error: int KToolBar::insertButton(const QPixmap&, int, QPopupMenu*, bool, const QString&, int)
universalamarok.cpp:64: error: no matching function for call to `QTimer::QTimer(UniversalAmarok* const)\'
/usr/lib/qt3/include/qtimer.h:76: error: candidates are: QTimer::QTimer(const QTimer&«»)
/usr/lib/qt3/include/qtimer.h:50: error: QTimer::QTimer(QObject*, const char*)
universalamarok.cpp:65: error: `connect\' undeclared (first use this function)
universalamarok.cpp: At global scope:
universalamarok.cpp:73: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
In file included from universalamarok.cpp:78:
universalamarok.moc:23: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc:27: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc:27: error: assignment (not initialization) in declaration
universalamarok.moc:28: error: incomplete type `UniversalAmarok\' does not have member `staticMetaObject\'
universalamarok.moc:51: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc: In member function `QMetaObject* UniversalAmarok::staticMetaObject()\':
universalamarok.moc:52: error: `metaObj\' undeclared (first use this function)
universalamarok.moc:54: error: `KonqSidebarPlugin\' undeclared (first use this function)
universalamarok.moc:54: error: syntax error before `::\' token
universalamarok.moc: At global scope:
universalamarok.moc:95: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc: In member function `void* UniversalAmarok::qt_cast(const char*)\':
universalamarok.moc:98: error: syntax error before `::\' token
In file included from universalamarok.cpp:78:
universalamarok.moc: At global scope:
universalamarok.moc:102: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc: In member function `bool UniversalAmarok::qt_invoke(int, QUObject*)\':
universalamarok.moc:104: error: `updateBrowser\' undeclared (first use this function)
universalamarok.moc:111: warning: cannot pass objects of non-POD type `const class KURL\' through `...\'; call will abort at runtime
universalamarok.moc:114: error: syntax error before `::\' token
In file included from universalamarok.cpp:78:
universalamarok.moc: At global scope:
universalamarok.moc:120: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc: In member function `bool UniversalAmarok::qt_emit(int, QUObject*)\':
universalamarok.moc:121: error: syntax error before `::\' token
universalamarok.moc:120: warning: unused parameter `int _id\'
universalamarok.moc:120: warning: unused parameter `QUObject*_o\'
universalamarok.moc: At global scope:
universalamarok.moc:126: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.moc: In member function `bool UniversalAmarok::qt_property(int, int, QVariant*)\':
universalamarok.moc:127: error: syntax error before `::\' token
universalamarok.moc:126: warning: unused parameter `int id\'
universalamarok.moc:126: warning: unused parameter `int f\'
universalamarok.moc:126: warning: unused parameter `QVariant*v\'
universalamarok.moc: At global scope:
universalamarok.moc:130: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp: In function `void* create_konqsidebar_universalamarok(KInstance*, QObject*, QWidget*, QString&, const char*)\':
universalamarok.cpp:85: error: syntax error before `(\' token
universalamarok.cpp:84: warning: unused parameter `KInstance*instance\'
universalamarok.cpp:84: warning: unused parameter `QObject*par\'
universalamarok.cpp:84: warning: unused parameter `QWidget*widp\'
universalamarok.cpp:84: warning: unused parameter `QString&desktopname\'
universalamarok.cpp:84: warning: unused parameter `const char*name\'
universalamarok.cpp: At global scope:
universalamarok.cpp:111: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp:122: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp: In member function `void UniversalAmarok::updateStatus()\':
universalamarok.cpp:126: error: `updateBrowser\' undeclared (first use this function)
universalamarok.cpp: At global scope:
universalamarok.cpp:136: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp: In member function `QString UniversalAmarok::getCurrentPlaying()\':
universalamarok.cpp:140: warning: passing NULL used for non-pointer argument 1 of `QMemArray::QMemArray(int) [with type = char]\'
universalamarok.cpp: At global scope:
universalamarok.cpp:152: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp:165: error: invalid use of undefined type `class UniversalAmarok\'
universalamarok.h:36: error: forward declaration of `class UniversalAmarok\'
universalamarok.cpp: In member function `void UniversalAmarok::checkForAmarok()\':
universalamarok.cpp:168: warning: unused variable `int pid\'
universalamarok.h: At global scope:
universalamarok.h:55: error: storage size of `fileDT\' isn\'t known
universalamarok.h:38: warning: `bool qt_static_property(QObject*, int, int, QVariant*)\' declared `static\' but never defined
universalamarok.h:38: warning: `QMetaObject* staticMetaObject()\' declared `static\' but never defined
make[4]: *** [universalamarok.lo] Fehler 1
[/code:1]

Habt ihr irgendeine Idee, was ich machen kann, damit ich die Beta zwei kompiliert bekomme?
Danke schomal,
Peter
p.s.: ältere Versionen, unter anderem auch die 1.2 Beta 1 lassen sich nach linken der libGL.la problemlos komplilieren.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Die benötigten header sind in kdebase-devel. Bei suse z.B. kdebase-3-devel.


--
Mark Kretschmann - Amarok Developer
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
..üüüübrigens, das fällt mir gerade ein. Wir haben doch schon Mandrake packages für beta2! Click mal auf den Mandrake Link im menu..


--
Mark Kretschmann - Amarok Developer
Peter
Karma
0
Danke Für die schnelle Antwort! Jetzt läuft alles einwandfrei :)
darkphreak
Karma
0
[code:1] Konvertierung der Meldungen in den Zeichensatz des Anwenders
wird fehlschlagen.
./amarok.po:10:2: parse error
./amarok.po:10: Schlüsselwort »amarok« ist unbekannt
./amarok.po:78:2: parse error
./amarok.po:78: Schlüsselwort »amarok« ist unbekannt
./amarok.po:165:2: parse error
./amarok.po:165: Schlüsselwort »amarok« ist unbekannt
./amarok.po:225:2: parse error
./amarok.po:225: Schlüsselwort »amarok« ist unbekannt
./amarok.po:280:2: parse error
./amarok.po:280: Schlüsselwort »amarok« ist unbekannt
./amarok.po:288:2: parse error
./amarok.po:288: Schlüsselwort »amarok« ist unbekannt
./amarok.po:296:2: parse error
./amarok.po:296: Schlüsselwort »amarok« ist unbekannt
./amarok.po:304:2: parse error
./amarok.po:304: Schlüsselwort »amarok« ist unbekannt
./amarok.po:314:2: parse error
./amarok.po:314: Schlüsselwort »amarok« ist unbekannt
./amarok.po:324:2: parse error
./amarok.po:324: Schlüsselwort »amarok« ist unbekannt
/usr/bin/msgfmt: zu viele Fehler: Abbruch
make[3]: *** [amarok.gmo] Fehler 1
[/code:1]
den Fehler bekomm, wenn ich die CVS vom 19. und auch 20. versuche auf Deian Sarge zu compilieren
:blink:


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]