[mythtv-users] compile error for mythphone

Paul Harrison mythtv at dsl.pipex.com
Mon Jul 23 21:19:28 UTC 2007


Michelle Dupuis wrote:
> I'm getting the error below on compiling mythphone (an SVN from a
> month ago).  Am I doing something wrong or do I need to grab a later
> build?
>  
> Thanks
> MD
>  
> g++ -c -pipe -march=pentium4 -pthread -I/usr/include/kde/artsc
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall
> -Wno-switch -fomit-frame-pointer -Wno-unused -D_REENTRANT -DPIC -fPIC 
> -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DMMX -Di386 -DUSING_FREEBOX
> -D_FILE_OFFSET_BITS=64 -D_RENTRANT -DUSE_PTHREADS -DWAV49
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I../../../../../local/include
> -I/usr/kde/3.3/include -I../../../../../local/include
> -I../../../../../include -I/usr/lib/qt-3.3/include -o tone.o tone.cpp
> /usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: ‘class
> QSqlDriverCreatorBase’ has virtual functions but non-virtual destructor
> tone.cpp: In member function ‘void Tone::OpenSpeaker(QString)’:
> tone.cpp:310: error: no matching function for call to
> ‘AudioOutput::OpenAudio(QString&, int, int, int, AudioOutputSource,
> bool, bool)’
> /usr/local/include/mythtv/audiooutput.h:25: note: candidates are:
> static AudioOutput* AudioOutput::OpenAudio(QString, QString, int, int,
> int, AudioOutputSource, bool, bool)
> make[2]: *** [tone.o] Error 1
> make[2]: Leaving directory
> `/usr/src/mythtv-weatherfix/mythplugins/mythphone/mythphone'
> make[1]: *** [sub-mythphone] Error 2
> make[1]: Leaving directory
> `/usr/src/mythtv-weatherfix/mythplugins/mythphone'
> make: *** [sub-mythphone] Error 2
>   

You're trying to use incompatible versions of Myth and MythPlugins by
the look of it. Did you update both Myth and MythPlugins when you svn
updated? The error message suggests that you are trying to compile a
version of MythPhone from over a year ago because you are missing this
changeset from June 06
[http://svn.mythtv.org/trac/changeset/10202/trunk/mythplugins/mythphone/mythphone/tone.cpp].
I'd suggest you update to latest svn for both MythTV and MythPlugins to
be sure you are using compatible versions.

Paul H. 


More information about the mythtv-users mailing list