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 304542 - [shout, swfdec, xvid] i guess these are gcc4 problems too.
[shout, swfdec, xvid] i guess these are gcc4 problems too.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-17 16:27 UTC by Michaël Arnauts
Modified: 2005-06-30 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michaël Arnauts 2005-05-17 16:27:30 UTC
Of these, i'm not 100% sure they are a gcc4-problem because the error is a
different one...

shout:
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Werror -g -O2 -MT libgstshout_la-gstshout.lo -MD
-MP -MF .deps/libgstshout_la-gstshout.Tpo -c gstshout.c  -fPIC -DPIC -o
.libs/libgstshout_la-gstshout.o
In file included from gstshout.c:23:
gstshout.h:39: error: parse error before 'shout_conn_t'
cc1: warnings being treated as errors
gstshout.h:39: warning: no semicolon at end of struct or union
gstshout.h:55: error: parse error before '}' token
gstshout.c: In function 'gst_icecastsend_get_type':
gstshout.c:104: error: invalid application of 'sizeof' to incomplete type
'GstIcecastSend'
gstshout.c: In function 'gst_icecastsend_init':
gstshout.c:176: error: dereferencing pointer to incomplete type
gstshout.c:179: error: dereferencing pointer to incomplete type
gstshout.c:180: error: dereferencing pointer to incomplete type
gstshout.c:182: error: dereferencing pointer to incomplete type
gstshout.c:183: error: dereferencing pointer to incomplete type
gstshout.c:184: error: dereferencing pointer to incomplete type
gstshout.c:185: error: dereferencing pointer to incomplete type
gstshout.c:186: error: dereferencing pointer to incomplete type
gstshout.c:187: error: dereferencing pointer to incomplete type
gstshout.c:188: error: dereferencing pointer to incomplete type
gstshout.c:189: error: dereferencing pointer to incomplete type
gstshout.c:190: error: dereferencing pointer to incomplete type
gstshout.c:191: error: dereferencing pointer to incomplete type
gstshout.c:192: error: dereferencing pointer to incomplete type
gstshout.c:193: error: dereferencing pointer to incomplete type
gstshout.c:194: error: dereferencing pointer to incomplete type
gstshout.c: In function 'gst_icecastsend_chain':
gstshout.c:213: warning: implicit declaration of function 'shout_send_data'
gstshout.c:213: error: dereferencing pointer to incomplete type
gstshout.c:216: error: dereferencing pointer to incomplete type
gstshout.c:219: warning: implicit declaration of function 'shout_sleep'
gstshout.c:219: error: dereferencing pointer to incomplete type
gstshout.c: In function 'gst_icecastsend_set_property':
gstshout.c:235: error: dereferencing pointer to incomplete type
gstshout.c:236: error: dereferencing pointer to incomplete type
gstshout.c:237: error: dereferencing pointer to incomplete type
gstshout.c:240: error: dereferencing pointer to incomplete type
gstshout.c:243: error: dereferencing pointer to incomplete type
gstshout.c:244: error: dereferencing pointer to incomplete type
gstshout.c:245: error: dereferencing pointer to incomplete type
gstshout.c:249: error: dereferencing pointer to incomplete type
gstshout.c:253: error: dereferencing pointer to incomplete type
gstshout.c:254: error: dereferencing pointer to incomplete type
gstshout.c:255: error: dereferencing pointer to incomplete type
gstshout.c:259: error: dereferencing pointer to incomplete type
gstshout.c:260: error: dereferencing pointer to incomplete type
gstshout.c:261: error: dereferencing pointer to incomplete type
gstshout.c:265: error: dereferencing pointer to incomplete type
gstshout.c:266: error: dereferencing pointer to incomplete type
gstshout.c:267: error: dereferencing pointer to incomplete type
gstshout.c:271: error: dereferencing pointer to incomplete type
gstshout.c:272: error: dereferencing pointer to incomplete type
gstshout.c:273: error: dereferencing pointer to incomplete type
gstshout.c:277: error: dereferencing pointer to incomplete type
gstshout.c:278: error: dereferencing pointer to incomplete type
gstshout.c:279: error: dereferencing pointer to incomplete type
gstshout.c:284: error: dereferencing pointer to incomplete type
gstshout.c:288: error: dereferencing pointer to incomplete type
gstshout.c:289: error: dereferencing pointer to incomplete type
gstshout.c:290: error: dereferencing pointer to incomplete type
gstshout.c:294: error: dereferencing pointer to incomplete type
gstshout.c:295: error: dereferencing pointer to incomplete type
gstshout.c:296: error: dereferencing pointer to incomplete type
gstshout.c:300: error: dereferencing pointer to incomplete type
gstshout.c:301: error: dereferencing pointer to incomplete type
gstshout.c:302: error: dereferencing pointer to incomplete type
gstshout.c: In function 'gst_icecastsend_get_property':
gstshout.c:322: error: dereferencing pointer to incomplete type
gstshout.c:325: error: dereferencing pointer to incomplete type
gstshout.c:328: error: dereferencing pointer to incomplete type
gstshout.c:331: error: dereferencing pointer to incomplete type
gstshout.c:335: error: dereferencing pointer to incomplete type
gstshout.c:339: error: dereferencing pointer to incomplete type
gstshout.c:343: error: dereferencing pointer to incomplete type
gstshout.c:347: error: dereferencing pointer to incomplete type
gstshout.c:351: error: dereferencing pointer to incomplete type
gstshout.c:355: error: dereferencing pointer to incomplete type
gstshout.c:359: error: dereferencing pointer to incomplete type
gstshout.c:363: error: dereferencing pointer to incomplete type
gstshout.c:367: error: dereferencing pointer to incomplete type
gstshout.c: In function 'gst_icecastsend_change_state':
gstshout.c:390: warning: implicit declaration of function 'shout_init_connection'
gstshout.c:390: error: dereferencing pointer to incomplete type
gstshout.c:394: error: dereferencing pointer to incomplete type
gstshout.c:394: error: dereferencing pointer to incomplete type
gstshout.c:397: error: dereferencing pointer to incomplete type
gstshout.c:397: error: dereferencing pointer to incomplete type
gstshout.c:398: error: dereferencing pointer to incomplete type
gstshout.c:398: error: dereferencing pointer to incomplete type
gstshout.c:399: error: dereferencing pointer to incomplete type
gstshout.c:399: error: dereferencing pointer to incomplete type
gstshout.c:400: error: dereferencing pointer to incomplete type
gstshout.c:400: error: dereferencing pointer to incomplete type
gstshout.c:401: error: dereferencing pointer to incomplete type
gstshout.c:401: error: dereferencing pointer to incomplete type
gstshout.c:402: error: dereferencing pointer to incomplete type
gstshout.c:402: error: dereferencing pointer to incomplete type
gstshout.c:403: error: dereferencing pointer to incomplete type
gstshout.c:403: error: dereferencing pointer to incomplete type
gstshout.c:404: error: dereferencing pointer to incomplete type
gstshout.c:404: error: dereferencing pointer to incomplete type
gstshout.c:405: error: dereferencing pointer to incomplete type
gstshout.c:405: error: dereferencing pointer to incomplete type
gstshout.c:410: warning: implicit declaration of function 'shout_connect'
gstshout.c:410: error: dereferencing pointer to incomplete type
gstshout.c:413: error: dereferencing pointer to incomplete type
gstshout.c:413: error: dereferencing pointer to incomplete type
gstshout.c:415: warning: implicit declaration of function 'shout_disconnect'
gstshout.c:415: error: dereferencing pointer to incomplete type
gstshout.c:420: error: dereferencing pointer to incomplete type
make: *** [libgstshout_la-gstshout.lo] Error 1



swfdec:
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Werror -I/usr/include/swfdec-0.3
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/liboil-0.3 -g
-O2 -MT libgstswfdec_la-gstswfdec.lo -MD -MP -MF
.deps/libgstswfdec_la-gstswfdec.Tpo -c gstswfdec.c  -fPIC -DPIC -o
.libs/libgstswfdec_la-gstswfdec.o
cc1: warnings being treated as errors
gstswfdec.c: In function 'gst_swfdec_loop':
gstswfdec.c:291: warning: implicit declaration of function
'swfdec_decoder_get_version'
make: *** [libgstswfdec_la-gstswfdec.lo] Error 1


xvid:
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Werror -g -O2 -MT libgstxvid_la-gstxvidenc.lo
-MD -MP -MF .deps/libgstxvid_la-gstxvidenc.Tpo -c gstxvidenc.c  -fPIC -DPIC -o
.libs/libgstxvid_la-gstxvidenc.o
cc1: warnings being treated as errors
gstxvidenc.c: In function 'gst_xvidenc_change_state':
gstxvidenc.c:484: warning: case label value exceeds maximum value for type
make: *** [libgstxvid_la-gstxvidenc.lo] Error 1
Comment 1 Ronald Bultje 2005-05-18 10:09:23 UTC
Others fixed. What swf version?
Comment 2 Michaël Arnauts 2005-05-18 10:54:34 UTC
libswfdec(-dev) 0.3.4-2
Comment 3 Michaël Arnauts 2005-05-18 11:12:25 UTC
btw, shout still doesn't compile... it seems there was a problem with commiting?
 http://cvs.freedesktop.org/gstreamer/gst-plugins/ext/shout/gstshout.h?r1=1.4&r2=1.4.6.1

and there is another thing that has to change with xvid:
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Werror -g -O2 -MT libgstxvid_la-gstxviddec.lo
-MD -MP -MF .deps/libgstxvid_la-gstxviddec.Tpo -c gstxviddec.c  -fPIC -DPIC -o
.libs/libgstxvid_la-gstxviddec.o
cc1: warnings being treated as errors
gstxviddec.c: In function 'gst_xviddec_change_state':
gstxviddec.c:359: warning: case label value exceeds maximum value for type
make: *** [libgstxvid_la-gstxviddec.lo] Error 1
Comment 4 Ronald Bultje 2005-05-18 12:59:55 UTC
Fixed too. Don't know about swf.
Comment 5 Michaël Arnauts 2005-05-18 13:02:43 UTC
and what about shout?
Comment 6 Ronald Bultje 2005-05-18 13:03:54 UTC
Leaving open for someone else then...

Shout: seems like a symbol mismatch. Again, don't know that either. :/.
Comment 7 David Schleef 2005-05-18 21:37:51 UTC
Silly me, I checked in a change that requires swfdec CVS.  I'll revert it.
Comment 8 Ronald Bultje 2005-05-18 22:03:12 UTC
That leaves shout... Do you have shout installed? What version?
Comment 9 Michaël Arnauts 2005-05-19 05:22:25 UTC
i have installed libshout3(-dev) 2.1-3
Comment 10 Zaheer Abbas Merali 2005-05-19 23:51:19 UTC
the shout plugin is for libshout 1

the shout2 plugin is for libshout 2

And due to some distributions stupid versioning system, your libshout 3 is
actually libshout 2
Comment 11 Michaël Arnauts 2005-05-21 17:56:46 UTC
Ow, i know why shout didn't compile. Shout2 did compile. After other
gcc4-issues, i wanted to go ahead with the compiling, so i just entered the
folders and did a make, but apparently, shout wasn't ment to be compiled
(configure disabled it). That makes this bug FIXES since the two other issues
are fixed.