Advertisement
Guest User

cpan Crypt::OTR - Compile Error

a guest
Feb 10th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 25.23 KB | None | 0 0
  1. # cpan Crypt::OTR
  2. Reading '/root/.cpan/Metadata'
  3.   Database was generated on Tue, 09 Feb 2016 22:53:58 GMT
  4. Running install for module 'Crypt::OTR'
  5. Checksum for /root/.cpan/sources/authors/id/R/RE/REVMISCHA/Crypt-OTR-0.08.tar.gz ok
  6. Configuring R/RE/REVMISCHA/Crypt-OTR-0.08.tar.gz with Makefile.PL
  7. Checking if your kit is complete...
  8. Looks good
  9. Generating a Unix-style Makefile
  10. Writing Makefile for Crypt::OTR
  11. Writing MYMETA.yml and MYMETA.json
  12.   REVMISCHA/Crypt-OTR-0.08.tar.gz
  13.   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
  14. Running make for R/RE/REVMISCHA/Crypt-OTR-0.08.tar.gz
  15. cp lib/Crypt/OTR/PublicKey.pm blib/lib/Crypt/OTR/PublicKey.pm
  16. cp lib/Crypt/OTR.pm blib/lib/Crypt/OTR.pm
  17. AutoSplitting blib/lib/Crypt/OTR.pm (blib/lib/auto/Crypt/OTR)
  18. Running Mkbootstrap for Crypt::OTR ()
  19. chmod 644 OTR.bs
  20. /usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp  -typemap /usr/share/perl/5.20/ExtUtils/typemap -typemap typemap  OTR.xs > OTR.xsc && mv OTR.xsc OTR.c
  21. Please specify prototyping behavior for OTR.xs (see perlxs manual)
  22. cc -c  -I. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/arm-linux-gnueabihf/perl/5.20/CORE"   OTR.c
  23. In file included from crypt-otr.h:120:0,
  24.                  from OTR.xs:5:
  25. crypt-otr-callbacks.c:125:2: warning: initialization from incompatible pointer type
  26.   create_privkey_cb,
  27.   ^
  28. crypt-otr-callbacks.c:125:2: warning: (near initialization for ‘otr_ops.create_privkey’)
  29. crypt-otr-callbacks.c:127:2: warning: initialization from incompatible pointer type
  30.   inject_message_cb,
  31.   ^
  32. crypt-otr-callbacks.c:127:2: warning: (near initialization for ‘otr_ops.inject_message’)
  33. crypt-otr-callbacks.c:128:2: warning: initialization from incompatible pointer type
  34.   notify_cb,
  35.   ^
  36. crypt-otr-callbacks.c:128:2: warning: (near initialization for ‘otr_ops.update_context_list’)
  37. crypt-otr-callbacks.c:129:2: warning: initialization from incompatible pointer type
  38.   display_otr_message_cb,
  39.   ^
  40. crypt-otr-callbacks.c:129:2: warning: (near initialization for ‘otr_ops.new_fingerprint’)
  41. crypt-otr-callbacks.c:131:2: warning: initialization from incompatible pointer type
  42.   protocol_name_cb,
  43.   ^
  44. crypt-otr-callbacks.c:131:2: warning: (near initialization for ‘otr_ops.gone_secure’)
  45. crypt-otr-callbacks.c:132:2: warning: initialization from incompatible pointer type
  46.   protocol_name_free_cb,
  47.   ^
  48. crypt-otr-callbacks.c:132:2: warning: (near initialization for ‘otr_ops.gone_insecure’)
  49. crypt-otr-callbacks.c:133:2: warning: initialization from incompatible pointer type
  50.   confirm_fingerprint_cb,
  51.   ^
  52. crypt-otr-callbacks.c:133:2: warning: (near initialization for ‘otr_ops.still_secure’)
  53. crypt-otr-callbacks.c:134:2: warning: initialization from incompatible pointer type
  54.   write_fingerprints_cb,
  55.   ^
  56. crypt-otr-callbacks.c:134:2: warning: (near initialization for ‘otr_ops.max_message_size’)
  57. crypt-otr-callbacks.c:135:2: warning: initialization from incompatible pointer type
  58.   gone_secure_cb,
  59.   ^
  60. crypt-otr-callbacks.c:135:2: warning: (near initialization for ‘otr_ops.account_name’)
  61. crypt-otr-callbacks.c:136:2: warning: initialization from incompatible pointer type
  62.   gone_insecure_cb,
  63.   ^
  64. crypt-otr-callbacks.c:136:2: warning: (near initialization for ‘otr_ops.account_name_free’)
  65. crypt-otr-callbacks.c:137:2: warning: initialization from incompatible pointer type
  66.   still_secure_cb,
  67.   ^
  68. crypt-otr-callbacks.c:137:2: warning: (near initialization for ‘otr_ops.received_symkey’)
  69. crypt-otr-callbacks.c:138:2: warning: initialization from incompatible pointer type
  70.   log_message_cb,
  71.   ^
  72. crypt-otr-callbacks.c:138:2: warning: (near initialization for ‘otr_ops.otr_error_message’)
  73. crypt-otr-callbacks.c:139:2: warning: initialization from incompatible pointer type
  74.   max_message_size_cb,
  75.   ^
  76. crypt-otr-callbacks.c:139:2: warning: (near initialization for ‘otr_ops.otr_error_message_free’)
  77. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  78.                  from OTR.xs:2:
  79. crypt-otr-private.c: In function ‘crypt_otr_inject_message’:
  80. crypt-otr-private.c:23:11: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  81.   call_sv( crypt_state->inject_cb, G_DISCARD );
  82.            ^
  83. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  84.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  85.                                           ^
  86. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  87.                  from OTR.xs:2:
  88. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  89.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  90.                    ^
  91. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  92.                  from OTR.xs:2:
  93. crypt-otr-private.c: In function ‘crypt_otr_display_otr_message’:
  94. crypt-otr-private.c:49:32: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  95.   num_items_on_stack = call_sv( crypt_state->system_message_cb, G_DISCARD );
  96.                                 ^
  97. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  98.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  99.                                           ^
  100. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  101.                  from OTR.xs:2:
  102. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  103.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  104.                    ^
  105. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  106.                  from OTR.xs:2:
  107. crypt-otr-private.c: In function ‘crypt_otr_notify’:
  108. crypt-otr-private.c:79:12: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  109.    call_sv( crypt_state->error_cb, G_DISCARD );
  110.             ^
  111. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  112.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  113.                                           ^
  114. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  115.                  from OTR.xs:2:
  116. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  117.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  118.                    ^
  119. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  120.                  from OTR.xs:2:
  121. crypt-otr-private.c:83:18: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  122.          call_sv( crypt_state->warning_cb, G_DISCARD );
  123.                   ^
  124. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  125.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  126.                                           ^
  127. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  128.                  from OTR.xs:2:
  129. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  130.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  131.                    ^
  132. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  133.                  from OTR.xs:2:
  134. crypt-otr-private.c:87:12: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  135.    call_sv( crypt_state->info_cb, G_DISCARD );
  136.             ^
  137. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  138.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  139.                                           ^
  140. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  141.                  from OTR.xs:2:
  142. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  143.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  144.                    ^
  145. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  146.                  from OTR.xs:2:
  147. crypt-otr-private.c: In function ‘crypt_otr_notify_new_fingerprint’:
  148. crypt-otr-private.c:112:11: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  149.   call_sv( crypt_state->new_fpr_cb, G_DISCARD );
  150.            ^
  151. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  152.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  153.                                           ^
  154. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  155.                  from OTR.xs:2:
  156. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  157.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  158.                    ^
  159. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  160.                  from OTR.xs:2:
  161. crypt-otr-private.c: In function ‘crypt_otr_smp_notify’:
  162. crypt-otr-private.c:138:11: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  163.   call_sv( crypt_state->smp_request_cb, G_DISCARD );
  164.            ^
  165. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  166.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  167.                                           ^
  168. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  169.                  from OTR.xs:2:
  170. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  171.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  172.                    ^
  173. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5100:0,
  174.                  from OTR.xs:2:
  175. crypt-otr-private.c: In function ‘crypt_otr_callback_one_string’:
  176. crypt-otr-private.c:183:11: warning: passing argument 2 of ‘Perl_call_sv’ from incompatible pointer type
  177.   call_sv( callback_sub, G_DISCARD );
  178.            ^
  179. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/embed.h:72:42: note: in definition of macro ‘call_sv’
  180.  #define call_sv(a,b)  Perl_call_sv(aTHX_ a,b)
  181.                                           ^
  182. In file included from /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/perl.h:5059:0,
  183.                  from OTR.xs:2:
  184. /usr/lib/arm-linux-gnueabihf/perl/5.20/CORE/proto.h:329:19: note: expected ‘struct SV *’ but argument is of type ‘struct CV *
  185.  PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
  186.                    ^
  187. In file included from crypt-otr.h:121:0,
  188.                  from OTR.xs:5:
  189. crypt-otr-private.c: In function ‘crypt_otr_message_disconnect’:
  190. crypt-otr-private.c:291:2: error: too few arguments to function ‘otrl_message_disconnect’
  191.   otrl_message_disconnect( userstate, &otr_ops, crypt_state, ctx->accountname, ctx->protocol, ctx->username );
  192.   ^
  193. In file included from crypt-otr.h:8:0,
  194.                  from OTR.xs:5:
  195. /usr/include/libotr/message.h:385:6: note: declared here
  196.  void otrl_message_disconnect(OtrlUserState us, const OtrlMessageAppOps *ops,
  197.       ^
  198. In file included from crypt-otr.h:121:0,
  199.                  from OTR.xs:5:
  200. crypt-otr-private.c: In function ‘crypt_otr_get_context’:
  201. crypt-otr-private.c:307:74: warning: passing argument 6 of ‘otrl_context_find’ makes integer from pointer without a cast
  202.   ctx = otrl_context_find( userstate, username, accountname, protocol, 1, &null, NULL, NULL );
  203.                                                                           ^
  204. In file included from crypt-otr.h:4:0,
  205.                  from OTR.xs:5:
  206. /usr/include/libotr/context.h:140:15: note: expected ‘int’ but argument is of type ‘int *
  207.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  208.                ^
  209. In file included from crypt-otr.h:121:0,
  210.                  from OTR.xs:5:
  211. crypt-otr-private.c:307:8: error: too few arguments to function ‘otrl_context_find’
  212.   ctx = otrl_context_find( userstate, username, accountname, protocol, 1, &null, NULL, NULL );
  213.         ^
  214. In file included from crypt-otr.h:4:0,
  215.                  from OTR.xs:5:
  216. /usr/include/libotr/context.h:140:15: note: declared here
  217.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  218.                ^
  219. In file included from crypt-otr.h:122:0,
  220.                  from OTR.xs:5:
  221. crypt-otr-perl.c: In function ‘crypt_otr_process_sending’:
  222. crypt-otr-perl.c:94:10: warning: passing argument 7 of ‘otrl_message_sending’ makes integer from pointer without a cast
  223.           message, NULL, &newmessage, NULL, NULL);
  224.           ^
  225. In file included from crypt-otr.h:8:0,
  226.                  from OTR.xs:5:
  227. /usr/include/libotr/message.h:336:14: note: expected ‘otrl_instag_t’ but argument is of type ‘char *
  228.  gcry_error_t otrl_message_sending(OtrlUserState us,
  229.               ^
  230. In file included from crypt-otr.h:122:0,
  231.                  from OTR.xs:5:
  232. crypt-otr-perl.c:94:25: warning: passing argument 9 of ‘otrl_message_sending’ from incompatible pointer type
  233.           message, NULL, &newmessage, NULL, NULL);
  234.                          ^
  235. In file included from crypt-otr.h:8:0,
  236.                  from OTR.xs:5:
  237. /usr/include/libotr/message.h:336:14: note: expected ‘struct OtrlTLV *’ but argument is of type ‘char **
  238.  gcry_error_t otrl_message_sending(OtrlUserState us,
  239.               ^
  240. In file included from crypt-otr.h:122:0,
  241.                  from OTR.xs:5:
  242. crypt-otr-perl.c:92:8: error: incompatible type for argument 11 of ‘otrl_message_sending’
  243.   err = otrl_message_sending( userstate, &otr_ops, crypt_state,
  244.         ^
  245. In file included from crypt-otr.h:8:0,
  246.                  from OTR.xs:5:
  247. /usr/include/libotr/message.h:336:14: note: expected ‘OtrlFragmentPolicy’ but argument is of type ‘void *
  248.  gcry_error_t otrl_message_sending(OtrlUserState us,
  249.               ^
  250. In file included from crypt-otr.h:122:0,
  251.                  from OTR.xs:5:
  252. crypt-otr-perl.c:92:8: error: too few arguments to function ‘otrl_message_sending’
  253.   err = otrl_message_sending( userstate, &otr_ops, crypt_state,
  254.         ^
  255. In file included from crypt-otr.h:8:0,
  256.                  from OTR.xs:5:
  257. /usr/include/libotr/message.h:336:14: note: declared here
  258.  gcry_error_t otrl_message_sending(OtrlUserState us,
  259.               ^
  260. In file included from crypt-otr.h:122:0,
  261.                  from OTR.xs:5:
  262. crypt-otr-perl.c:106:26: warning: passing argument 6 of ‘otrl_context_find’ makes integer from pointer without a cast
  263.              in_proto, 0, NULL, NULL, NULL );
  264.                           ^
  265. In file included from crypt-otr.h:4:0,
  266.                  from OTR.xs:5:
  267. /usr/include/libotr/context.h:140:15: note: expected ‘int’ but argument is of type ‘void *
  268.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  269.                ^
  270. In file included from crypt-otr.h:122:0,
  271.                  from OTR.xs:5:
  272. crypt-otr-perl.c:105:26: error: too few arguments to function ‘otrl_context_find’
  273.    ConnContext* context = otrl_context_find( userstate, who, in_account,
  274.                           ^
  275. In file included from crypt-otr.h:4:0,
  276.                  from OTR.xs:5:
  277. /usr/include/libotr/context.h:140:15: note: declared here
  278.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  279.                ^
  280. In file included from crypt-otr.h:122:0,
  281.                  from OTR.xs:5:
  282. crypt-otr-perl.c: In function ‘crypt_otr_process_receiving’:
  283. crypt-otr-perl.c:148:24: error: too few arguments to function ‘otrl_message_receiving’
  284.   *out_should_discard = otrl_message_receiving( userstate, &otr_ops, crypt_state,
  285.                         ^
  286. In file included from crypt-otr.h:8:0,
  287.                  from OTR.xs:5:
  288. /usr/include/libotr/message.h:375:5: note: declared here
  289.  int otrl_message_receiving(OtrlUserState us, const OtrlMessageAppOps *ops,
  290.      ^
  291. In file included from crypt-otr.h:122:0,
  292.                  from OTR.xs:5:
  293. crypt-otr-perl.c:155:47: warning: passing argument 2 of ‘crypt_otr_handle_disconnection’ discards ‘const’ qualifier from pointer target type
  294.    crypt_otr_handle_disconnection(crypt_state, who);
  295.                                                ^
  296. In file included from crypt-otr.h:121:0,
  297.                  from OTR.xs:5:
  298. crypt-otr-private.c:202:6: note: expected ‘char *’ but argument is of type ‘const char *
  299.  void crypt_otr_handle_disconnection( CryptOTRUserState crypt_state, char* username )
  300.       ^
  301. In file included from crypt-otr.h:122:0,
  302.                  from OTR.xs:5:
  303. crypt-otr-perl.c:161:64: warning: passing argument 6 of ‘otrl_context_find’ makes integer from pointer without a cast
  304.                                 in_accountname, in_protocol, 0, NULL, NULL, NULL );
  305.                                                                 ^
  306. In file included from crypt-otr.h:4:0,
  307.                  from OTR.xs:5:
  308. /usr/include/libotr/context.h:140:15: note: expected ‘int’ but argument is of type ‘void *
  309.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  310.                ^
  311. In file included from crypt-otr.h:122:0,
  312.                  from OTR.xs:5:
  313. crypt-otr-perl.c:160:12: error: too few arguments to function ‘otrl_context_find’
  314.   context = otrl_context_find( userstate, who,
  315.             ^
  316. In file included from crypt-otr.h:4:0,
  317.                  from OTR.xs:5:
  318. /usr/include/libotr/context.h:140:15: note: declared here
  319.  ConnContext * otrl_context_find(OtrlUserState us, const char *user,
  320.                ^
  321. In file included from crypt-otr.h:122:0,
  322.                  from OTR.xs:5:
  323. crypt-otr-perl.c:179:57: warning: passing argument 2 of ‘crypt_otr_ask_socialist_millionaires’ discards ‘const’ qualifier from pointer target type
  324.        crypt_otr_ask_socialist_millionaires(crypt_state, in_accountname, in_protocol,
  325.                                                          ^
  326. In file included from crypt-otr.h:121:0,
  327.                  from OTR.xs:5:
  328. crypt-otr-private.c:343:6: note: expected ‘char *’ but argument is of type ‘const char *
  329.  void crypt_otr_ask_socialist_millionaires( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  330.       ^
  331. In file included from crypt-otr.h:122:0,
  332.                  from OTR.xs:5:
  333. crypt-otr-perl.c:179:73: warning: passing argument 3 of ‘crypt_otr_ask_socialist_millionaires’ discards ‘const’ qualifier from pointer target type
  334.        crypt_otr_ask_socialist_millionaires(crypt_state, in_accountname, in_protocol,
  335.                                                                          ^
  336. In file included from crypt-otr.h:121:0,
  337.                  from OTR.xs:5:
  338. crypt-otr-private.c:343:6: note: expected ‘char *’ but argument is of type ‘const char *
  339.  void crypt_otr_ask_socialist_millionaires( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  340.       ^
  341. In file included from crypt-otr.h:122:0,
  342.                  from OTR.xs:5:
  343. crypt-otr-perl.c:189:56: warning: passing argument 2 of ‘crypt_otr_ask_socialist_millionaires’ discards ‘const’ qualifier from pointer target type
  344.       crypt_otr_ask_socialist_millionaires(crypt_state, in_accountname, in_protocol,
  345.                                                         ^
  346. In file included from crypt-otr.h:121:0,
  347.                  from OTR.xs:5:
  348. crypt-otr-private.c:343:6: note: expected ‘char *’ but argument is of type ‘const char *
  349.  void crypt_otr_ask_socialist_millionaires( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  350.       ^
  351. In file included from crypt-otr.h:122:0,
  352.                  from OTR.xs:5:
  353. crypt-otr-perl.c:189:72: warning: passing argument 3 of ‘crypt_otr_ask_socialist_millionaires’ discards ‘const’ qualifier from pointer target type
  354.       crypt_otr_ask_socialist_millionaires(crypt_state, in_accountname, in_protocol,
  355.                                                                         ^
  356. In file included from crypt-otr.h:121:0,
  357.                  from OTR.xs:5:
  358. crypt-otr-private.c:343:6: note: expected ‘char *’ but argument is of type ‘const char *
  359.  void crypt_otr_ask_socialist_millionaires( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  360.       ^
  361. In file included from crypt-otr.h:122:0,
  362.                  from OTR.xs:5:
  363. crypt-otr-perl.c:198:67: warning: passing argument 2 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  364.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  365.                                                                    ^
  366. In file included from crypt-otr.h:121:0,
  367.                  from OTR.xs:5:
  368. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  369.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  370.       ^
  371. In file included from crypt-otr.h:122:0,
  372.                  from OTR.xs:5:
  373. crypt-otr-perl.c:198:83: warning: passing argument 3 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  374.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  375.                                                                                    ^
  376. In file included from crypt-otr.h:121:0,
  377.                  from OTR.xs:5:
  378. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  379.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  380.       ^
  381. In file included from crypt-otr.h:122:0,
  382.                  from OTR.xs:5:
  383. crypt-otr-perl.c:208:67: warning: passing argument 2 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  384.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  385.                                                                    ^
  386. In file included from crypt-otr.h:121:0,
  387.                  from OTR.xs:5:
  388. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  389.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  390.       ^
  391. In file included from crypt-otr.h:122:0,
  392.                  from OTR.xs:5:
  393. crypt-otr-perl.c:208:83: warning: passing argument 3 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  394.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  395.                                                                                    ^
  396. In file included from crypt-otr.h:121:0,
  397.                  from OTR.xs:5:
  398. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  399.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  400.       ^
  401. In file included from crypt-otr.h:122:0,
  402.                  from OTR.xs:5:
  403. crypt-otr-perl.c:218:67: warning: passing argument 2 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  404.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  405.                                                                    ^
  406. In file included from crypt-otr.h:121:0,
  407.                  from OTR.xs:5:
  408. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  409.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  410.       ^
  411. In file included from crypt-otr.h:122:0,
  412.                  from OTR.xs:5:
  413. crypt-otr-perl.c:218:83: warning: passing argument 3 of ‘crypt_otr_notify_socialist_millionaires_status’ discards ‘const’ qualifier from pointer target type
  414.       crypt_otr_notify_socialist_millionaires_status( crypt_state, in_accountname, in_protocol,
  415.                                                                                    ^
  416. In file included from crypt-otr.h:121:0,
  417.                  from OTR.xs:5:
  418. crypt-otr-private.c:320:6: note: expected ‘char *’ but argument is of type ‘const char *
  419.  void crypt_otr_notify_socialist_millionaires_status( CryptOTRUserState crypt_state, char* accountname, char* protocol,
  420.       ^
  421. OTR.c: In function ‘XS_Crypt__OTR_crypt_otr_get_privkey_fingerprint’:
  422. OTR.c:1114:9: warning: assignment from incompatible pointer type
  423.   RETVAL = crypt_otr_get_privkey_fingerprint(perl_state, perl_account, perl_proto, perl_max);
  424.          ^
  425. OTR.c: In function ‘XS_Crypt__OTR_crypt_otr_get_privkey_fingerprint_raw’:
  426. OTR.c:1139:9: warning: assignment from incompatible pointer type
  427.   RETVAL = crypt_otr_get_privkey_fingerprint_raw(perl_state, perl_account, perl_proto, perl_max);
  428.          ^
  429. Makefile:353: recipe for target 'OTR.o' failed
  430. make: *** [OTR.o] Error 1
  431.   REVMISCHA/Crypt-OTR-0.08.tar.gz
  432.   /usr/bin/make -- NOT OK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement