After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313223 - gst-ffmpeg-0.8.6 fails to compile on a PPC
gst-ffmpeg-0.8.6 fails to compile on a PPC
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.8.6
Other Linux
: Normal blocker
: 0.8.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-11 13:24 UTC by Joseph Sacco
Modified: 2005-08-16 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2005-08-11 13:24:32 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 = \
Comment 1 Ronald Bultje 2005-08-14 15:30:05 UTC
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.
Comment 2 Ronald Bultje 2005-08-16 12:08:09 UTC
Fix --disable-encoders somewhat (#312764) at least ./configure passes now), and
also fix the PPC compile (#313233).