[mythtv-users] error while compiling mythplugins

Paul Harrison mythtv at dsl.pipex.com
Fri Sep 7 17:33:09 UTC 2007


Ian Cruz wrote:
> i got this error while trying to compile mythplugins
>
> debian:/usr/src/mythplugins$ sudo make 
>  cd mytharchive && make -f Makefile 
>  make[1]: Entering directory
> `/usr/src/mythplugins/mytharchive' 
>  cd mytharchive && make -f Makefile 
>  make[2]: Entering directory
> `/usr/src/mythplugins/mytharchive/mytharchive' 
>  qmake -o Makefile mytharchive.pro 
>  make[2]: Leaving directory
> `/usr/src/mythplugins/mytharchive/mytharchive' 
>  make[2]: Entering directory
> `/usr/src/mythplugins/mytharchive/mytharchive' 
>  ccache g++ -c -pipe -march=athlon
> -I/usr/include/kde/artsc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
> -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
> -W -fomit-frame-pointer -O3 -fomit-frame-pointer
> -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE
> -DPREFIX=\"/usr/local\" -DMMX -Di386
> -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
> -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default
> -I. -I../../../../local/include -I/usr/kde/3.3/include
> -I../../../../local/include -I../../../../include
> -I../../../../local/include/mythtv
> -I../../../../include/qt3 -o main.o main.cpp 
>  rm -f libmytharchive.so 
>  ccache g++ -shared -o libmytharchive.so main.o
> archivesettings.o logviewer.o fileselector.o
> recordingselector.o videoselector.o dbcheck.o
> archiveutil.o mythburnwizard.o editmetadata.o
> exportnativewizard.o importnativewizard.o
> moc_logviewer.o moc_fileselector.o
> moc_recordingselector.o moc_videoselector.o
> moc_mythburnwizard.o moc_editmetadata.o
> moc_exportnativewizard.o moc_importnativewizard.o 
> -L/usr/kde/3.3/lib -L/usr/share/qt3/lib
> -L/usr/local/lib -lqt-mt -lpthread 
>  make[2]: Leaving directory
> `/usr/src/mythplugins/mytharchive/mytharchive' 
>  cd mytharchivehelper && make -f Makefile 
>  make[2]: Entering directory
> `/usr/src/mythplugins/mytharchive/mytharchivehelper'ccache
> g++ -c -pipe -march=athlon -I/usr/include/kde/artsc
> -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -Wall -Wno-switch
> -Wpointer-arith -Wredundant-decls
> -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
> -W -fomit-frame-pointer -O3 -fomit-frame-pointer
> -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr/local\"
> -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
> -I/usr/share/qt3/mkspecs/default -I.
> -I../../../../local/include -I/usr/kde/3.3/include
> -I../../../../local/include -I../../../../include
> -I../../../../local/include/mythtv
> -I../../../../include/qt3 -I/usr/X11R6/include
> -I/usr/X11R6/include -o main.o main.cpp 
>  main.cpp: In function ‘int
> grabThumbnail(QString, QString, QString)’: 
>  main.cpp:1635: warning: comparison between signed and
> unsigned integer expressions 
>  ../../../../local/include/mythtv/ffmpeg/avformat.h:
> In function ‘int getFileInfo(QString, QString,
> int)’: 
>
> ../../../../local/include/mythtv/ffmpeg/avformat.h:664:
> error: too few arguments to function ‘void
> av_estimate_timings(AVFormatContext*, offset_t)’
>
>  main.cpp:1871: error: at this point in file 
>  main.cpp:1889: warning: comparison between signed and
> unsigned integer expressions 
>  main.cpp:1931: warning: comparison between signed and
> unsigned integer expressions 
>  main.cpp:2007: warning: comparison between signed and
> unsigned integer expressions 
>  make[2]: *** [main.o] Error 1 
>  make[2]: Leaving directory
> `/usr/src/mythplugins/mytharchive/mytharchivehelper' 
>  make[1]: *** [sub-mytharchivehelper] Error 2 
>  make[1]: Leaving directory
> `/usr/src/mythplugins/mytharchive' 
>  make: *** [sub-mytharchive] Error 2
>
>   

Your either trying to use two incompatible versions of mythtv and
mythplugins or possibly you didn't install  mythtv before trying to
compile the plugins. Search the mailing list archives this has been
covered many many times before.

Paul H.


More information about the mythtv-users mailing list