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

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


-----BEGIN PGP SIGNED MESSAGE-----
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
`/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmyth'
make: Entering directory
`/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv'

<---SNIP--->

g++ -c -pipe `artsc-config --cflags` -Wall -W -O3 -pipe
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
- -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
- -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XVMC -DUSING_OPENGL_VSYNC
- -DUSING_XRANDR -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
- -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::StartRecording()':
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
`/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBYdC8QKHUJ4bI4pERAiFzAJ9aaKDujaAgOqMZqVpFI+Oaq+iVWQCgrm1g
zcWG9dJELyulfJG0A3vfvcE=
=RbUQ
-----END PGP SIGNATURE-----



More information about the mythtv-users mailing list