[mythtvnz] freeview|HD working!

Paul Kendall paul at kcbbs.gen.nz
Mon Jul 28 05:59:00 BST 2008


On Sunday 27 July 2008 21:36:06 Craig Whitmore wrote:
> On Sun, 2008-07-27 at 21:16 +1200, Hayden Lovett wrote:
> > Hey all,
> > Excited to give the latest patches a go, but a little lost how to
> > apply them.
> > Also, do they work with 64bit editions?
>
> Just a few issues..
>
> 1 - Removing the -fpic -FPIC from the Makefile in
> libs/libavcodec/Makefile (seems its a GCC bug?)
> 2 - Add -I../.. in INCPATH in libs/libmythfreesurround/Makefile
> 3 - in libs/libavutil/avutil.c add #include "intreadwrite.h"
>
> and the one I cannot work out... :-(
>
> make[2]: Entering directory `/archives/PK/mythtv-0.21.0+fixes17900
> +ffmpeg14408+latm/programs/mythtv'
> ccache g++  -o mythtv main.o    -L/usr/share/qt3/lib
> -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil
> -L../../libs/libavcodec -L../../libs/libavformat
> -L../../libs/libmythfreemheg -L../../libs/libmythui
> -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.21
> -lmythavformat-0.21 -lmythavutil-0.21 -lmythavcodec-0.21
> -lmythfreemheg-0.21 -lmythupnp-0.21 -lmythlivemedia-0.21 -lmyth-0.21
> -lmythui-0.21 -lfreetype -lz -lmp3lame -lasound -L/usr/lib -lartsc
> -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -ljack -lraw1394
> -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib -lXinerama -lXv
> -lXxf86vm -lXrandr -lXvMCW -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11
> -lm -lpthread
> ../../libs/libavcodec/libmythavcodec-0.21.so: undefined reference to
> `latm_parser'
> collect2: ld returned 1 exit status
> make[2]: *** [mythtv] Error 1
> make[2]: Leaving directory `/archives/PK/mythtv-0.21.0+fixes17900
> +ffmpeg14408+latm/programs/mythtv'
> make[1]: *** [sub-mythtv] Error 2
> make[1]: Leaving directory `/archives/PK/mythtv-0.21.0+fixes17900
> +ffmpeg14408+latm/programs'
> make: *** [sub-programs] Error 2
>
>
>
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

I'll get these into my patches. The "-DPIC -fPIC" edit I only do on the 3 
files which need it. i.e. When the build fails I copy the gcc line and paste 
it into a console sans the PIC stuff.

On my machine, I do not have to make any other edits! I will load up a clean 
VM and try on that, and make and changes necessary to get it build 
out-of-the-box.

Cheers,
Paul



More information about the mythtvnz mailing list