[mythtvnz] freeview|HD working!

Michael Dilger mike at mikedilger.com
Sun Jul 27 20:43:36 BST 2008


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?)
>   
....I think that's "-DPIC  -fPIC" .    I think libavcodec.pro would be 
the place to fix this properly, since Makefile doesn't exist until you 
run configure.   But I'm not sure how (I'm more familiar with 
autoconf/automake than qmake).

> 2 - Add -I../.. in INCPATH in libs/libmythfreesurround/Makefile
>   
yep I had to do that too.
> 3 - in libs/libavutil/avutil.c add #include "intreadwrite.h"
>   
and that.
> 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
>   
In latm_parse.c, change "aac_latm_parser" on line 408 to "latm_parser".



-Mike




More information about the mythtvnz mailing list