[mythtv] Compile error with SVN 10553

Otto Kolsi otto at kolsi.fi
Sun Jul 16 11:56:55 UTC 2006


> I'm trying to compile SVN 10553 on Fedora Core 4, but got following 
> error. I have made both distclean and configure. Another compilation on 
> FC5 seems to be okay.
> 
> 
> g++ -c -pipe -march=i386 -Wall -W -g -I/usr/include/freetype2 
> -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" 
> -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS 
> -DUSING_H264TOOLS -DUSING_XV -DUSING_FRONTEND -DUSING_DVB 
> -DUSING_BACKEND -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG 
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include 
> -I/usr/include -I/usr/X11R6/include -I../.. -I.. -I../libmyth 
> -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg 
> -I../libmythlivemedia/BasicUsageEnvironment/include 
> -I../libmythlivemedia/groupsock/include 
> -I../libmythlivemedia/liveMedia/include 
> -I../libmythlivemedia/UsageEnvironment/include -I/usr/lib/qt-3.3/include 
> -o NuppelVideoPlayer.o NuppelVideoPlayer.cpp
> /usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: ‘class 
> QSqlDriverCreatorBase’ has virtual functions but non-virtual destructor
> NuppelVideoPlayer.cpp: In member function ‘void 
> NuppelVideoPlayer::HandleSelect(bool)’:
> NuppelVideoPlayer.cpp:4531: error: call of overloaded ‘llabs(long long 
> int)’ is ambiguous
> /usr/include/stdlib.h:790: note: candidates are: long long int 
> llabs(long long int)
> /usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/cstdlib:172: 
> note:                 long long int __gnu_cxx::llabs(long long int)
> make: *** [NuppelVideoPlayer.o] Error 1


And another one on FC5 machine where previous error doesn't occur:

/usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: ‘class 
QSqlDriverCreatorBase’ has virtual functions but non-virtual destructor
g++ -c -pipe -march=i686 -Wall -W -g -D_REENTRANT  -DMMX -Di386 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" 
-DLIBDIR=\"/usr/local/lib\" -DQT_THREAD_SUPPORT 
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include -I../.. 
-I../../libs -I../../libs/libmyth -I../../libs/libmythtv 
-I../../libs/libavutil -I../../libs/libavformat -I../../libs/libavcodec 
-I../../libs/libmythupnp -I../../libs/libmythui 
-I../../libs/libmythlivemedia -Ireplex -I../../libs/libavcodec 
-I../../libs/libavformat -I../../libs/libavutil 
-I../../libs/libmythmpeg2 -I/usr/lib/qt-3.3/include -I/usr/X11R6/include 
-I/usr/X11R6/include -o transcode.o transcode.cpp
/usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: ‘class 
QSqlDriverCreatorBase’ has virtual functions but non-virtual destructor
transcode.cpp: In member function ‘int Transcode::TranscodeFile(char*, 
char*, QString, bool, bool, int, QString)’:
transcode.cpp:799: error: ‘class NuppelVideoPlayer’ has no member 
named ‘GetAspectRatio’
transcode.cpp:801: error: ‘class NuppelVideoPlayer’ has no member 
named ‘GetAspectRatio’
make[2]: *** [transcode.o] Error 1
make[2]: Leaving directory 
`/mnt/myth/SVN/mythtv/mythtv/programs/mythtranscode'
make[1]: *** [sub-mythtranscode] Error 2
make[1]: Leaving directory `/mnt/myth/SVN/mythtv/mythtv/programs'
make: *** [sub-programs] Error 2
-- 
   Otto


More information about the mythtv-dev mailing list