GNOME Bugzilla – Bug 692628
invalid type using in gstcdio.c function parameter
Last modified: 2013-01-27 15:33: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.
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 ***