GNOME Bugzilla – Bug 313223
gst-ffmpeg-0.8.6 fails to compile on a PPC
Last modified: 2005-08-16 12:08:09 UTC
Distribution/Version: Yellow Dog Linux 4.0.1 There are two issues: (1) gst-libs/ext/ffmpeg/libavcodec/libpostproc/postprocess_altivec_template.c is missing (2) gst-libs/ext/ffmpeg/libavcodec/libpostproc/postprocess.c fails to compile Solution --------- (1) fetch postprocess_altivec_template.c from :pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg (2) fix gst-libs/ext/ffmpeg/libavcodec/libpostproc/Makefile --- Makefile- 2005-08-11 09:02:47.000000000 -0400 +++ Makefile 2005-08-10 22:43:35.000000000 -0400 @@ -561,6 +561,7 @@ target_vendor = unknown INCLUDES = \ -I$(top_srcdir)/libavcodec \ + $(ALTIVEC_CFLAGS) \ -fomit-frame-pointer pp_sources = \ Since the Makefile is generated from Makefile.in, which is generated from Makefile.am the patches are similar: --- Makefile.in- 2005-08-11 09:02:52.000000000 -0400 +++ Makefile.in 2005-08-11 09:03:29.000000000 -0400 @@ -561,6 +561,7 @@ target_vendor = @target_vendor@ INCLUDES = \ -I$(top_srcdir)/libavcodec \ + $(ALTIVEC_CFLAGS) \ -fomit-frame-pointer pp_sources = \ --- Makefile.am- 2005-08-11 09:03:34.000000000 -0400 +++ Makefile.am 2005-08-11 09:03:59.000000000 -0400 @@ -1,5 +1,6 @@ INCLUDES = \ -I$(top_srcdir)/libavcodec \ + $(ALTIVEC_CFLAGS) \ -fomit-frame-pointer pp_sources = \
I have taken this upstream in my tree, it'll take a few more days and then I'll do it in gst-ffmpeg, also. Thanks.
Fix --disable-encoders somewhat (#312764) at least ./configure passes now), and also fix the PPC compile (#313233).