[mythtv] Compilation problems with dvb enabled (cvs)

Harley Cole-Puls cole0103 at flinders.edu.au
Sun Jan 11 07:26:47 EST 2004


Gday,

I am new to Mythtv, and am installing it on a gentoo box with M10000 and Nova-t
in Australia. I have been having troubles compiling the latest cvs version of
Mythtv with dvb-support enabled, however it compiled OK without dvb-support. My
card works as evidenced by a dump from dvbstream into mplayer. I remember seeing
a comment from Isaac saying he had changed things around and dvb compiliation
may be broken. 

I have two questions,

1. Is there a patch/s available to fix this compilation problem, and if so can
you post a link to where i can get them.

2. If there isnt any patches to fix this problem, then is there a workaround to
manually insert dvb information in the database etc. What steps do i have to go
to  do this.

I have over the last part of this week been working to do 2. using mythtv-0.13
and information obtained from http://www.ethics-gradient.net/myth/mythdvb2.html
and http://boggle.org/writing/dvb-pvr.shtml but managed to get totally confused
and frustrated.

I would appreciate any help

Yours sincerly

Harley

P.S. Here is the error message that i get


sr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include -I/usr/src/linuxtv-dvb-1.0.1 
-I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o tv_rec.o tv_re
c.cpp
In file included from dvbchannel.h:20,
                 from tv_rec.cpp:30:
dvbtypes.h:18:31: linux/dvb/version.h: No such file or directory
dvbtypes.h:20:2: #error "DVB driver includes with API version 3 not found!"
dvbtypes.h:23:32: linux/dvb/frontend.h: No such file or directory
dvbtypes.h:24:27: linux/dvb/dmx.h: No such file or directory
In file included from dvbchannel.h:20,
                 from tv_rec.cpp:30:
dvbtypes.h:37: field `params' has incomplete type
dvbtypes.h:38: 'fe_sec_voltage_t' is used as a type, but is not defined as a 
   type.
dvbtypes.h:39: 'fe_sec_tone_mode_t' is used as a type, but is not defined as a 
   type.
In file included from dvbchannel.h:21,
                 from tv_rec.cpp:30:
dvbdiseqc.h:14:32: linux/dvb/frontend.h: No such file or directory
In file included from tv_rec.cpp:30:
dvbchannel.h:37: syntax error before `)' token
dvbchannel.h: In function `void GetCurrentChannel(dvb_channel_t*&)':
dvbchannel.h:48: `chan_opts' undeclared (first use this function)
dvbchannel.h:48: (Each undeclared identifier is reported only once for each 
   function it appears in.)
dvbchannel.h: At global scope:
dvbchannel.h:69: syntax error before `protected'
dvbchannel.h:75: `fe_status_t' was not declared in this scope
dvbchannel.h:75: syntax error before `)' token
dvbchannel.h:78: syntax error before `protected'
dvbchannel.h:82: syntax error before `private'
dvbchannel.h:92: `fe_modulation_t' was not declared in this scope
dvbchannel.h:92: `modulation' was not declared in this scope
dvbchannel.h:93: `fe_code_rate_t' was not declared in this scope
dvbchannel.h:93: `rate' was not declared in this scope
dvbchannel.h:101: syntax error before `private'
dvbchannel.h:104: aggregate `dvb_frontend_info info' has incomplete type and 
   cannot be defined
dvbchannel.h:107: `dvb_channel_t chan_opts' used prior to declaration
dvbchannel.h:121: syntax error before `}' token
In file included from tv_rec.cpp:31:
dvbrecorder.h:78: type specifier omitted for parameter `dmx_pes_type_t'
dvbrecorder.h:78: syntax error before `)' token
tv_rec.cpp: In constructor `TVRec::TVRec(int)':
tv_rec.cpp:73: cannot allocate an object of type `DVBChannel'
tv_rec.cpp:73:   because the following virtual functions are abstract:
channelbase.h:30:       virtual bool ChannelBase::SetChannelByString(const QStri
ng&)
channelbase.h:47:       virtual void ChannelBase::SwitchToInput(int, bool)
dvbchannel.h: At global scope:
dvbchannel.h:104: storage size of `info' isn't known
make[2]: *** [tv_rec.o] Error 1
make[2]: Leaving directory `/var/lib/mythcvs-100104/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/lib/mythcvs-100104/mythtv/libs'
make: *** [sub-libs] Error 2





More information about the mythtv-dev mailing list