[mythtvnz] DVB-T MythTV patches
Roger Henderson
unicorn at ihug.co.nz
Tue Jul 8 11:05:41 BST 2008
On Tue, 2008-07-08 at 21:35 +1200, Craig Whitmore wrote:
> > >
> > > I'll try to post a patch of my further tweaked myth source if I get a
> > > chance this evening.
> > >
> > > Carey
> >
> > Sorry for all this confusion, I must have had a few problems with my patching.
> > I've created a script that does all the patching and then applies them all
> > before uploading them to my site, so it should all be ok now.
> >
>
> A few problems.
>
> Have to remove -FPIC -fPIC in libavcodec
>
> gets to el_Processor.cpp and gives
>
> ccache g++ -c -pipe -g -march=pentiumpro -fomit-frame-pointer -O3 -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -D__STDC_CONSTANT_MACROS -fPIC -DPIC -w -D_REENTRANT -DMMX -Di386
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I.
> -I/usr/local/include -I/usr/include -I../libavcodec -I../libmyth
> -I../libavutil -I/usr/include/qt3 -o el_processor.o el_processor.cpp
> In file included from el_processor.cpp:30:
> ../libavcodec/dsputil.h: In function ‘void copy_block2(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:718: error: ‘AV_RN16’ was not declared in this
> scope
> ../libavcodec/dsputil.h:718: error: ‘AV_WN16’ was not declared in this
> scope
> ../libavcodec/dsputil.h: In function ‘void copy_block4(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:729: error: ‘AV_RN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h:729: error: ‘AV_WN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h: In function ‘void copy_block8(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:740: error: ‘AV_RN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h:740: error: ‘AV_WN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h: In function ‘void copy_block9(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:752: error: ‘AV_RN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h:752: error: ‘AV_WN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h: In function ‘void copy_block16(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:765: error: ‘AV_RN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h:765: error: ‘AV_WN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h: In function ‘void copy_block17(uint8_t*,
> uint8_t*, int, int, int)’:
> ../libavcodec/dsputil.h:779: error: ‘AV_RN32’ was not declared in this
> scope
> ../libavcodec/dsputil.h:779: error: ‘AV_WN32’ was not declared in this
> scope
> make[2]: *** [el_processor.o] Error 1
>
I found a post on the net somewhere about that one:
/libs/libavutil/avutil.h
#include "intfloat_readwrite.h"
+#include "intreadwrite.h"
#include "log.h"
/libs/libavcodec/dct-test.c
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
More information about the mythtvnz
mailing list