GNOME Bugzilla – Bug 459302
gstreamer ffmpeg cvs head fails to build against system ffmpeg svn
Last modified: 2007-07-22 20:47:31 UTC
gstreamer ffmpeg cvs head fails to build against system ffmpeg svn with the following error make[3]: Entering directory `/home/hussam/Desktop/aa/gst-ffmpeg/ext/ffmpeg' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -Werror -DGST_DISABLE_DEPRECATED -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/ffmpeg -g -O2 -MT libgstffmpeg_la-gstffmpegcodecmap.lo -MD -MP -MF .deps/libgstffmpeg_la-gstffmpegcodecmap.Tpo -c -o libgstffmpeg_la-gstffmpegcodecmap.lo `test -f 'gstffmpegcodecmap.c' || echo './'`gstffmpegcodecmap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -Werror -DGST_DISABLE_DEPRECATED -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/ffmpeg -g -O2 -MT libgstffmpeg_la-gstffmpegcodecmap.lo -MD -MP -MF .deps/libgstffmpeg_la-gstffmpegcodecmap.Tpo -c gstffmpegcodecmap.c -fPIC -DPIC -o .libs/libgstffmpeg_la-gstffmpegcodecmap.o cc1: warnings being treated as errors gstffmpegcodecmap.c: In function 'gst_ffmpeg_get_palette': gstffmpegcodecmap.c:53: warning: 'AVPaletteControl' is deprecated gstffmpegcodecmap.c: In function 'gst_ffmpeg_codecid_to_caps': gstffmpegcodecmap.c:554: error: duplicate case value gstffmpegcodecmap.c:553: error: previously used here gstffmpegcodecmap.c: In function 'gst_ffmpeg_caps_with_codecid': gstffmpegcodecmap.c:1564: warning: pointer targets in passing argument 1 of 'g_stpcpy' differ in signedness gstffmpegcodecmap.c: In function 'gst_ffmpeg_get_codecid_longname': gstffmpegcodecmap.c:2559: error: duplicate case value gstffmpegcodecmap.c:2558: error: previously used here gstffmpegcodecmap.c: In function 'gst_ffmpeg_img_convert': gstffmpegcodecmap.c:3183: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2395) make[3]: *** [libgstffmpeg_la-gstffmpegcodecmap.lo] Error 1 make[3]: Leaving directory `/home/hussam/Desktop/aa/gst-ffmpeg/ext/ffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/hussam/Desktop/aa/gst-ffmpeg/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hussam/Desktop/aa/gst-ffmpeg' make: *** [all] Error 2
Running gst-ffmpeg against the system installed library is explicitly not supported by us. It's the reason we have an internal snapshot, and the reason it gets out of date is because it's such a pain to update when ffmpeg break their API so often. Blame ffmpeg for breaking their API, and get them to do releases.