LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem with compiling totem... (https://www.linuxquestions.org/questions/slackware-14/problem-with-compiling-totem-4175512809/)

scarrs 07-31-2014 01:14 AM

Problem with compiling totem...
 
hi all I am compiling totem with sboinstall and get the following before it errors out:

In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:131:6: note: expected 'GAsyncReadyCallback' but argument is of type 'struct QueryData *'
void gdata_youtube_service_query_videos_async (GDataYouTubeService *self, GDataQuery *query,
^
totem-youtube.c:952:10: error: too few arguments to function 'gdata_youtube_service_query_videos_async'
(GAsyncReadyCallback) query_finished_cb, data);
^
In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:131:6: note: declared here
void gdata_youtube_service_query_videos_async (GDataYouTubeService *self, GDataQuery *query,
^
totem-youtube.c:956:11: warning: passing argument 7 of 'gdata_youtube_service_query_related_async' from incompatible pointer type [enabled by default]
(GAsyncReadyCallback) query_finished_cb, data);
^
In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:139:6: note: expected 'GDestroyNotify' but argument is of type 'void (*)(struct GObject *, struct GAsyncResult *, void *)'
void gdata_youtube_service_query_related_async (GDataYouTubeService *self, GDataYouTubeVideo *video, GDataQuery *query,
^
totem-youtube.c:956:11: warning: passing argument 8 of 'gdata_youtube_service_query_related_async' from incompatible pointer type [enabled by default]
(GAsyncReadyCallback) query_finished_cb, data);
^
In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:139:6: note: expected 'GAsyncReadyCallback' but argument is of type 'struct QueryData *'
void gdata_youtube_service_query_related_async (GDataYouTubeService *self, GDataYouTubeVideo *video, GDataQuery *query,
^
totem-youtube.c:956:11: error: too few arguments to function 'gdata_youtube_service_query_related_async'
(GAsyncReadyCallback) query_finished_cb, data);
^
In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:139:6: note: declared here
void gdata_youtube_service_query_related_async (GDataYouTubeService *self, GDataYouTubeVideo *video, GDataQuery *query,
^
totem-youtube.c: In function 'search_button_clicked_cb':
totem-youtube.c:991:3: warning: passing argument 2 of 'gdata_youtube_service_new' from incompatible pointer type [enabled by default]
self->service = gdata_youtube_service_new (DEVELOPER_KEY, CLIENT_ID);
^
In file included from /usr/include/libgdata/gdata/gdata.h:92:0,
from totem-youtube.c:31:
/usr/include/libgdata/gdata/services/youtube/gdata-youtube-service.h:114:22: note: expected 'struct GDataAuthorizer *' but argument is of type 'char *'
GDataYouTubeService *gdata_youtube_service_new (const gchar *developer_key, GDataAuthorizer *authorizer) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
^
make[5]: *** [libyoutube_la-totem-youtube.lo] Error 1
make[5]: Leaving directory `/tmp/SBo/totem-2.32.0/src/plugins/youtube'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/SBo/totem-2.32.0/src/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/totem-2.32.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/totem-2.32.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/totem-2.32.0'
make: *** [all] Error 2
Failures:
totem: totem.SlackBuild return non-zero

any help would be appreciated...
(I have dropline gnome installed)

ponce 07-31-2014 03:02 AM

SlackBuilds from SBo are tested on a latest Slackware stable full installation.
libgdata is not included in that, neither is available on SBo: try to remove it and relaunch the build.

scarrs 07-31-2014 03:16 AM

thank-you!
 
I removed libgdata totem and totem-pl-parser from the dropline install and performed an sboinstall totem and now everything works! I have full codecs and dvd menus because I installed gst-plugins-bad and gst-plugins-ugly.

Thank-You very much for your quick reply and most awesome suggestion!


All times are GMT -5. The time now is 11:24 PM.