[mythtv-users] Mythtv-0.16 failing with Math errors

Rod Smart snaketails at optusnet.com.au
Mon Oct 4 22:37:48 UTC 2004

Hash: SHA1

~    Hello, I'm trying to get mythtv to compile under Gentoo, but I am
getting "mathimaticle" errors during the compile time, but I don't
know what is causing this problem.

~    Someone on the Gntoo forums has sugested that "#include math.h"
should be included to "dvbdiseq.cpp"

~    Will this solve my problem?

~    Does anyone know why I am having this problem?

~    I am running Kernel-2.6.8 and gcc version 3.4.2

~    Below is the output of the compile that breaks, this is not a
problem with Gentoo, as compilation breaks if I try to compile from
source manually.

ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so
ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so.0
ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so.0.16
make: Leaving directory
make: Entering directory


g++ -c -pipe `artsc-config --cflags` -Wall -W -O3 -pipe
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
- -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include
- -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec
- -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o
dvbsections.o dvbsections.cpp
dvbrecorder.cpp: In member function `virtual void
dvbrecorder.cpp:381: warning: unused variable 'qualthread'
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: *** [dvbdiseqc.o] Error 1
make: *** Waiting for unfinished jobs....
ivtvdecoder.cpp:54: warning: unused parameter 'needFlush'
make: Leaving directory
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the mythtv-users mailing list