[mythtv-users] Mythtv: mythmusiv (0.17) compile fault .. will no-one reply?

Bernard Mentink powergen at xtra.co.nz
Mon Apr 11 04:40:25 UTC 2005


Hi All,

I am having trouble compiling *mythmusic* (ver 0.17) on my laptop (which 
I am using as a mythfrontend). The same version compiles fine on my main 
*Mythtv* server.

Here is the error:

-------------------------
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -O3 -march=pentium3 
-fomit-frame-pointer
-I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC -D_GNU_SOURCE 
-DPREFIX=\"/u
sr\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN 
-I/usr/qt/3/mkspec
s/linux-g++ -I. -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include 
-I/usr/X1
1R6/include -o cdrip.o cdrip.cpp
cddecoder.cpp: In member function `void CdDecoder::flush(bool)':
cddecoder.cpp:74: error: could not convert 
`(*(((Decoder*)this)->Decoder::output
()->AudioOutput::_vptr.AudioOutput + 
24u))(((Decoder*)this)->Decoder::output(),
((CdDecoder*)this)->CdDecoder::output_buf, samples, -0x000000001ll)' to 
`bool'
cddecoder.cpp: In member function `virtual bool CdDecoder::initialize()':
cddecoder.cpp:141: error: 'class AudioOutput' has no member named 
'SetSourceBitrate'
cddecoder.cpp: In member function `virtual void CdDecoder::run()':
cddecoder.cpp:225: error: 'class AudioOutput' has no member named 'Drain'
make[1]: *** [cddecoder.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 
`/var/tmp/portage/*mythmusic*-0.17/work/*mythmusic*-0.17/
*mythmusic*'
make: *** [sub-*mythmusic*] Error 2
---------------------------------

The 'class AudioOutput' complained about is in two locations: 
/usr/include/*mythtv*/visual.h: and 
/usr/include/*mythtv*/audiooutput.h:, it seems the former is overiding 
the later (which has the correct fields).
the .cpp includer audiooutput.h at the start of the file.

Has anyone any clues as to what is going on (this is a fresh emerge 
after all).

Many thanks in advance.


More information about the mythtv-users mailing list