[mythtv] Can't compile tv.cpp

Adam Egger adam.egger at gmail.com
Sat Sep 24 15:51:30 UTC 2005


Hi -dev, hi Daniel,
I just tried to compile r7307 with the tuning-patch-v6 on my
debian64/gcc-4.0. Here are my configure settings:

./configure --enable-proc-opt --prefix=/usr --disable-audio-arts
--disable-audio-jack --disable-joystick-menu --disable-firewire
--disable-ivtv --enable-dvb --enable-dvb-eit --disable-xrandr
--disable-altivec --enable-memalign-hack --compile-type=profile

ccache g++ -c -pipe -march=k8 -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -g -DNDEBUG `freetype-config --cflags`
-D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_DBOX2 -DHAVE_DVDNAV
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\"
-D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_XV -DUSING_FRONTEND
-DUSING_V4L -DUSING_DVB -DUSING_DVB_EIT -DUSING_BACKEND
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/share/qt3/mkspecs/default -I. -I/usr/include
-I/usr/src/linux-2.6.13-kanotix64-up-3/include -I/usr/X11R6/include
-I../.. -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec
-I../libavutil -I../libmythmpeg2 -I/usr/include/qt3 -o tv.o tv.cpp
/usr/include/qt3/qsqldatabase.h:63: warning: 'class
QSqlDriverCreatorBase' has virtual functions but non-virtual
destructor
tv_rec.h: In member function 'QString TuningRequest::toString() const':
tv_rec.h:123: error: cast from 'ProgramInfo*' to 'uint' loses precision
make[3]: *** [tv.o] Error 1
make[3]: Leaving directory `/big/myth/trunk/mythtv/libs/libmythtv'
make[2]: *** [sub-libmythtv] Error 2
make[2]: Leaving directory `/big/myth/trunk/mythtv/libs'
make[1]: *** [sub-libs] Error 2
make[1]: Leaving directory `/big/myth/trunk/mythtv'
make: *** [build-arch-stamp] Error 2

Adam


More information about the mythtv-dev mailing list