Error compiling with meson + ninja
Sebastian Dröge
sebastian at centricular.com
Tue Dec 13 20:22:41 UTC 2016
On Tue, 2016-12-13 at 19:17 +0000, Stuart Axon wrote:
> Hi All
> I thought I'd give gst-build a go on raspbian.
>
> It complained in gstdashdemux -
>
> $ ninja -C build/
> [...]
> [3/1597] Compiling c object 'subprojects/gst-plugins-bad/ext/dash/gst
> dashdemux at sha/gstdashdemux.c.o'
> FAILED: subprojects/gst-plugins-bad/ext/dash/gstdashdemux at sha/gstdash
> demux.c.o
> ccache cc '-Isubprojects/gst-plugins-bad/ext/dash/gstdashdemux at sha'
> '-fdiagnostics-color=always' '-Isubprojects/gst-plugins-bad/ext/dash'
> '-I../subprojects/gst-plugins-bad/ext/dash' '-Isubprojects/gst-
> plugins-bad/.' '-I../subprojects/gst-plugins-bad/.' '-
> Isubprojects/gst-plugins-bad/gst-libs' '-I../subprojects/gst-plugins-
> bad/gst-libs' '-Isubprojects/gstreamer/libs' '-
> I../subprojects/gstreamer/libs' '-Isubprojects/gstreamer/.' '-
> I../subprojects/gstreamer/.' '-I/home/pi/gst-
> build/build/subprojects/gstreamer/gst/..' '-Isubprojects/gst-plugins-
> base/gst-libs' '-I../subprojects/gst-plugins-base/gst-libs' '-pipe'
> '-Wall' '-Winvalid-pch' '-DHAVE_CONFIG_H' '-DGST_USE_UNSTABLE_API' '-
> O0' '-g' '-fPIC' '-I/usr/include/glib-2.0' '-I/usr/lib/arm-linux-
> gnueabihf/glib-2.0/include' '-pthread' '-I/usr/include/libxml2' '-
> Isubprojects/gstreamer/libs/gst/base' '-Isubprojects/gstreamer/gst'
> '-Isubprojects/gst-plugins-base/gst-libs/gst/tag' '-MMD' '-MQ' 'subpr
> ojects/gst-plugins-bad/ext/dash/gstdashdemux at sha/gstdashdemux.c.o' '-
> MF' 'subprojects/gst-plugins-bad/ext/dash/gstdashdemux at sha/gstdashdem
> ux.c.o.d' -o 'subprojects/gst-plugins-bad/ext/dash/gstdashdemux at sha/g
> stdashdemux.c.o' -c ../subprojects/gst-plugins-
> bad/ext/dash/gstdashdemux.c
> ../subprojects/gst-plugins-bad/ext/dash/gstdashdemux.c: In function
> ‘gst_dash_demux_parse_http_head’:
> ../subprojects/gst-plugins-bad/ext/dash/gstdashdemux.c:2856:5: error:
> ‘for’ loop initial declarations are only allowed in C99 or C11 mode
> for (int i = 1; months[i]; ++i) {
> ^
Thanks for reporting, this should be fixed now:
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=788bb676396a28bed4a6a423500a96a913708ed0
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161213/32feb8d0/attachment.sig>
More information about the gstreamer-devel
mailing list