[mythtv] MythMusic compile problem with latest CVS

Bernard Mentink ebike at paradise.net.nz
Fri Apr 16 17:40:36 EDT 2004


Have you checked it in yet? I did a cvs update today, and it is still a 
problem, error is:

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN 
-DQT_SHARED -I/usr/local/qt3.3/mkspecs/default -I. -I/usr/local/include 
-I/usr/include/cdda -I/usr/local/qt3.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: error: parse error before `{' token
treecheckitem.h:16: error: destructors must be member functions
treecheckitem.h:16: error: virtual outside class declaration
treecheckitem.h: In function `QString getLevel()':
treecheckitem.h:18: error: `m_level' undeclared (first use this function)
treecheckitem.h:18: error: (Each undeclared identifier is reported only 
once
    for each function it appears in.)
treecheckitem.h: In function `int getID()':
treecheckitem.h:19: error: `m_id' undeclared (first use this function)
treecheckitem.h: In function `bool isCheckable()':
treecheckitem.h:22: error: `m_checkable' undeclared (first use this 
function)
treecheckitem.h: At global scope:
treecheckitem.h:26: error: parse error before `private'
treecheckitem.h:29: error: `int m_id' used prior to declaration
treecheckitem.h:30: error: `QString m_level' used prior to declaration
treecheckitem.h:31: error: `bool m_checkable' used prior to declaration
treecheckitem.h:32: error: parse error before `}' token
treecheckitem.h:35: error: base class `TreeCheckItem' has incomplete type
treecheckitem.h:37: error: parse error before `*' token
treecheckitem.h:42: error: parse error before `{' token
treecheckitem.h:46: error: virtual outside class declaration
treecheckitem.h:46: error: function `void userSelectedMe()' is initialized 
like
    a variable
treecheckitem.h: In function `QString getText()':
treecheckitem.h:48: error: `text' undeclared (first use this function)
treecheckitem.h: At global scope:
treecheckitem.h:50: error: parse error before `private'
treecheckitem.h:55: error: base class `PlaylistItem' has incomplete type
treecheckitem.h:57: error: parse error before `*' token
treecheckitem.h:70: error: base class `PlaylistItem' has incomplete type
treecheckitem.h:72: error: parse error before `*' token
treecheckitem.h:89: error: parse error before `*' token
treecheckitem.h:95: error: parse error before `*' token
In file included from cddecoder.cpp:16:
metadata.h:148: error: `parent' was not declared in this scope
metadata.h:148: error: parse error before `)' token
metadata.h:218: error: `where' was not declared in this scope
metadata.h:218: error: parse error before `)' token
make[1]: *** [cddecoder.o] Error 1


Cheers,
Bernie
----------------------------------------------------------------------------



On Mon, 12 Apr 2004 20:44:23 -0500, Kevin Kuphal 
<kevin.kuphal at myrealbox.com> wrote:

>
> My bad.  Appears that the ui include file needed for the new mythmusic 
> tree
> had been updated since my last compile and I had the older version having
> not done a "make install" on libmyth yet.
>
> Problem solved.
>
>> -----Original Message-----
>> From: mythtv-dev-bounces at mythtv.org
>> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of
>> ebike at paradise.net.nz
>> Sent: Monday, April 12, 2004 7:25 PM
>> To: Development of mythtv
>> Subject: Re: [mythtv] MythMusic compile problem with latest CVS
>>
>>
>> I also get this compile error with QT3.3 and latest CVS
>>
>> Cheers,
>> Bernard Mentink
>>
>> Quoting Leandro Dardini <ldardini at tiscali.it>:
>>
>> > No problem compiling with qt 3.2.3 and gcc 3.3.3.
>> >
>> > Leandro
>> >
>> > ----- Original Message -----
>> > From: "Kevin Kuphal" <kevin.kuphal at myrealbox.com>
>> > To: "Discussion about mythtv-dev" <mythtv-dev at mythtv.org>
>> > Sent: Monday, April 12, 2004 4:30 PM
>> > Subject: [mythtv] MythMusic compile problem with latest CVS
>> >
>> >
>> > > 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/include/SDL -D_REENTRANT -D_REENTRANT -fPIC -D_GNU_SOURCE
>> > > -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
>> > > -DQT_PLUGIN -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
>> > > each
>> > > 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
>> > > variable
>> > > 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]'
>> > > defined
>> > > but not used
>> > > make[1]: *** [cddecoder.o] Error 1
>> > > make: *** [sub-mythmusic] Error 2
>> > >
>> > > Kevin
>> > >
>> > >
>> > >
>> >
>> >
>> > ----------------------------------------------------
>> > ------------------------
>> > ----
>> >
>> >
>> > ____________________________________ ___________
>> > mythtv-dev mailing list
>> > mythtv-dev at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>> >
>> > _______________________________________________
>> > mythtv-dev mailing list
>> > mythtv-dev at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>> >
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://mythtv.org/cgi-> bin/mailman/listinfo/mythtv-dev
>>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


More information about the mythtv-dev mailing list