problème compilation ario avec le support xmms2

Bonjour

Je teste xmms2 (j’utilise mpd actuellement) et normalement ario a un support pour xmms2.
J’ai d’ailleurs dans les préférence d’ario la ligne xmms2 qui apparait mais en grisé et il est impossible de cocher.

J’ai essayé de regarder un peu partout mais impossible de trouver l’astuce.
Je suis en sid. Est ce que quelqu’un csait comment il faut faire ?

Merci

En fait ario ne semble pas avoir été compilé avec le support xmms2.

$ dpkg -L ario | grep xmms limax@debian:~$

J’essaye de recompiler ario avec le support xmms2

mais j’obtiens une erreur que je ne comprend pas
marci de m’aider

CC ario-xmms.lo servers/ario-xmms.c: In function ‘ario_xmms_get_song_from_res’: servers/ario-xmms.c:223:9: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_string’ [-Wimplicit-function-declaration] servers/ario-xmms.c:223:9: warning: nested extern declaration of ‘xmmsc_result_get_dict_entry_string’ [-Wnested-externs] servers/ario-xmms.c:233:17: warning: implicit declaration of function ‘xmmsc_result_decode_url’ [-Wimplicit-function-declaration] servers/ario-xmms.c:233:17: warning: nested extern declaration of ‘xmmsc_result_decode_url’ [-Wnested-externs] servers/ario-xmms.c:233:17: warning: passing argument 1 of ‘g_strdup’ makes pointer from integer without a cast [enabled by default] In file included from /usr/include/glib-2.0/glib.h:81:0, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from ./servers/ario-server-interface.h:23, from ./servers/ario-xmms.h:23, from servers/ario-xmms.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:187:22: note: expected ‘const gchar *’ but argument is of type ‘int’ servers/ario-xmms.c:239:9: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_int’ [-Wimplicit-function-declaration] servers/ario-xmms.c:239:9: warning: nested extern declaration of ‘xmmsc_result_get_dict_entry_int’ [-Wnested-externs] servers/ario-xmms.c: In function ‘ario_xmms_result_wait’: servers/ario-xmms.c:276:17: warning: ‘xmmsv_get_error_old’ is deprecated (declared at /usr/include/xmms2/xmmsc/xmmsv_deprecated.h:48) [-Wdeprecated-declarations] servers/ario-xmms.c: In function ‘playback_status_not_idle’: servers/ario-xmms.c:315:9: warning: implicit declaration of function ‘xmmsc_result_get_uint’ [-Wimplicit-function-declaration] servers/ario-xmms.c:315:9: warning: nested extern declaration of ‘xmmsc_result_get_uint’ [-Wnested-externs] servers/ario-xmms.c: In function ‘playback_volume_changed_not_idle’: servers/ario-xmms.c:376:9: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_uint’ [-Wimplicit-function-declaration] servers/ario-xmms.c:376:9: warning: nested extern declaration of ‘xmmsc_result_get_dict_entry_uint’ [-Wnested-externs] servers/ario-xmms.c:382:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/ario-xmms.c: In function ‘playback_playtime_not’: servers/ario-xmms.c:416:17: warning: implicit declaration of function ‘xmmsc_result_restart’ [-Wimplicit-function-declaration] servers/ario-xmms.c:416:17: warning: nested extern declaration of ‘xmmsc_result_restart’ [-Wnested-externs] servers/ario-xmms.c:416:22: warning: assignment makes pointer from integer without a cast [enabled by default] servers/ario-xmms.c: In function ‘ario_xmms_list_tags’: servers/ario-xmms.c:658:39: warning: passing argument 3 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:658:39: warning: passing argument 6 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:658:39: warning: passing argument 7 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:660:9: warning: implicit declaration of function ‘xmmsc_result_list_valid’ [-Wimplicit-function-declaration] servers/ario-xmms.c:660:9: warning: nested extern declaration of ‘xmmsc_result_list_valid’ [-Wnested-externs] servers/ario-xmms.c:660:9: warning: implicit declaration of function ‘xmmsc_result_list_next’ [-Wimplicit-function-declaration] servers/ario-xmms.c:660:9: warning: nested extern declaration of ‘xmmsc_result_list_next’ [-Wnested-externs] servers/ario-xmms.c: In function ‘ario_xmms_get_albums’: servers/ario-xmms.c:722:38: warning: passing argument 3 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:722:38: warning: passing argument 6 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:722:38: warning: passing argument 7 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c: In function ‘ario_xmms_get_songs’: servers/ario-xmms.c:795:38: warning: passing argument 3 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:795:38: warning: passing argument 6 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c:795:38: warning: passing argument 7 of ‘xmmsc_coll_query_infos’ from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected ‘struct xmmsv_t *’ but argument is of type ‘const char **’ servers/ario-xmms.c: In function ‘ario_xmms_get_playlists’: servers/ario-xmms.c:858:17: warning: implicit declaration of function ‘xmmsc_result_get_string’ [-Wimplicit-function-declaration] servers/ario-xmms.c:858:17: warning: nested extern declaration of ‘xmmsc_result_get_string’ [-Wnested-externs] servers/ario-xmms.c: In function ‘ario_xmms_set_current_elapsed’: servers/ario-xmms.c:1048:9: error: too few arguments to function ‘xmmsc_playback_seek_ms’ In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:128:17: note: declared here servers/ario-xmms.c: In function ‘ario_xmms_set_current_repeat’: servers/ario-xmms.c:1094:17: warning: ‘xmmsc_configval_set’ is deprecated (declared at /usr/include/xmms2/xmmsclient/xmmsclient.h:153) [-Wdeprecated-declarations] servers/ario-xmms.c:1096:17: warning: ‘xmmsc_configval_set’ is deprecated (declared at /usr/include/xmms2/xmmsclient/xmmsclient.h:153) [-Wdeprecated-declarations] servers/ario-xmms.c: In function ‘ario_xmms_save_playlist’: servers/ario-xmms.c:1276:25: warning: implicit declaration of function ‘xmmsc_result_get_collection’ [-Wimplicit-function-declaration] servers/ario-xmms.c:1276:25: warning: nested extern declaration of ‘xmmsc_result_get_collection’ [-Wnested-externs] servers/ario-xmms.c: In function ‘ario_xmms_list_files’: servers/ario-xmms.c:1424:17: error: unknown type name ‘xmmsc_result_value_type_t’ servers/ario-xmms.c:1428:17: warning: implicit declaration of function ‘xmmsc_result_get_dict_entry_type’ [-Wimplicit-function-declaration] servers/ario-xmms.c:1428:17: warning: nested extern declaration of ‘xmmsc_result_get_dict_entry_type’ [-Wnested-externs] servers/ario-xmms.c:1429:29: error: ‘XMMSC_RESULT_VALUE_TYPE_NONE’ undeclared (first use in this function) servers/ario-xmms.c:1429:29: note: each undeclared identifier is reported only once for each function it appears in servers/ario-xmms.c:1434:28: warning: assignment makes pointer from integer without a cast [enabled by default] make[3]: *** [ario-xmms.lo] Erreur 1 make[3]: quittant le répertoire « /home/jeanclaude/gz/svn/ario-deb/ario-1.5.1/src » make[2]: *** [all] Erreur 2 make[2]: quittant le répertoire « /home/jeanclaude/gz/svn/ario-deb/ario-1.5.1/src » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /home/jeanclaude/gz/svn/ario-deb/ario-1.5.1 » make: *** [all] Erreur 2

edit : message en double

j’essaye alors avec le svn

Sans --configure xmms2 c’est ok et avec --cinfigure xmms2 j’ai cette erreur

CC ario-mpd2.lo CC ario-xmms.lo servers/ario-xmms.c: In function 'ario_xmms_get_song_from_res': servers/ario-xmms.c:225:9: warning: implicit declaration of function 'xmmsc_result_get_dict_entry_string' [-Wimplicit-function-declaration] servers/ario-xmms.c:225:9: warning: nested extern declaration of 'xmmsc_result_get_dict_entry_string' [-Wnested-externs] servers/ario-xmms.c:235:17: warning: implicit declaration of function 'xmmsc_result_decode_url' [-Wimplicit-function-declaration] servers/ario-xmms.c:235:17: warning: nested extern declaration of 'xmmsc_result_decode_url' [-Wnested-externs] servers/ario-xmms.c:235:17: warning: passing argument 1 of 'g_strdup' makes pointer from integer without a cast [enabled by default] In file included from /usr/include/glib-2.0/glib.h:81:0, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from ./servers/ario-server-interface.h:23, from ./servers/ario-xmms.h:23, from servers/ario-xmms.c:21: /usr/include/glib-2.0/glib/gstrfuncs.h:187:22: note: expected 'const gchar *' but argument is of type 'int' servers/ario-xmms.c:241:9: warning: implicit declaration of function 'xmmsc_result_get_dict_entry_int' [-Wimplicit-function-declaration] servers/ario-xmms.c:241:9: warning: nested extern declaration of 'xmmsc_result_get_dict_entry_int' [-Wnested-externs] servers/ario-xmms.c: In function 'ario_xmms_result_wait': servers/ario-xmms.c:278:17: warning: 'xmmsv_get_error_old' is deprecated (declared at /usr/include/xmms2/xmmsc/xmmsv_deprecated.h:48) [-Wdeprecated-declarations] servers/ario-xmms.c: In function 'playback_status_not_idle': servers/ario-xmms.c:317:9: warning: implicit declaration of function 'xmmsc_result_get_uint' [-Wimplicit-function-declaration] servers/ario-xmms.c:317:9: warning: nested extern declaration of 'xmmsc_result_get_uint' [-Wnested-externs] servers/ario-xmms.c: In function 'playback_volume_changed_not_idle': servers/ario-xmms.c:378:9: warning: implicit declaration of function 'xmmsc_result_get_dict_entry_uint' [-Wimplicit-function-declaration] servers/ario-xmms.c:378:9: warning: nested extern declaration of 'xmmsc_result_get_dict_entry_uint' [-Wnested-externs] servers/ario-xmms.c:384:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/ario-xmms.c: In function 'playback_playtime_not': servers/ario-xmms.c:418:17: warning: implicit declaration of function 'xmmsc_result_restart' [-Wimplicit-function-declaration] servers/ario-xmms.c:418:17: warning: nested extern declaration of 'xmmsc_result_restart' [-Wnested-externs] servers/ario-xmms.c:418:22: warning: assignment makes pointer from integer without a cast [enabled by default] servers/ario-xmms.c: In function 'ario_xmms_list_tags': servers/ario-xmms.c:660:39: warning: passing argument 3 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:660:39: warning: passing argument 6 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:660:39: warning: passing argument 7 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:662:9: warning: implicit declaration of function 'xmmsc_result_list_valid' [-Wimplicit-function-declaration] servers/ario-xmms.c:662:9: warning: nested extern declaration of 'xmmsc_result_list_valid' [-Wnested-externs] servers/ario-xmms.c:662:9: warning: implicit declaration of function 'xmmsc_result_list_next' [-Wimplicit-function-declaration] servers/ario-xmms.c:662:9: warning: nested extern declaration of 'xmmsc_result_list_next' [-Wnested-externs] servers/ario-xmms.c: In function 'ario_xmms_get_albums': servers/ario-xmms.c:724:38: warning: passing argument 3 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:724:38: warning: passing argument 6 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:724:38: warning: passing argument 7 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c: In function 'ario_xmms_get_songs': servers/ario-xmms.c:797:38: warning: passing argument 3 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:797:38: warning: passing argument 6 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c:797:38: warning: passing argument 7 of 'xmmsc_coll_query_infos' from incompatible pointer type [enabled by default] In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:276:17: note: expected 'struct xmmsv_t *' but argument is of type 'const char **' servers/ario-xmms.c: In function 'ario_xmms_get_playlists': servers/ario-xmms.c:860:17: warning: implicit declaration of function 'xmmsc_result_get_string' [-Wimplicit-function-declaration] servers/ario-xmms.c:860:17: warning: nested extern declaration of 'xmmsc_result_get_string' [-Wnested-externs] servers/ario-xmms.c: In function 'ario_xmms_set_current_elapsed': servers/ario-xmms.c:1050:9: error: too few arguments to function 'xmmsc_playback_seek_ms' In file included from servers/ario-xmms.c:34:0: /usr/include/xmms2/xmmsclient/xmmsclient.h:128:17: note: declared here servers/ario-xmms.c: In function 'ario_xmms_set_current_repeat': servers/ario-xmms.c:1107:17: warning: 'xmmsc_configval_set' is deprecated (declared at /usr/include/xmms2/xmmsclient/xmmsclient.h:153) [-Wdeprecated-declarations] servers/ario-xmms.c:1109:17: warning: 'xmmsc_configval_set' is deprecated (declared at /usr/include/xmms2/xmmsclient/xmmsclient.h:153) [-Wdeprecated-declarations] servers/ario-xmms.c: In function 'ario_xmms_save_playlist': servers/ario-xmms.c:1289:25: warning: implicit declaration of function 'xmmsc_result_get_collection' [-Wimplicit-function-declaration] servers/ario-xmms.c:1289:25: warning: nested extern declaration of 'xmmsc_result_get_collection' [-Wnested-externs] servers/ario-xmms.c: In function 'ario_xmms_list_files': servers/ario-xmms.c:1437:17: error: unknown type name 'xmmsc_result_value_type_t' servers/ario-xmms.c:1441:17: warning: implicit declaration of function 'xmmsc_result_get_dict_entry_type' [-Wimplicit-function-declaration] servers/ario-xmms.c:1441:17: warning: nested extern declaration of 'xmmsc_result_get_dict_entry_type' [-Wnested-externs] servers/ario-xmms.c:1442:29: error: 'XMMSC_RESULT_VALUE_TYPE_NONE' undeclared (first use in this function) servers/ario-xmms.c:1442:29: note: each undeclared identifier is reported only once for each function it appears in servers/ario-xmms.c:1447:28: warning: assignment makes pointer from integer without a cast [enabled by default] make[3]: *** [ario-xmms.lo] Erreur 1 make[3]: quittant le répertoire « /home/limax/gz/svn/ario/src » make[2]: *** [all] Erreur 2 make[2]: quittant le répertoire « /home/limax/gz/svn/ario/src » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /home/limax/gz/svn/ario » make: *** [all] Erreur 2

Plus qu’à rechercher où est déclaré ce bon Dieu de truc, normalement plutôt un header, et à l’includer dans ario-xmms.c.

C’est curieux mais, au moins, tu es sûr que ce n’est pas très loin. Ici visiblement le compilo n’y est pour rien, dans ces cas par acquit de conscience cela peut valoir le coup d’aller faire un tour sur le forum d’Xmms.