[mythtv-users] mytharchivehelper compile fails

Stephen G sgreszcz at yahoo.com
Sat Aug 19 18:38:00 UTC 2006


Hi,

I just downloaded mythtv out of SVN revision 10857.  It looks as though mythtv compiled OK, but am having problems compiling the plugins.  The compile seems to fail when it gets to mytharchivehelper.

Can anyone give me any pointers on how to fix this?  I tried this thread for help http://www.gossamer-threads.com/lists/mythtv/dev/216820?do=post_view_threaded
, but it didn't seem to work.

Thanks in advance... Stephen

make[2]: Leaving directory `/usr/src/mythplugins/mytharchive/mytharchive'
cd mytharchivehelper && make -f Makefile
make[2]: Entering directory `/usr/src/mythplugins/mytharchive/mytharchivehelper'
g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr/local/mythtv-0.19\" -DMMX -Di386 -DUSING_FREEBOX -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/mythtv-0.19/include -I/usr/kde/3.3/include -I../../../../local/mythtv-0.19/include -I../../../../include -I../../../../local/mythtv-0.19/include/mythtv -I../../../../include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include -o main.o main.cpp
../../../../include/qt3/qsqldatabase.h:63: warning: ‚class QSqlDriverCreatorBase‚ has virtual functions but non-virtual destructor
main.cpp: In member function ‚int NativeArchive::exportVideo(QDomElement&, const QString&)‚:
main.cpp:690: warning: ‚intID‚ may be used uninitialized in this function
main.cpp: In function ‚int main(int, char**)‚:
main.cpp:2132: warning: ‚chanID‚ may be used uninitialized in this function
g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr/local/mythtv-0.19\" -DMMX -Di386 -DUSING_FREEBOX -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/mythtv-0.19/include -I/usr/kde/3.3/include -I../../../../local/mythtv-0.19/include -I../../../../include -I../../../../local/mythtv-0.19/include/mythtv -I../../../../include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include -o archiveutil.o ../mytharchive/archiveutil.cpp
../../../../include/qt3/qsqldatabase.h:63: warning: ‚class QSqlDriverCreatorBase‚ has virtual functions but non-virtual destructor
g++  -o mytharchivehelper main.o archiveutil.o    -L/usr/kde/3.3/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/usr/local/mythtv-0.19/lib -lmyth-0.19 -lmythtv-0.19 -lmythui-0.19 -lmythfreemheg-0.19 -lmythlivemedia-0.19 -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
/usr/bin/ld: warning: libmythavutil-0.19.so.0, needed by /usr/local/mythtv-0.19/lib/libmythtv-0.19.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmythavcodec-0.19.so.0, needed by /usr/local/mythtv-0.19/lib/libmythtv-0.19.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmythavformat-0.19.so.0, needed by /usr/local/mythtv-0.19/lib/libmythtv-0.19.so, not found (try using -rpath or -rpath-link)
main.o: In function `grabThumbnail(QString, QString, QString)':main.cpp:(.text+0x54f2): undefined reference to `av_register_all'
:main.cpp:(.text+0x5703): undefined reference to `av_open_input_file'
:main.cpp:(.text+0x598f): undefined reference to `av_find_stream_info'
:main.cpp:(.text+0x5a2e): undefined reference to `avcodec_find_decoder'
:main.cpp:(.text+0x5a46): undefined reference to `avcodec_open'
:main.cpp:(.text+0x5ab2): undefined reference to `avcodec_alloc_frame'
:main.cpp:(.text+0x5b1f): undefined reference to `av_read_frame'
:main.cpp:(.text+0x5ee1): undefined reference to `av_close_input_file'
:main.cpp:(.text+0x6211): undefined reference to `avcodec_flush_buffers'
:main.cpp:(.text+0x6246): undefined reference to `avcodec_decode_video'
:main.cpp:(.text+0x6274): undefined reference to `av_read_frame'
:main.cpp:(.text+0x62ae): undefined reference to `avcodec_decode_video'
:main.cpp:(.text+0x62f4): undefined reference to `avpicture_fill'
:main.cpp:(.text+0x631f): undefined reference to `avpicture_deinterlace'
:main.cpp:(.text+0x6356): undefined reference to `img_convert'
:main.cpp:(.text+0x66b2): undefined reference to `av_free'
:main.cpp:(.text+0x66be): undefined reference to `avcodec_close'
:main.cpp:(.text+0x66cd): undefined reference to `av_close_input_file'
main.o: In function `getFrameCount(AVFormatContext*, int)':main.cpp:(.text+0x2ff44): undefined reference to `av_destruct_packet_nofree'
:main.cpp:(.text+0x2ff98): undefined reference to `av_read_frame'
:main.cpp:(.text+0x2ffc8): undefined reference to `av_read_frame'
main.o: In function `getFileInfo(QString, QString, int)':main.cpp:(.text+0x3035b): undefined reference to `av_register_all'
:main.cpp:(.text+0x305f0): undefined reference to `av_open_input_file'
:main.cpp:(.text+0x3091b): undefined reference to `av_find_stream_info'
:main.cpp:(.text+0x3093b): undefined reference to `av_estimate_timings'
:main.cpp:(.text+0x30969): undefined reference to `dump_format'
:main.cpp:(.text+0x30cb7): undefined reference to `avcodec_string'
:main.cpp:(.text+0x31530): undefined reference to `av_close_input_file'
:main.cpp:(.text+0x324f6): undefined reference to `av_close_input_file'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_crc04C11DB7'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `url_seek'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_find_encoder_by_name'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `img_resample_init'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_init'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_alloc_format_context'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `udp_get_file_handle'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_seek_frame'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `url_write'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_default_get_buffer'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_log_set_level'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_probe_input_format'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_freep'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `img_resample_close'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_decode_audio'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `codec_id_string'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `url_open'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_mallocz'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_crc'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `img_resample'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_malloc'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_encode_video'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_read_frame_flush'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_dup_packet'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `mm_support'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `codec_type_string'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `url_close'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_alloc_context'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `av_rescale'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_decode_subtitle'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_align_dimensions'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `url_read'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_default_release_buffer'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `a52_syncinfo'
/usr/local/mythtv-0.19/lib/libmythtv-0.19.so: undefined reference to `avcodec_register_all'
collect2: ld returned 1 exit status
make[2]: *** [mytharchivehelper] 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
root at tv:/usr/src/mythplugins#





More information about the mythtv-users mailing list