Cannot compile amarok for a couple of days

Pavel Troller patrol at sinus.cz
Thu Mar 18 08:36:00 GMT 2004


Hi!
  Some of the recent changes in the amarok core made me unhappy, I cannot
compile it anymore...

Making all in amarokcore
make[1]: Entering directory `/usr/src/kde3/kdeextragear-1/amarok/amarok/amarokcore'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde3.2/include -I/opt/qt3.2/include -I/opt/X11/include  -I/opt/sound/include -I../../../amarok/amarok  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/opt/kde3.2/include -I/opt/qt3.2/include -I/opt/X11/include  -I/opt/sound/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=i586 -mcpu=i586 -fomit-frame-pointer -fforce-mem -fforce-addr -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT amarokdcophandler.o -MD -MP -MF ".deps/amarokdcophandler.Tpo" \
  -c -o amarokdcophandler.o `test -f 'amarokdcophandler.cpp' || echo './'`amarokdcophandler.cpp; \
then mv ".deps/amarokdcophandler.Tpo" ".deps/amarokdcophandler.Po"; \
else rm -f ".deps/amarokdcophandler.Tpo"; exit 1; \
fi
In file included from amarokdcophandler.cpp:20:
../../../amarok/amarok/engine/enginebase.h:34: error: parse error before `{'
   token
../../../amarok/amarok/engine/enginebase.h:35: error: virtual outside class
   declaration
../../../amarok/amarok/engine/enginebase.h:35: error: non-member function `
   const char* className()' cannot have `const' method qualifier
../../../amarok/amarok/engine/enginebase.h:35: error: virtual outside class
   declaration
../../../amarok/amarok/engine/enginebase.h:35: error: virtual outside class
   declaration
../../../amarok/amarok/engine/enginebase.h:35: error: virtual outside class
   declaration
../../../amarok/amarok/engine/enginebase.h:35: error: virtual outside class
   declaration
../../../amarok/amarok/engine/enginebase.h: In function `QObject* qObject()':
../../../amarok/amarok/engine/enginebase.h:35: error: invalid use of `this' in
   non-member function
../../../amarok/amarok/engine/enginebase.h: At global scope:
../../../amarok/amarok/engine/enginebase.h:35: error: parse error before `
   private'
../../../amarok/amarok/engine/enginebase.h:43: error: parse error before `)'
   token
... about 3 more pages of error output truncated.

It seems to be related to the enginebase.h cvs commits made 13.3.
Using gcc-3.3.3.
                               With regards, Pavel Troller



More information about the kde-multimedia mailing list