GNOME Bugzilla – Bug 591469
gst-ffmpeg won't build
Last modified: 2009-08-12 08:57:59 UTC
compiling the latest gst-ffmpeg in git fails with: CC gstffmpegdec.o gstffmpegdec.c: In function ‘gst_ffmpegdec_video_frame’: gstffmpegdec.c:1665: error: ‘guintptr’ undeclared (first use in this function) gstffmpegdec.c:1665: error: (Each undeclared identifier is reported only once gstffmpegdec.c:1665: error: for each function it appears in.) gstffmpegdec.c:1665: error: expected expression before ‘)’ token gstffmpegdec.c:1692: error: expected expression before ‘)’ token gstffmpegdec.c:1694: error: expected expression before ‘)’ token make[3]: *** [libgstffmpeg_la-gstffmpegdec.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Making install in gst-libs Making install in ext Making install in ext Making install in ffmpeg CC gstffmpegdec.o gstffmpegdec.c: In function ‘gst_ffmpegdec_video_frame’: gstffmpegdec.c:1665: error: ‘guintptr’ undeclared (first use in this function) gstffmpegdec.c:1665: error: (Each undeclared identifier is reported only once gstffmpegdec.c:1665: error: for each function it appears in.) gstffmpegdec.c:1665: error: expected expression before ‘)’ token gstffmpegdec.c:1692: error: expected expression before ‘)’ token gstffmpegdec.c:1694: error: expected expression before ‘)’ token make[2]: *** [libgstffmpeg_la-gstffmpegdec.lo] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1
Apparently guintptr is new in GLib 2.18. We should either raise the requirement or use gulong until then. Edward, what do you prefer? :)
commit 6923de9378392b58cb600676d22cae80b54c68f3 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Aug 12 10:57:18 2009 +0200 ffmpegdec: Don't use guintptr as it's new in GLib 2.18 Fixes bug #591469.