[mythtv] svn 10604 => compile error

Jan Kleinig lueddich at gmx.de
Thu Jul 20 18:50:02 UTC 2006


Hi,

I tried to compile the newest svn today and got these errors at the end 
of compiling the mythtv-part:

dvbchannel.cpp: In member function `bool DVBChannel::Tune(const DVBTuning&,
   bool, unsigned int, bool)':
dvbchannel.cpp:660: error: parse error before `<<' token
dvbchannel.cpp:667: error: `freq_mult' undeclared (first use this function)
dvbchannel.cpp:667: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
dvbchannel.cpp:668: error: parse error before `>>' token
dvbchannel.cpp:670: error: `dtmp' undeclared (first use this function)
dvbchannel.cpp: At global scope:
dvbchannel.cpp:670: error: parse error before `}' token
dvbchannel.cpp:688: error: syntax error before `<<' token
dvbchannel.cpp:688: error: syntax error before `.' token
dvbchannel.cpp:688: error: syntax error before `<<' token
dvbchannel.cpp:688: error: syntax error before `.' token
dvbchannel.cpp:698: error: `fd_frontend' was not declared in this scope
dvbchannel.cpp:698: error: ISO C++ forbids declaration of `wait_for_backend'
   with no type
dvbchannel.cpp:698: error: `int MythContext::wait_for_backend' is not a 
static
   member of `class MythContext'
dvbchannel.cpp:698: error: initializer list being treated as compound
   expression
dvbchannel.cpp:700: error: ISO C++ forbids declaration of `prev_tuning' 
with no
   type
dvbchannel.cpp:700: error: `int MythContext::prev_tuning' is not a static
   member of `class MythContext'
dvbchannel.cpp:700: error: `tuning' was not declared in this scope
dvbchannel.cpp:701: error: ISO C++ forbids declaration of `first_tune' 
with no
   type
dvbchannel.cpp:701: error: `int MythContext::first_tune' is not a static 
member
   of `class MythContext'
dvbchannel.cpp:702: error: parse error before `}' token
dvbchannel.cpp:704: error: `QString MythContext::dtime' is not a static 
member
   of `class MythContext'
dvbchannel.cpp:704: error: `std::ostringstream 
MythContext::verbose_macro_tmp'
   is not a static member of `class MythContext'
dvbchannel.cpp:704: error: syntax error before `<<' token
dvbchannel.cpp:704: error: syntax error before `.' token
dvbchannel.cpp:704: error: syntax error before `<<' token
dvbchannel.cpp:704: error: syntax error before `.' token
dvbchannel.cpp:710: error: cannot declare member function 
`DVBChannel::Retune'
   within `MythContext'
dvbchannel.cpp:710: error: syntax error before `{' token
dvbchannel.cpp:719: error: cannot declare member function `DVBChannel::
   GetTuningParams' within `MythContext'
dvbchannel.cpp:719: error: syntax error before `{' token
dvbchannel.cpp:722: error: `QString MythContext::dtime' is not a static 
member
   of `class MythContext'
dvbchannel.cpp:722: error: `std::ostringstream 
MythContext::verbose_macro_tmp'
   is not a static member of `class MythContext'
dvbchannel.cpp:722: error: syntax error before `<<' token
dvbchannel.cpp:722: error: syntax error before `.' token
dvbchannel.cpp:722: error: syntax error before `<<' token
dvbchannel.cpp:722: error: syntax error before `.' token
dvbchannel.cpp:729: error: `QString MythContext::dtime' is not a static 
member
   of `class MythContext'
dvbchannel.cpp:729: error: `std::ostringstream 
MythContext::verbose_macro_tmp'
   is not a static member of `class MythContext'
dvbchannel.cpp:729: error: syntax error before `<<' token
dvbchannel.cpp:729: error: syntax error before `.' token
dvbchannel.cpp:729: error: syntax error before `<<' token
dvbchannel.cpp:729: error: syntax error before `.' token
dvbchannel.cpp:742: error: cannot declare member function `DVBChannel::
   GetChanID' within `MythContext'
dvbchannel.cpp:742: error: syntax error before `{' token
dvbchannel.cpp:745: error: `MSqlQuery MythContext::query' is not a static
   member of `class MythContext'
dvbchannel.cpp:747: error: syntax error before `.' token
dvbchannel.cpp:753: error: syntax error before `.' token
dvbchannel.cpp:754: error: syntax error before `.' token
dvbchannel.cpp:765: error: syntax error before `.' token
dvbchannel.cpp:770: error: cannot declare member function `DVBChannel::
   SaveCachedPids' within `MythContext'
dvbchannel.cpp:770: error: syntax error before `{' token
dvbchannel.cpp:777: error: cannot declare member function `DVBChannel::
   GetCachedPids' within `MythContext'
dvbchannel.cpp:777: error: syntax error before `{' token
dvbchannel.cpp:784: error: cannot declare member function 
`DVBChannel::GetRotor
   ' within `MythContext'
dvbchannel.cpp:784: error: syntax error before `{' token
dvbchannel.cpp:792: error: cannot declare member function `DVBChannel::
   IsSelfRetuning' within `MythContext'
dvbchannel.cpp:792: error: syntax error before `{' token
dvbchannel.cpp:797: error: cannot declare member function `DVBChannel::
   GetTimeSinceTune' within `MythContext'
dvbchannel.cpp:797: error: syntax error before `{' token
dvbchannel.cpp: In function `void drain_dvb_events(int)':
dvbchannel.cpp:807: error: `dvb_frontend_event MythContext::event' is not a
   static member of `class MythContext'
dvbchannel.cpp:808: error: ISO C++ forbids taking the address of a bound 
member
   function to form a pointer to member function.  Say `&MythContext::event'
{standard input}: Assembler messages:
{standard input}:51: Error: symbol `_ZN11MythContext5dtimeE' is already 
defined
{standard input}:57: Error: symbol 
`_ZN11MythContext17verbose_macro_tmpE' is already defined
{standard input}:63: Error: symbol `_ZN11MythContext5dtimeE' is already 
defined
{standard input}:69: Error: symbol 
`_ZN11MythContext17verbose_macro_tmpE' is already defined
distcc[12890] ERROR: compile dvbchannel.cpp on localhost failed
make[2]: *** [dvbchannel.o] Error 1
make[2]: Leaving directory `/myth/backup/svn0.20/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/myth/backup/svn0.20/mythtv/libs'
make: *** [sub-libs] Error 2

Compiling 10466 and earlier versions was no prob on my system... Any ideas?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060720/5d4ebd96/attachment.htm 


More information about the mythtv-dev mailing list