[mythtv-users] svn 0.21 trunk - can't compile mytharchive

Rick rbonafied at gmail.com
Wed Jun 6 23:36:36 UTC 2007


Hi,

I'm running a mandriva 2007.1 system.  While attempting to compile the 
plugins, I get a slew of errors  when it hits mytharchive.  This only 
happens in the 0.21 trunk, but not the fixes branch.  A quick search of 
the tickets didn't show anything,  but I often need my eyes adjusted :)

Any tips?


Here's a snippet of the errors (shortened from the long list):

cd mytharchivehelper && qmake mytharchivehelper.pro -o Makefile
cd mytharchivehelper && make -f Makefile
make[2]: Entering directory 
`/home/rbonafied/compile/mythtv/svn.trunk/mythplugins/mytharchive/mytharchivehelper'
g++ -c -pipe -march=pentiumpro -mmmx -I/usr/include/artsc -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-Wno-non-virtual-dtor -Wall -W -O3 -fomit-frame-pointer -Wall 
-Wno-switch -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local/mythtv.0.21\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/mythtv.0.21/include 
-I/usr/kde/3.3/include -I/usr/local/mythtv.0.21/include 
-I/usr/local/mythtv.0.21/include/mythtv -I/usr/lib/qt3//include 
-I/usr/include -I/usr/include -o main.o main.cpp
/usr/lib/qt3//include/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:722: warning: ‘intID’ may be used uninitialized in this function
main.cpp: In function ‘int main(int, char**)’:
main.cpp:2308: warning: ‘chanID’ may be used uninitialized in this function
g++ -c -pipe -march=pentiumpro -mmmx -I/usr/include/artsc -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-Wno-non-virtual-dtor -Wall -W -O3 -fomit-frame-pointer -Wall 
-Wno-switch -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local/mythtv.0.21\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/mythtv.0.21/include 
-I/usr/kde/3.3/include -I/usr/local/mythtv.0.21/include 
-I/usr/local/mythtv.0.21/include/mythtv -I/usr/lib/qt3//include 
-I/usr/include -I/usr/include -o archiveutil.o 
../mytharchive/archiveutil.cpp
/usr/lib/qt3//include/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/lib/qt3//lib -L/usr/lib -L/usr/local/mythtv.0.21/lib -lfreetype 
-lmp3lame -lasound -L/usr/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 
-lrt -lglib-2.0 -ljack -lraw1394 -liec61883 -lavc1394 -lrom1394 
-lXinerama -lXv -lXxf86vm -lXvMCW -lXvMC -lmyth-0.20 -lmythtv-0.20 
-lmythui-0.20 -lmythfreemheg-0.20 -lmythlivemedia-0.20 -lqt-mt -lGLU 
-lGL -lXmu -lXext -lX11 -lm -lpthread
/usr/bin/ld: warning: libmythavutil-0.20.so.0, needed by 
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libmythavcodec-0.20.so.0, needed by 
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libmythavformat-0.20.so.0, needed by 
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so, not found (try using 
-rpath or -rpath-link)
main.o: In function `getFrameCount(AVFormatContext*, int)':
main.cpp:(.text+0x8d0): undefined reference to `av_destruct_packet_nofree'
main.cpp:(.text+0x918): undefined reference to `av_read_frame'
main.cpp:(.text+0x948): undefined reference to `av_read_frame'
main.o: In function `grabThumbnail(QString, QString, QString, int)':
main.cpp:(.text+0x8f92): undefined reference to `av_register_all'
main.cpp:(.text+0x9212): undefined reference to `av_open_input_file'
main.cpp:(.text+0x9509): undefined reference to `av_find_stream_info'
main.cpp:(.text+0x98be): undefined reference to `avcodec_find_decoder'
main.cpp:(.text+0x98d6): undefined reference to `avcodec_open'
main.cpp:(.text+0x9975): undefined reference to `avcodec_alloc_frame'
main.cpp:(.text+0x99de): undefined reference to `av_read_frame'
main.cpp:(.text+0x9caa): undefined reference to `av_close_input_file'
main.cpp:(.text+0xa84e): undefined reference to `avcodec_flush_buffers'
main.cpp:(.text+0xa87f): undefined reference to `avcodec_decode_video'
main.cpp:(.text+0xa8d8): undefined reference to `av_free'
main.cpp:(.text+0xa8e4): undefined reference to `avcodec_close'
main.cpp:(.text+0xa8f3): undefined reference to `av_close_input_file'
main.cpp:(.text+0xa9ad): undefined reference to `av_read_frame'
main.cpp:(.text+0xa9fb): undefined reference to `avcodec_decode_video'
main.cpp:(.text+0xab81): undefined reference to `avpicture_fill'
main.cpp:(.text+0xaba8): undefined reference to `avpicture_deinterlace'
main.cpp:(.text+0xabdf): undefined reference to `img_convert'
main.cpp:(.text+0xacf2): undefined reference to `av_read_frame'
main.cpp:(.text+0xad38): undefined reference to `avcodec_decode_video'
main.o: In function `getFileInfo(QString, QString, int)':
main.cpp:(.text+0xb8fd): undefined reference to `av_register_all'
main.cpp:(.text+0xbc81): undefined reference to `av_open_input_file'
main.cpp:(.text+0xc156): undefined reference to `av_find_stream_info'
main.cpp:(.text+0xc176): undefined reference to `av_estimate_timings'
main.cpp:(.text+0xc1a4): undefined reference to `dump_format'
main.cpp:(.text+0xc4cc): undefined reference to `avcodec_string'
main.cpp:(.text+0xc9f5): undefined reference to `av_rescale'
main.cpp:(.text+0xd023): undefined reference to `av_close_input_file'
main.cpp:(.text+0xd745): undefined reference to `av_rescale'
main.cpp:(.text+0x107b6): undefined reference to `av_close_input_file'
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so: undefined reference to 
`av_seek_frame'
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so: undefined reference to 
`codec_type_string'
/usr/local/mythtv.0.21/lib/libmythtv-0.20.so: undefined reference to 
`img_resample'




More information about the mythtv-users mailing list