Advertisement
olmari

Bitlbee 1001 otr compile errors

Dec 6th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.89 KB | None | 0 0
  1. * Compiling otr.c
  2. otr.c:83: error: expected declaration specifiers or ‘...’ before ‘OtrlConvertType’
  3. otr.c:87: error: expected declaration specifiers or ‘...’ before ‘OtrlSMPEvent’
  4. otr.c:90: error: expected declaration specifiers or ‘...’ before ‘OtrlMessageEvent’
  5. otr.c:94: error: expected declaration specifiers or ‘...’ before ‘OtrlErrorCode’
  6. otr.c: In function ‘otr_init’:
  7. otr.c:240: error: ‘OtrlMessageAppOps’ has no member named ‘received_symkey’
  8. otr.c:241: error: ‘OtrlMessageAppOps’ has no member named ‘otr_error_message’
  9. otr.c:242: error: ‘OtrlMessageAppOps’ has no member named ‘otr_error_message_free’
  10. otr.c:243: error: ‘OtrlMessageAppOps’ has no member named ‘resent_msg_prefix’
  11. otr.c:244: error: ‘OtrlMessageAppOps’ has no member named ‘resent_msg_prefix_free’
  12. otr.c:245: error: ‘OtrlMessageAppOps’ has no member named ‘handle_smp_event’
  13. otr.c:246: error: ‘OtrlMessageAppOps’ has no member named ‘handle_msg_event’
  14. otr.c:247: error: ‘OtrlMessageAppOps’ has no member named ‘create_instag’
  15. otr.c:248: error: ‘OtrlMessageAppOps’ has no member named ‘convert_msg’
  16. otr.c:249: error: ‘OtrlMessageAppOps’ has no member named ‘convert_free’
  17. otr.c:250: error: ‘OtrlMessageAppOps’ has no member named ‘timer_control’
  18. otr.c: In function ‘otr_irc_new’:
  19. otr.c:276: warning: implicit declaration of function ‘otrl_message_poll_get_default_interval’
  20. otr.c: In function ‘otr_load’:
  21. otr.c:324: warning: implicit declaration of function ‘otrl_instag_read’
  22. otr.c: In function ‘otr_filter_msg_in’:
  23. otr.c:425: error: too many arguments to function ‘otrl_message_receiving’
  24. otr.c: In function ‘otr_filter_msg_out’:
  25. otr.c:447: error: ‘otrl_instag_t’ undeclared (first use in this function)
  26. otr.c:447: error: (Each undeclared identifier is reported only once
  27. otr.c:447: error: for each function it appears in.)
  28. otr.c:447: error: expected ‘;’ before ‘instag’
  29. otr.c:455: error: ‘instag’ undeclared (first use in this function)
  30. otr.c:456: warning: passing argument 8 of ‘otrl_message_sending’ from incompatible pointer type
  31. /usr/include/libotr/message.h:136: note: expected ‘struct OtrlTLV *’ but argument is of type ‘char *’
  32. otr.c:456: warning: passing argument 10 of ‘otrl_message_sending’ from incompatible pointer type
  33. /usr/include/libotr/message.h:136: note: expected ‘void (*)(void *, struct ConnContext *)’ but argument is of type ‘char **’
  34. otr.c:456: error: too many arguments to function ‘otrl_message_sending’
  35. otr.c: In function ‘op_create_instag’:
  36. otr.c:704: warning: implicit declaration of function ‘otrl_instag_generate’
  37. otr.c: At top level:
  38. otr.c:711: error: expected declaration specifiers or ‘...’ before ‘OtrlConvertType’
  39. otr.c: In function ‘op_convert_msg’:
  40. otr.c:719: error: ‘typ’ undeclared (first use in this function)
  41. otr.c:719: error: ‘OTRL_CONVERT_RECEIVING’ undeclared (first use in this function)
  42. otr.c: At top level:
  43. otr.c:775: error: expected declaration specifiers or ‘...’ before ‘OtrlSMPEvent’
  44. otr.c: In function ‘op_handle_smp_event’:
  45. otr.c:786: error: ‘ev’ undeclared (first use in this function)
  46. otr.c:787: error: ‘OTRL_SMPEVENT_ASK_FOR_SECRET’ undeclared (first use in this function)
  47. otr.c:792: error: ‘OTRL_SMPEVENT_ASK_FOR_ANSWER’ undeclared (first use in this function)
  48. otr.c:798: error: ‘OTRL_SMPEVENT_CHEATED’ undeclared (first use in this function)
  49. otr.c:804: error: ‘OTRL_SMPEVENT_NONE’ undeclared (first use in this function)
  50. otr.c:806: error: ‘OTRL_SMPEVENT_IN_PROGRESS’ undeclared (first use in this function)
  51. otr.c:808: error: ‘OTRL_SMPEVENT_SUCCESS’ undeclared (first use in this function)
  52. otr.c:818: error: ‘OTRL_SMPEVENT_FAILURE’ undeclared (first use in this function)
  53. otr.c:828: error: ‘OTRL_SMPEVENT_ABORT’ undeclared (first use in this function)
  54. otr.c:832: error: ‘OTRL_SMPEVENT_ERROR’ undeclared (first use in this function)
  55. otr.c: At top level:
  56. otr.c:841: error: expected declaration specifiers or ‘...’ before ‘OtrlMessageEvent’
  57. otr.c: In function ‘op_handle_msg_event’:
  58. otr.c:844: error: ‘ev’ undeclared (first use in this function)
  59. otr.c:845: error: ‘OTRL_MSGEVENT_ENCRYPTION_REQUIRED’ undeclared (first use in this function)
  60. otr.c:849: error: ‘OTRL_MSGEVENT_ENCRYPTION_ERROR’ undeclared (first use in this function)
  61. otr.c:853: error: ‘OTRL_MSGEVENT_CONNECTION_ENDED’ undeclared (first use in this function)
  62. otr.c:858: error: ‘OTRL_MSGEVENT_SETUP_ERROR’ undeclared (first use in this function)
  63. otr.c:862: error: ‘OTRL_MSGEVENT_MSG_REFLECTED’ undeclared (first use in this function)
  64. otr.c:866: error: ‘OTRL_MSGEVENT_MSG_RESENT’ undeclared (first use in this function)
  65. otr.c:870: error: ‘OTRL_MSGEVENT_RCVDMSG_NOT_IN_PRIVATE’ undeclared (first use in this function)
  66. otr.c:874: error: ‘OTRL_MSGEVENT_RCVDMSG_UNREADABLE’ undeclared (first use in this function)
  67. otr.c:878: error: ‘OTRL_MSGEVENT_RCVDMSG_MALFORMED’ undeclared (first use in this function)
  68. otr.c:882: error: ‘OTRL_MSGEVENT_LOG_HEARTBEAT_RCVD’ undeclared (first use in this function)
  69. otr.c:888: error: ‘OTRL_MSGEVENT_LOG_HEARTBEAT_SENT’ undeclared (first use in this function)
  70. otr.c:894: error: ‘OTRL_MSGEVENT_RCVDMSG_GENERAL_ERR’ undeclared (first use in this function)
  71. otr.c:898: error: ‘OTRL_MSGEVENT_RCVDMSG_UNENCRYPTED’ undeclared (first use in this function)
  72. otr.c:902: error: ‘OTRL_MSGEVENT_RCVDMSG_UNRECOGNIZED’ undeclared (first use in this function)
  73. otr.c:906: error: ‘OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE’ undeclared (first use in this function)
  74. otr.c: At top level:
  75. otr.c:917: error: expected declaration specifiers or ‘...’ before ‘OtrlErrorCode’
  76. otr.c: In function ‘op_otr_error_message’:
  77. otr.c:919: error: ‘err_code’ undeclared (first use in this function)
  78. otr.c:920: error: ‘OTRL_ERRCODE_ENCRYPTION_ERROR’ undeclared (first use in this function)
  79. otr.c:922: error: ‘OTRL_ERRCODE_MSG_NOT_IN_PRIVATE’ undeclared (first use in this function)
  80. otr.c:924: error: ‘OTRL_ERRCODE_MSG_UNREADABLE’ undeclared (first use in this function)
  81. otr.c:926: error: ‘OTRL_ERRCODE_MSG_MALFORMED’ undeclared (first use in this function)
  82. otr.c: In function ‘cmd_otr_disconnect’:
  83. otr.c:954: warning: implicit declaration of function ‘otrl_message_disconnect_all_instances’
  84. otr.c:963: error: ‘OTRL_INSTAG_MASTER’ undeclared (first use in this function)
  85. otr.c:963: error: too many arguments to function ‘otrl_context_find’
  86. otr.c:969: error: ‘ConnContext’ has no member named ‘m_context’
  87. otr.c:969: error: ‘ConnContext’ has no member named ‘m_context’
  88. otr.c: In function ‘cmd_otr_trust’:
  89. otr.c:1017: error: ‘OTRL_INSTAG_MASTER’ undeclared (first use in this function)
  90. otr.c:1017: error: too many arguments to function ‘otrl_context_find’
  91. otr.c: In function ‘cmd_otr_info’:
  92. otr.c:1081: error: ‘OTRL_INSTAG_MASTER’ undeclared (first use in this function)
  93. otr.c:1081: error: too many arguments to function ‘otrl_context_find’
  94. otr.c:1095: error: too many arguments to function ‘otrl_context_find’
  95. otr.c: In function ‘cmd_otr_forget’:
  96. otr.c:1216: error: ‘OTRL_INSTAG_MASTER’ undeclared (first use in this function)
  97. otr.c:1216: error: too many arguments to function ‘otrl_context_find’
  98. otr.c:1259: error: too many arguments to function ‘otrl_context_find’
  99. otr.c: In function ‘otr_smp_or_smpq’:
  100. otr.c:1346: error: ‘otrl_instag_t’ undeclared (first use in this function)
  101. otr.c:1346: error: expected ‘;’ before ‘instag’
  102. otr.c:1359: error: ‘instag’ undeclared (first use in this function)
  103. otr.c:1359: error: too many arguments to function ‘otrl_context_find’
  104. otr.c: In function ‘ev_message_poll’:
  105. otr.c:1406: warning: implicit declaration of function ‘otrl_message_poll’
  106. make: *** [otr.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement