try this :

On 17/06/05, Torbjörn Jansson <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] <> wrote:
> > --------------------------------------------------------------
> > --------------
> > Changes committed by danielk on Fri Jun 17 17:24:33 2005
> >
> > Modified Files:
> >    in mythtv/libs/libmythtv:
> >         channel.cpp channel.h channelbase.cpp channelbase.h
> >         dbcheck.cpp dvbchannel.cpp dvbchannel.h dvbtypes.cpp
> >         dvbtypes.h firewirechannel.h
> > Log Message:
> >
> > These changes are to support two improvements faster DTV channel
> > changing and a more generic channel scanning class. There is a
> > database update, the pidcache table is added.
> >
> 
> Now there is another compile error:
> 
> g++ -c -pipe -march=athlon -Wall -W -g `freetype-config --cflags`
> -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr/local\" -DUSING_XV -DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT
> -DUSING_OSS -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
> -I../../../dvb-kernel/linux/include -I../.. -I../libmyth -I.. -Idvbdev
> -Impeg -I../libavcodec -I../libmythmpeg2 -I/usr/lib/qt-3.3/include -o
> dvbchannel.o dvbchannel.cpp
> dvbchannel.cpp: In member function `virtual bool
> DVBChannel::SetChannelByString(const QString&)':
> dvbchannel.cpp:209: error: `FE_ATSC' undeclared (first use this function)
> dvbchannel.cpp:209: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 


-- 
John
Index: dvbchannel.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dvbchannel.cpp,v
retrieving revision 1.37
diff -u -r1.37 dvbchannel.cpp
--- dvbchannel.cpp      17 Jun 2005 17:24:33 -0000      1.37
+++ dvbchannel.cpp      17 Jun 2005 19:52:31 -0000
@@ -206,8 +206,10 @@
     if (curchannelname == chan && !force_channel_change)
         return true;
 
+#if (DVB_API_VERSION_MINOR == 1)
     if (FE_ATSC == info.type)
         SetCachedATSCInfo("");
+#endif
 
     force_channel_change = false;
 
@@ -240,8 +242,10 @@
 
     inputChannel[currentcapchannel] = curchannelname;
 
+#if (DVB_API_VERSION_MINOR == 1)
     if (FE_ATSC == info.type)
         SetCachedATSCInfo(chan);
+#endif
 
     return true;
 }
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to