[mythtv-users] Compiling Mythtv with DVB...

Kevin Kuphal kuphal at dls.net
Fri Dec 17 21:45:07 UTC 2004


Richie Jarvis wrote:

> Hi Folks,
>
> Having a slight problem atm with my MythTV 0.16 installation.  Its 
> been working perfectly, 1xTT-DVB-T card, 1xPVR250 and a second backend 
> with a BT878 card.
>
> Anyway, I decided to switch fully over to DVB-T for all my tuners, and 
> purchased 2 Nova-T cards.  Now, as some may know, the new cards are 
> based on the Conexant chipset, and is very difficult to get going - 
> took me 4 days of trying various kernels, drivers etc.
>
> They are now installed, and working fine, along with my original DVB-T 
> card - the 2 other cards are no longer in the system.
>
> I am now trying to compile mythtv on the master backend.  During 
> compilation, I get this error:
>
> make[2]: Entering directory `/root/build/mythtv-0.16/libs/libmythtv'
> g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
> `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
> -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XV 
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include 
> -I../../../dvb -I../libmyth -I.. -Idvbdev -I../libavcodec 
> -I/usr/lib/qt-3.3/include -o dvbdiseqc.o dvbdiseqc.cpp
> dvbdiseqc.cpp: In member function `bool 
> DVBDiSEqC::PositionerGotoAngular(dvb_tuning_t&, bool, bool&)':
> dvbdiseqc.cpp:587: error: `M_PI' undeclared (first use this function)
> dvbdiseqc.cpp:587: error: (Each undeclared identifier is reported only 
> once for each function it appears in.)
> dvbdiseqc.cpp:603: error: `tan' undeclared (first use this function)
> dvbdiseqc.cpp:603: error: `sin' undeclared (first use this function)
> dvbdiseqc.cpp:603: error: `atan2' undeclared (first use this function)
> dvbdiseqc.cpp:631: error: `round' undeclared (first use this function)
> make[2]: *** [dvbdiseqc.o] Error 1
> make[2]: Leaving directory `/root/build/mythtv-0.16/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory `/root/build/mythtv-0.16/libs'
> make: *** [sub-libs] Error 2
>
> I have setup the settings.pro as follows:
>
> # DVB support
> CONFIG += using_dvb
> DEFINES += USING_DVB
> # Note: INCLUDEPATH should point to the directory with
> #   'linux/dvb/frontend.h', not the directory with frontend.h
> INCLUDEPATH += /root/build/dvb
>
> and as per Martin Smith's excellant guide (thanks Martin) have copied 
> the include files from the kernel dvb driver to the /root/build/dvb.
>
Those look like functions from math.h.  Maybe try including that 
somewhere in that source file.

Kevin



More information about the mythtv-users mailing list