Advertisement
Guest User

Untitled

a guest
Apr 14th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.76 KB | None | 0 0
  1. make all-recursive
  2. make[1]: Entering directory '/tmp/yaourt-tmp-user/aur-tox-prpl-git/src/tox-prpl'
  3. Making all in build
  4. make[2]: Entering directory '/tmp/yaourt-tmp-user/aur-tox-prpl-git/src/tox-prpl/build'
  5. CC libtox_la-toxprpl.lo
  6. ../src/toxprpl.c:264:57: error: unknown type name ‘TOX_USERSTATUS’
  7. static int toxprpl_get_status_index(Tox *tox, int fnum, TOX_USERSTATUS status)
  8. ^
  9. ../src/toxprpl.c:286:8: error: unknown type name ‘TOX_USERSTATUS’
  10. static TOX_USERSTATUS toxprpl_get_tox_status_from_id(const char *status_id)
  11. ^
  12. ../src/toxprpl.c: In function ‘toxprpl_get_tox_status_from_id’:
  13. ../src/toxprpl.c:296:12: error: ‘TOX_USERSTATUS_INVALID’ undeclared (first use in this function)
  14. return TOX_USERSTATUS_INVALID;
  15. ^
  16. ../src/toxprpl.c:296:12: note: each undeclared identifier is reported only once for each function it appears in
  17. ../src/toxprpl.c: In function ‘toxprpl_tox_bin_id_to_string’:
  18. ../src/toxprpl.c:302:47: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  19. return toxprpl_data_to_hex_string(bin_id, TOX_CLIENT_ID_SIZE);
  20. ^
  21. ../src/toxprpl.c: In function ‘toxprpl_tox_friend_id_to_string’:
  22. ../src/toxprpl.c:307:47: error: ‘TOX_FRIEND_ADDRESS_SIZE’ undeclared (first use in this function)
  23. return toxprpl_data_to_hex_string(bin_id, TOX_FRIEND_ADDRESS_SIZE);
  24. ^
  25. ../src/toxprpl.c: In function ‘on_connectionstatus’:
  26. ../src/toxprpl.c:322:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  27. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  28. ^
  29. ../src/toxprpl.c: In function ‘on_friend_action’:
  30. ../src/toxprpl.c:389:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  31. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  32. ^
  33. ../src/toxprpl.c: In function ‘on_incoming_message’:
  34. ../src/toxprpl.c:415:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  35. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  36. ^
  37. ../src/toxprpl.c: In function ‘on_nick_change’:
  38. ../src/toxprpl.c:438:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  39. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  40. ^
  41. ../src/toxprpl.c: In function ‘on_status_change’:
  42. ../src/toxprpl.c:466:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  43. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  44. ^
  45. ../src/toxprpl.c: In function ‘on_file_control’:
  46. ../src/toxprpl.c:528:18: error: ‘TOX_FILECONTROL_FINISHED’ undeclared (first use in this function)
  47. case TOX_FILECONTROL_FINISHED:
  48. ^
  49. ../src/toxprpl.c:532:18: error: ‘TOX_FILECONTROL_KILL’ undeclared (first use in this function)
  50. case TOX_FILECONTROL_KILL:
  51. ^
  52. ../src/toxprpl.c:541:18: error: ‘TOX_FILECONTROL_ACCEPT’ undeclared (first use in this function)
  53. case TOX_FILECONTROL_ACCEPT:
  54. ^
  55. ../src/toxprpl.c: In function ‘on_file_send_request’:
  56. ../src/toxprpl.c:564:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  57. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  58. ^
  59. ../src/toxprpl.c: In function ‘on_typing_change’:
  60. ../src/toxprpl.c:621:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  61. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  62. ^
  63. ../src/toxprpl.c: In function ‘toxprpl_set_status’:
  64. ../src/toxprpl.c:748:5: error: unknown type name ‘TOX_USERSTATUS’
  65. TOX_USERSTATUS tox_status = toxprpl_get_tox_status_from_id(status_id);
  66. ^
  67. ../src/toxprpl.c:749:23: error: ‘TOX_USERSTATUS_INVALID’ undeclared (first use in this function)
  68. if (tox_status == TOX_USERSTATUS_INVALID)
  69. ^
  70. ../src/toxprpl.c: In function ‘toxprpl_myid_cmd_cb’:
  71. ../src/toxprpl.c:833:20: error: ‘TOX_FRIEND_ADDRESS_SIZE’ undeclared (first use in this function)
  72. uint8_t bin_id[TOX_FRIEND_ADDRESS_SIZE];
  73. ^
  74. ../src/toxprpl.c: In function ‘toxprpl_sync_add_buddy’:
  75. ../src/toxprpl.c:860:23: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  76. uint8_t client_id[TOX_CLIENT_ID_SIZE];
  77. ^
  78. ../src/toxprpl.c:889:5: error: unknown type name ‘TOX_USERSTATUS’
  79. TOX_USERSTATUS userstatus = tox_get_user_status(tox, friend_number);
  80. ^
  81. ../src/toxprpl.c: In function ‘toxprpl_sync_friends’:
  82. ../src/toxprpl.c:916:28: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  83. uint8_t bin_id[TOX_CLIENT_ID_SIZE];
  84. ^
  85. ../src/toxprpl.c: In function ‘toxprpl_login_after_setup’:
  86. ../src/toxprpl.c:990:16: error: too few arguments to function ‘tox_new’
  87. Tox *tox = tox_new(0);
  88. ^
  89. In file included from ../src/toxprpl.c:56:0:
  90. /usr/include/tox/tox.h:521:6: note: declared here
  91. Tox *tox_new(const struct Tox_Options *options, const uint8_t *data, size_t length, TOX_ERR_NEW *error);
  92. ^
  93. ../src/toxprpl.c:999:38: warning: passing argument 2 of ‘tox_callback_friend_message’ from incompatible pointer type
  94. tox_callback_friend_message(tox, on_incoming_message, gc);
  95. ^
  96. In file included from ../src/toxprpl.c:56:0:
  97. /usr/include/tox/tox.h:1374:6: note: expected ‘void (*)(struct Tox *, uint32_t, enum TOX_MESSAGE_TYPE, const uint8_t *, size_t, void *)’ but argument is of type ‘void (*)(struct Tox *, int32_t, const uint8_t *, uint16_t, void *)’
  98. void tox_callback_friend_message(Tox *tox, tox_friend_message_cb *function, void *user_data);
  99. ^
  100. ../src/toxprpl.c:1002:38: warning: passing argument 2 of ‘tox_callback_friend_request’ from incompatible pointer type
  101. tox_callback_friend_request(tox, on_request, gc);
  102. ^
  103. In file included from ../src/toxprpl.c:56:0:
  104. /usr/include/tox/tox.h:1355:6: note: expected ‘void (*)(struct Tox *, const uint8_t *, const uint8_t *, size_t, void *)’ but argument is of type ‘void (*)(struct Tox *, const uint8_t *, const uint8_t *, uint16_t, void *)’
  105. void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *function, void *user_data);
  106. ^
  107. ../src/toxprpl.c: In function ‘toxprpl_tox_add_friend’:
  108. ../src/toxprpl.c:1369:14: error: ‘TOX_FAERR_TOOLONG’ undeclared (first use in this function)
  109. case TOX_FAERR_TOOLONG:
  110. ^
  111. ../src/toxprpl.c:1372:14: error: ‘TOX_FAERR_NOMESSAGE’ undeclared (first use in this function)
  112. case TOX_FAERR_NOMESSAGE:
  113. ^
  114. ../src/toxprpl.c:1375:14: error: ‘TOX_FAERR_OWNKEY’ undeclared (first use in this function)
  115. case TOX_FAERR_OWNKEY:
  116. ^
  117. ../src/toxprpl.c:1378:14: error: ‘TOX_FAERR_ALREADYSENT’ undeclared (first use in this function)
  118. case TOX_FAERR_ALREADYSENT:
  119. ^
  120. ../src/toxprpl.c:1381:14: error: ‘TOX_FAERR_BADCHECKSUM’ undeclared (first use in this function)
  121. case TOX_FAERR_BADCHECKSUM:
  122. ^
  123. ../src/toxprpl.c:1384:14: error: ‘TOX_FAERR_SETNEWNOSPAM’ undeclared (first use in this function)
  124. case TOX_FAERR_SETNEWNOSPAM:
  125. ^
  126. ../src/toxprpl.c:1387:14: error: ‘TOX_FAERR_NOMEM’ undeclared (first use in this function)
  127. case TOX_FAERR_NOMEM:
  128. ^
  129. ../src/toxprpl.c:1390:14: error: ‘TOX_FAERR_UNKNOWN’ undeclared (first use in this function)
  130. case TOX_FAERR_UNKNOWN:
  131. ^
  132. ../src/toxprpl.c: In function ‘toxprpl_add_to_buddylist’:
  133. ../src/toxprpl.c:1455:5: error: unknown type name ‘TOX_USERSTATUS’
  134. TOX_USERSTATUS userstatus = tox_get_user_status(plugin->tox, ret);
  135. ^
  136. ../src/toxprpl.c: In function ‘toxprpl_add_buddy’:
  137. ../src/toxprpl.c:1472:33: error: ‘TOX_FRIEND_ADDRESS_SIZE’ undeclared (first use in this function)
  138. if (strlen(buddy->name) != (TOX_FRIEND_ADDRESS_SIZE * 2))
  139. ^
  140. ../src/toxprpl.c:1495:47: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  141. gchar *cut = g_ascii_strdown(buddy->name, TOX_CLIENT_ID_SIZE * 2 + 1);
  142. ^
  143. ../src/toxprpl.c: In function ‘toxprpl_action_show_id_dialog’:
  144. ../src/toxprpl.c:1534:20: error: ‘TOX_FRIEND_ADDRESS_SIZE’ undeclared (first use in this function)
  145. uint8_t bin_id[TOX_FRIEND_ADDRESS_SIZE];
  146. ^
  147. ../src/toxprpl.c: In function ‘toxprpl_export_account_dialog’:
  148. ../src/toxprpl.c:1644:20: error: ‘TOX_FRIEND_ADDRESS_SIZE’ undeclared (first use in this function)
  149. uint8_t bin_id[TOX_FRIEND_ADDRESS_SIZE];
  150. ^
  151. ../src/toxprpl.c:1647:15: error: ‘TOX_CLIENT_ID_SIZE’ undeclared (first use in this function)
  152. strcpy(id+TOX_CLIENT_ID_SIZE, ".tox\0"); // insert extension instead of nospam
  153. ^
  154. ../src/toxprpl.c: In function ‘toxprpl_xfer_init’:
  155. ../src/toxprpl.c:1836:36: error: ‘TOX_FILECONTROL_ACCEPT’ undeclared (first use in this function)
  156. xfer_data->filenumber, TOX_FILECONTROL_ACCEPT, NULL, 0);
  157. ^
  158. ../src/toxprpl.c: In function ‘toxprpl_xfer_cancel_send’:
  159. ../src/toxprpl.c:1899:39: error: ‘TOX_FILECONTROL_KILL’ undeclared (first use in this function)
  160. 0, xfer_data->filenumber, TOX_FILECONTROL_KILL, NULL, 0);
  161. ^
  162. ../src/toxprpl.c: In function ‘toxprpl_xfer_cancel_recv’:
  163. ../src/toxprpl.c:1913:39: error: ‘TOX_FILECONTROL_KILL’ undeclared (first use in this function)
  164. 1, xfer_data->filenumber, TOX_FILECONTROL_KILL, NULL, 0);
  165. ^
  166. ../src/toxprpl.c: In function ‘toxprpl_xfer_request_denied’:
  167. ../src/toxprpl.c:1928:36: error: ‘TOX_FILECONTROL_KILL’ undeclared (first use in this function)
  168. xfer_data->filenumber, TOX_FILECONTROL_KILL, NULL, 0);
  169. ^
  170. ../src/toxprpl.c: In function ‘toxprpl_xfer_end’:
  171. ../src/toxprpl.c:1942:39: error: ‘TOX_FILECONTROL_FINISHED’ undeclared (first use in this function)
  172. 0, xfer_data->filenumber, TOX_FILECONTROL_FINISHED, NULL, 0);
  173. ^
  174. Makefile:460: recipe for target 'libtox_la-toxprpl.lo' failed
  175. make[2]: *** [libtox_la-toxprpl.lo] Error 1
  176. make[2]: Leaving directory '/tmp/yaourt-tmp-user/aur-tox-prpl-git/src/tox-prpl/build'
  177. Makefile:415: recipe for target 'all-recursive' failed
  178. make[1]: *** [all-recursive] Error 1
  179. make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-tox-prpl-git/src/tox-prpl'
  180. Makefile:345: recipe for target 'all' failed
  181. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement