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 692628 - invalid type using in gstcdio.c function parameter
invalid type using in gstcdio.c function parameter
Status: RESOLVED DUPLICATE of bug 675112
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-27 11:07 UTC by Behzat
Modified: 2013-01-27 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behzat 2013-01-27 11:07:34 UTC
Hi guys,

I am trying to compile gst-plugins-ugly-0.10.19 but gcc raised compile error about passing wrong argument in fuctions. Also some that file has undeclared variables too.

Could you please fix that issue ?

gstcdio.c: In function 'gst_cdio_add_cdtext_field':
gstcdio.c:38:3: error: incompatible type for argument 1 of 'cdtext_get_const'
/usr/include/cdio/cdtext.h:262:13: note: expected 'const struct cdtext_t *' but argument is of type 'cdtext_field_t'
gstcdio.c:38:3: error: incompatible type for argument 2 of 'cdtext_get_const'
/usr/include/cdio/cdtext.h:262:13: note: expected 'cdtext_field_t' but argument is of type 'struct cdtext_t *'
gstcdio.c:38:3: error: too few arguments to function 'cdtext_get_const'
/usr/include/cdio/cdtext.h:262:13: note: declared here
gstcdio.c: In function 'gst_cdio_get_cdtext':
gstcdio.c:65:3: error: too many arguments to function 'cdio_get_cdtext'
/usr/include/cdio/disc.h:77:13: note: declared here
gstcdio.c:71:38: error: 'CDTEXT_PERFORMER' undeclared (first use in this function)
gstcdio.c:71:38: note: each undeclared identifier is reported only once for each function it appears in
gstcdio.c:72:38: error: 'CDTEXT_TITLE' undeclared (first use in this function)
gstcdio.c: In function 'gst_cdio_add_cdtext_album_tags':
gstcdio.c:82:3: error: too many arguments to function 'cdio_get_cdtext'
/usr/include/cdio/disc.h:77:13: note: declared here
gstcdio.c:89:38: error: 'CDTEXT_TITLE' undeclared (first use in this function)
gstcdio.c:90:38: error: 'CDTEXT_GENRE' undeclared (first use in this function)
make[3]: *** [libgstcdio_la-gstcdio.lo] Error 1

p.s. I am using libcdio verison 0.90

Cheers,
Behzat.
Comment 1 Tim-Philipp Müller 2013-01-27 15:33:34 UTC
This is fixed in 0.10 git, you can pick a patch from there.

It's also fixed in all GStreamer 1.x releases. (0.10 is not maintained any longer).

*** This bug has been marked as a duplicate of bug 675112 ***