[mythtv] [mythtv-commits] Ticket #6823: build failure with gcc 4.4 on powerpc

Janne Grunau janne-mythtv at grunau.be
Wed Aug 19 10:24:28 UTC 2009


On Wed, Aug 19, 2009 at 04:51:03AM -0000, MythTV wrote:
> #6823: build failure with gcc 4.4 on powerpc
> ------------------------------+---------------------------------------------
> Comment(by nigel):
> 
>  I can verify the fault (PowerPC with GCC 4.1.2 and -r21349). This fixes it
>  for me:
>  {{{
>  Index: libs/libmythfreesurround/el_processor.cpp
>  ===================================================================
>  --- libs/libmythfreesurround/el_processor.cpp   (revision 21349)
>  +++ libs/libmythfreesurround/el_processor.cpp   (working copy)
>  @@ -26,6 +26,7 @@
>   #include "fftw3.h"
>   #else
>   extern "C" {
>  +#include "libavutil/internal.h"   // for DECLARE_ALIGNED
>   #include "dsputil.h"
>   };
>   typedef FFTSample FFTComplexArray[2];
>  }}}
>  but I am a long way from a complete build (poor little 400 MHz PPC is
>  still building Qt 4.4.1)

all the other places where dsputil.h is included should fail too:

filters/adjust/filter_adjust.c
filters/crop/filter_crop.c
filters/greedyhdeint/color.c
filters/mm_arch.h
filters/quickdnr/filter_quickdnr.c
libs/libmythtv/osdsurface.cpp

and as [21321] showed, we can't include libavutil/internal.h there.
I'll fix it with some preprocessor magic.

Janne


More information about the mythtv-dev mailing list