After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172668 - gst-ffmpeg 0.8.4 doesn't compile with gcc4
gst-ffmpeg 0.8.4 doesn't compile with gcc4
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.8.4
Other Linux
: Normal normal
: 0.8.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 303590 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-05 01:33 UTC by John Thacker
Modified: 2005-05-10 06:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Thacker 2005-04-05 01:33:22 UTC
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.
Comment 1 Ronald Bultje 2005-04-05 05:27:08 UTC
I was planning on doing that already, yes. It may take another many few days,
but I'll try this.
Comment 2 Ronald Bultje 2005-04-21 19:02:31 UTC
Fixed.
Comment 3 Ronald Bultje 2005-05-10 06:21:23 UTC
*** Bug 303590 has been marked as a duplicate of this bug. ***