GNOME Bugzilla – Bug 121585
gst-plugins build error with gcc-2.96
Last modified: 2009-08-15 18:40:50 UTC
Making all in mpeg2dec make[3]: enter directory `/home/navkaz/rpm/BUILD/gst-plugins-0.6. 3/ext/mpeg2dec' if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2. 0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -Wall -I/usr/include/mpeg2dec -O6 -mpentiumpro -Wall -ffast-math -fomit-frame-pointer -fno-strength-reduce -MT libgstmpeg2dec_la-gstmpeg2dec.lo -MD -MP -MF ". deps/libgstmpeg2dec_la-gstmpeg2dec.Tpo" \ -c -o libgstmpeg2dec_la-gstmpeg2dec.lo `test -f 'gstmpeg2dec.c' || echo './'`gstmpeg2dec.c; \then mv -f ".deps/libgstmpeg2dec_la-gstmpeg2dec.Tpo" ".deps/libgstmpeg2dec_la-gstmpeg2dec.Plo"; \ else rm -f ".deps/libgstmpeg2dec_la-gstmpeg2dec.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -Wall -I/usr/include/mpeg2dec -O6 -mpentiumpro -Wall -ffast-math -fomit-frame-pointer -fno-strength-reduce -MT libgstmpeg2dec_la-gstmpeg2dec.lo -MD -MP -MF . deps/libgstmpeg2dec_la-gstmpeg2dec.Tpo -c gstmpeg2dec.c -fPIC -DPIC -o libgstmpeg2dec_la-gstmpeg2dec.lo gstmpeg2dec.c: In function `gst_mpeg2dec_alloc_buffer': gstmpeg2dec.c:265: syntax error before `*' gstmpeg2dec.c:289: `picture' undeclared (first use in this function) gstmpeg2dec.c:289: (Each undeclared identifier is reported only once gstmpeg2dec.c:289: for each function it appears in.) gstmpeg2dec.c: In function `gst_mpeg2dec_chain': gstmpeg2dec.c:556: syntax error before `*' gstmpeg2dec.c:560: `picture' undeclared (first use in this function) make[3]: *** [libgstmpeg2dec_la-gstmpeg2dec.lo] error 1 make[3]: out `/home/navkaz/rpm/BUILD/gst-plugins-0.6.3/ext/mpeg2dec'
Hi, you're running a CVS version of mpeg2dec (0.3.2). We currently only support mpeg2dec 0.3.1, and will support mpeg2dec-0.3.2 as soon as a release has been made. Please ask the mpeg2dec maintainer to make a new release and we will make sure our stuff works with it. However, we can't make sure that we compile with any version of CVS HEAD. It's too much work.
Hi, Itisn't CVS version. I used gst-plugins-0.6.3.tar.bz2 from ftp.gnome.org. mpeg2dec is needed for gstreamer-mpeg, isn't it?
Yes, but you specifically need mpeg2dec-0.3.1. mpeg2dec-0.3.2-CVS (the one currently available on various places) will not work. See the first line of "mpeg2dec -?" for your version.
Yeah, as you said, mpeg2dec-0.3.2-cvs was installed to my laptop. So down the version and the compile was successed. Thank you very much!