[mythtv-users] mythmusic alternatives

Jonatan mythtv at comhem.se
Fri Jul 13 20:44:36 UTC 2007


Tim Phipps wrote:
> On Wednesday 11 July 2007 11:09 pm, Jonatan wrote:
>> Here is the first version of the plugin:
>> http://web.comhem.se/mythmpc/mythmpc-0.1.tar.bz2.
> 
> I get this error from 'make':
> cd mythmpc && make -f Makefile
> make[1]: Entering directory `/home/tim/MythTV/plugins/mythmpc-0.1/mythmpc'
> g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/libmpd -I/usr/include/qt3 -o 
> main.o main.cpp
> /usr/include/qt3/qsqldatabase.h:63: warning: ‘class QSqlDriverCreatorBase’ has 
> virtual functions but non-virtual destructor
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:75: 
> error: template with C linkage
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:157: 
> error: template with C linkage
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:930: 
> error: template with C linkage
> 
> Google didn't help, any idea what that error means?
> 
> Cheers,
> Tim.
> 
> PS. I'm using Debian etch.

Seems to be a bug in libmpd-dev on Debian etch.  Look in 
/usr/include/libmpd/libmpdclient.h and you'll see that line 603 reads

#ifdef _cplusplus

instead of

#ifdef __cplusplus

Fix that and it will probably compile.

/Jonatan


More information about the mythtv-users mailing list