[mythtv] MythMusic compile problem with latest CVS

Kevin Kuphal kevin.kuphal at myrealbox.com
Mon Apr 12 10:30:06 EDT 2004

I'm having a problem compiling the latest CVS, specifically in MythMusic.
I'm using QT-3.3 (updated from RPM last week sometime) and get this when
configured with --enable-all

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/include/cdda -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o
cddecoder.o cddecoder.cpp
In file included from metadata.h:10,
                 from cddecoder.cpp:16:
treecheckitem.h:12: parse error before `{' token
treecheckitem.h:16: destructors must be member functions
treecheckitem.h:16: virtual outside class declaration
treecheckitem.h: In function `QString getLevel()':
treecheckitem.h:18: `m_level' undeclared (first use this function)
treecheckitem.h:18: (Each undeclared identifier is reported only once for
   function it appears in.)
treecheckitem.h: In function `int getID()':
treecheckitem.h:19: `m_id' undeclared (first use this function)
treecheckitem.h: In function `bool isCheckable()':
treecheckitem.h:22: `m_checkable' undeclared (first use this function)
treecheckitem.h: At global scope:
treecheckitem.h:26: parse error before `private'
treecheckitem.h:29: `int m_id' used prior to declaration
treecheckitem.h:30: `QString m_level' used prior to declaration
treecheckitem.h:31: `bool m_checkable' used prior to declaration
treecheckitem.h:32: parse error before `}' token
treecheckitem.h:35: base class `TreeCheckItem' has incomplete type
treecheckitem.h:37: parse error before `*' token
treecheckitem.h:42: parse error before `{' token
treecheckitem.h:46: virtual outside class declaration
treecheckitem.h:46: function `void userSelectedMe()' is initialized like a
treecheckitem.h: In function `QString getText()':
treecheckitem.h:48: `text' undeclared (first use this function)
treecheckitem.h: At global scope:
treecheckitem.h:50: parse error before `private'
treecheckitem.h:55: base class `PlaylistItem' has incomplete type
treecheckitem.h:57: parse error before `*' token
treecheckitem.h:70: base class `PlaylistItem' has incomplete type
treecheckitem.h:72: parse error before `*' token
treecheckitem.h:89: parse error before `*' token
treecheckitem.h:95: parse error before `*' token
In file included from cddecoder.cpp:16:
metadata.h:148: `parent' was not declared in this scope
metadata.h:148: parse error before `)' token
metadata.h:218: `where' was not declared in this scope
metadata.h:218: parse error before `)' token
/usr/include/cdda/cdda_interface.h:159: warning: `char*strerror_tr[12]'
   but not used
make[1]: *** [cddecoder.o] Error 1
make: *** [sub-mythmusic] Error 2


More information about the mythtv-dev mailing list