[mythtv-users] Problem building MythArchive - SVN 13840

Paul Harrison mythtv at dsl.pipex.com
Sun Jul 8 08:24:05 UTC 2007

Darryl Ross wrote:
> Hi All,
> I'm getting an error 'too many arguments to function' when building
> MythArchive now. Is this likely an error on my system or in the myth code?
> Build system is a CentOS 5.0 machine.
>> g++ -c -pipe -march=pentium4 -Wno-non-virtual-dtor -Wall -W -O3 -fomit-frame-pointer -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/include -I/usr/src/redhat/BUILD/mythtv-0.21/linuxtv-dvb-1.1.1cvs20050529/linux/include -I/usr/include/mythtv -I/usr/include/mythtv/ffmpeg -I/usr/include/mythtv/libmythtv -I/usr/lib/qt-3.3/include -o thumbfinder.o thumbfinder.cpp
>> /usr/lib/qt-3.3/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
>> /usr/include/mythtv/ffmpeg/avformat.h: In member function 'bool ThumbFinder::initAVCodec(const QString&)':
>> /usr/include/mythtv/ffmpeg/avformat.h:464: error: too many arguments to function 'void av_estimate_timings(AVFormatContext*)'
>> thumbfinder.cpp:582: error: at this point in file
> Regards
> Darryl

You are trying to use two incompatible versions of mythtv and
mythplugins. There are sometimes changes in the main mythtv sources that
require you to also update the mythplugins sources. It looks like you
have updated the mythplugins and not mythtv. Another common reason is
not installing mythtv _before_ compiling the plugins thats because the
plugins use the installed mythtv headers not the ones in the source

Paul H.

More information about the mythtv-users mailing list