GNOME Bugzilla – Bug 668338
[0.11] - gst-ffmpeg fails to build from disted tarball
Last modified: 2012-01-20 15:21:29 UTC
-Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegdec.lo `test -f 'gstffmpegdec.c' || echo './'`gstffmpegdec.c CC libgstffmpeg_la-gstffmpegcfg.lo /bin/sh ../../libtool --silent --tag=CC --tag=disable-static --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I ../../gst-libs/ext/libav/libavutil -I ../../gst-libs/ext/libav/libavformat -I ../../gst-libs/ext/libav/libavcodec -I ../../gst-libs/ext/libav -I ../../gst-libs/ext/libav -Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegcfg.lo `test -f 'gstffmpegcfg.c' || echo './'`gstffmpegcfg.c CC libgstffmpeg_la-gstffmpegdemux.lo /bin/sh ../../libtool --silent --tag=CC --tag=disable-static --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I ../../gst-libs/ext/libav/libavutil -I ../../gst-libs/ext/libav/libavformat -I ../../gst-libs/ext/libav/libavcodec -I ../../gst-libs/ext/libav -I ../../gst-libs/ext/libav -Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegdemux.lo `test -f 'gstffmpegdemux.c' || echo './'`gstffmpegdemux.c gstffmpegdemux.c: In function 'gst_ffmpegdemux_init': gstffmpegdemux.c:272:3: error: passing argument 2 of 'gst_task_set_lock' from incompatible pointer type [-Werror] /usr/include/gstreamer-0.11/gst/gsttask.h:179:6: note: expected 'struct GStaticRecMutex *' but argument is of type 'struct GRecMutex *' cc1: all warnings being treated as errors
There is nothing special about a 'disted tarball' if you dist from git. git is git. warnings are still fatal, unless you pass --disable-fatal-warnings, which is not merged into 0.11 yet ;) > gstffmpegdemux.c:272:3: error: passing argument 2 of 'gst_task_set_lock' from > incompatible pointer type [-Werror] > /usr/include/gstreamer-0.11/gst/gsttask.h:179:6: note: expected 'struct > GStaticRecMutex *' but argument is of type 'struct GRecMutex *' > cc1: all warnings being treated as errors I'm guessing this means you need a new core with the threading api changes that wim made yesterday.
ok, with updated core this also works. Closing