[mythtv] A disruptive MythContext change is coming

Craig Andrews candrews at integralblue.com
Wed Jan 9 05:08:36 UTC 2008


The .7 patch no longer applies (I just tried with rev 15391).

(and yes, I'm replying to my own email)

Thanks!
~Craig

On Mon, January 7, 2008 10:25 pm, Craig Andrews wrote:
> I applied the new .7 patch, and still get an error. Here is what I
> believe to be a usable hunk of output:
>
> ringbuffer.c: In function 'dummy_print':
> ringbuffer.c:437: warning: format '%llu' expects type 'long long unsigned
> int', but argument 3 has type 'uint64_t' gcc -c -pipe -fomit-frame-pointer
> -O3 -Wall -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign  -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib64\" -DQT_NO_DEBUG -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
> -I/usr/include -Ireplex -I../../../libs/libavcodec
> -I../../../libs/libavformat -I../../../libs/libavutil
> -I../../../libs/libmythmpeg2 -I/usr/qt/3/include -o ts.o ts.c
> gcc -c -pipe -fomit-frame-pointer -O3 -Wall -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign  -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib64\" -DQT_NO_DEBUG -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
> -I/usr/include -Ireplex -I../../../libs/libavcodec
> -I../../../libs/libavformat -I../../../libs/libavutil
> -I../../../libs/libmythmpeg2 -I/usr/qt/3/include -o replex.o replex.c
> replex.c: In function 'save_read':
> replex.c:1089: warning: pointer of type 'void *' used in arithmetic
> gcc -c -pipe -fomit-frame-pointer -O3 -Wall -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign  -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib64\" -DQT_NO_DEBUG -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
> -I/usr/include -Ireplex -I../../../libs/libavcodec
> -I../../../libs/libavformat -I../../../libs/libavutil
> -I../../../libs/libmythmpeg2 -I/usr/qt/3/include -o pes.o pes.c
> g++
> -Wl,--hash-style=both,-z,relro,--enable-new-dtags,-O1,-z,now,--as-needed
> -o mythreplex avi.o element.o mpg_common.o multiplex.o ringbuffer.o ts.o
> replex.o pes.o    -L/usr/qt/3/lib64 -L../../../libs/libavutil
> -L../../../libs/libavcodec -L../../../libs/libavformat -lmythavcodec-0.20
>  -lmythavformat-0.20 -lmythavutil-0.20 -lfreetype -lz -lmp3lame -lasound
> -L/usr/X11R6/lib64 -lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW -lXvMC -lGL
> -lGLU -lqt-mt -lXext -lX11 -lm
> ../../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCFlushSurface'
> ../../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCLoadQMatrix'
> ../../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCBeginSurface'
> ../../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCSyncSurface'
> collect2: ld returned 1 exit status
> make[2]: *** [mythreplex] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/media-tv/mythtv-0.21_pre15333/work/mythtv-0.21/programs/
> mythtranscode/replex' make[1]: *** [sub-mythtranscode-replex] Error 2
> make[1]: *** Waiting for unfinished jobs....
> /usr/qt/3/bin/moc manualbox.h -o moc_manualbox.cpp
> /usr/qt/3/bin/moc playbackbox.h -o moc_playbackbox.cpp
> /usr/qt/3/bin/moc viewscheduled.h -o moc_viewscheduled.cpp
> /usr/qt/3/bin/moc globalsettings.h -o moc_globalsettings.cpp
> /usr/qt/3/bin/moc manualschedule.h -o moc_manualschedule.cpp
> /usr/qt/3/bin/moc programrecpriority.h -o moc_programrecpriority.cpp
>
>
> I can attached a full log, but it's a bit big at 576K.
>
>
> ~Craig
>
>
>> I'm attaching the exact patch I made.
>>
>
> Hmmm. It seems a little small:
>
>
> % egrep Index ctx.mythvideo.patch
> Index: mtd/mtd.pro
> Index: mtd/main.cpp
> %
>
>
>
>
> I have attached an updated patch to the ticket.
> http://svn.mythtv.org/trac/ticket/4264
>
>
>
> As for the XVMC error when linking mythtranscode/replex,
>
>
> 1) the lines you pasted into the mail message were
> truncated so I cannot work out what is happening. any change of a full
> build log? (e.g. make 2>&1 >log.txt)
>
> 2) Make sure the machine has fresh source
> and no /usr/local/lib/libmyth*
>
>
> _______________________________________________
> mythtv-dev mailing list mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>




More information about the mythtv-dev mailing list