[gstreamer-bugs] [Bug 172668] New: gst-ffmpeg 0.8.4 doesn't compile with gcc4

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Apr 4 18:33:22 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=172668
 GStreamer | gst-ffmpeg | Ver: 0.8.4

           Summary: gst-ffmpeg 0.8.4 doesn't compile with gcc4
           Product: GStreamer
           Version: 0.8.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thacker at math.cornell.edu
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Attempt to compile gst-ffmpeg with gcc4 (for example, with FC4Test or Devel). 
You get the following error:

if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer   -msse -g
-O2 -MT libmmxsse_la-fdct_mmx.lo -MD -MP -MF ".deps/libmmxsse_la-fdct_mmx.Tpo"
-c -o libmmxsse_la-fdct_mmx.lo `test -f 'fdct_mmx.c' || echo './'`fdct_mmx.c; \
then mv -f ".deps/libmmxsse_la-fdct_mmx.Tpo" ".deps/libmmxsse_la-fdct_mmx.Plo";
else rm -f ".deps/libmmxsse_la-fdct_mmx.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1
-fomit-frame-pointer -msse -g -O2 -MT libmmxsse_la-fdct_mmx.lo -MD -MP -MF
.deps/libmmxsse_la-fdct_mmx.Tpo -c fdct_mmx.c  -fPIC -DPIC -o
.libs/libmmxsse_la-fdct_mmx.o
In file included from fdct_mmx.c:16:
../../libavcodec/common.h:67: error: array type has incomplete element type
../../libavcodec/common.h:71: error: array type has incomplete element type
make[8]: *** [libmmxsse_la-fdct_mmx.lo] Error 1

The error apparently has to do with the AVOption struct in common.h, and the
offending struct has been removed in ffmpeg CVS as of April 3rd.  Current ffmpeg
CVS compiles fine with wtih gcc4. So updating the ffmpeg snapshot would be helpful.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list