g++ -c -pipe `directfb-config --cflags` -Wall -W -march=athlon-xp -O2 -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_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I/usr/include/linux/dvb -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o dvbsections.o dvbsections.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) g++ -c -pipe `directfb-config --cflags` -Wall -W -march=athlon-xp -O2 -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_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I/usr/include/linux/dvb -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o dvbcam.o dvbcam.cpp make: *** [dvbdiseqc.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv' root@eNTi # emerge info Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-rc4-love1 i686) ================================================================= System uname: 2.6.9-rc4-love1 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.4 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distcc distlocks fixpackages sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://gentoo.inode.at/source/ http://ftp.rhnet.is/pub/gentoo/ http://gentoo.zie.pg.gda.pl" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowex S3TC X aalib acpi acpi4linux alsa antlr apm async avi berkdb bidi bitmap-fonts cdparanoia cdr crypt cups dga directfb divx4linux dvb dvd dvdr dvdread encode f77 faad flac fltk fmod foomaticdb freetype gdbm gif gimpprint glut gphoto2 gpm gtk gtk2 guile icq imagemagick imlib imlib2 java jikes jpeg junit lcms ldap libg++ libwww mad maildir mcal mikmod mmap mmx mmx2 mng moznocompose moznoirc moznomail mpeg music mysql nas ncurses nethack network nls nowin nvidia offensive oggvorbis openal opengl operanom2 oscar oss pam pdflib perl png ppds python qt quicktime readline rtc samba sdl session slang slp spell sse sse2 ssl stencil-buffer stroke tcltk tcpd tetex theora threads tiff timidity transcode truetype type1 unicode usb utf8 vim-with-x vnc wmf wxwindows x86 xchatdccserver xine xml xml2 xmlrpc xmms xosd xpm xprint xrandr xv xvid xvmc zlib"
there seems to be a simple solution to the problem. http://forums.gentoo.org/viewtopic.php?p=1613011#1613011
missing an #include "cmath" so it fails to compile with DVB support see http://www.mythtv.org/bugs/show_bug.cgi?id=88 Quick fix: *** mythtv/libs/libmythtv/dvbdiseqc.cpp.orig Fri Aug 6 13:34:55 2004 --- mythtv/libs/libmythtv/dvbdiseqc.cpp Sun Nov 7 06:10:53 2004 *************** *** 29,34 **** --- 29,35 ---- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #include <cmath> #include <iostream> #include "pthread.h" #include "qsqldatabase.h"
this is fixed in cvs, give it a little while to hit rsync