Advertisement
Guest User

Untitled

a guest
Jan 24th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.47 KB | None | 0 0
  1. >>> Source configured.
  2. >>> Compiling source in /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl ...
  3. make -j3 -C nasl cflags
  4. make: вход в каталог «/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl»
  5. make: выход из каталога «/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl»
  6. make -j3
  7. make -C nasl
  8. make[1]: вход в каталог «/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl»
  9. /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -march=native -O2 -pipe `sh ./cflags` -c nasl_packet_forgery.c
  10. /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -march=native -O2 -pipe `sh ./cflags` -c nasl_socket.c
  11. /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -march=native -O2 -pipe `sh ./cflags` -c nasl_crypto.c
  12. nasl_crypto.c: In function 'nasl_md2':
  13. nasl_crypto.c:55:10: error: 'MD2_DIGEST_LENGTH' undeclared (first use in this function); did you mean 'MD5_DIGEST_LENGTH'?
  14. char md[MD2_DIGEST_LENGTH+1];
  15. ^~~~~~~~~~~~~~~~~
  16. MD5_DIGEST_LENGTH
  17. nasl_crypto.c:55:10: note: each undeclared identifier is reported only once for each function it appears in
  18. nasl_crypto.c:61:2: warning: implicit declaration of function 'MD2'; did you mean 'MD5'? [-Wimplicit-function-declaration]
  19. MD2((unsigned char*)data, len, (unsigned char*)md);
  20. ^~~
  21. MD5
  22. nasl_packet_forgery.c: In function 'nasl_tcp_ping':
  23. nasl_packet_forgery.c:1265:23: warning: implicit declaration of function 'bpf_next_tv'; did you mean 'bpf_next'? [-Wimplicit-function-declaration]
  24. if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++;
  25. ^~~~~~~~~~~
  26. bpf_next
  27. nasl_packet_forgery.c:1265:21: warning: assignment to 'u_char *' {aka 'unsigned char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  28. if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++;
  29. ^
  30. nasl_packet_forgery.c: In function 'nasl_pcap_next':
  31. nasl_packet_forgery.c:1407:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  32. if( interface == NULL )interface = pcap_lookupdev(errbuf);
  33. ^~
  34. In file included from /usr/include/pcap.h:43,
  35. from ../include/includes.h:223,
  36. from nasl_packet_forgery.c:19:
  37. /usr/include/pcap/pcap.h:326:16: note: declared here
  38. PCAP_API char *pcap_lookupdev(char *)
  39. ^~~~~~~~~~~~~~
  40. nasl_crypto.c: In function 'nasl_sha':
  41. nasl_packet_forgery.c: In function 'nasl_send_capture':
  42. nasl_packet_forgery.c:1493:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  43. if( interface == NULL )interface = pcap_lookupdev(errbuf);
  44. ^~
  45. In file included from /usr/include/pcap.h:43,
  46. from ../include/includes.h:223,
  47. from nasl_packet_forgery.c:19:
  48. /usr/include/pcap/pcap.h:326:16: note: declared here
  49. PCAP_API char *pcap_lookupdev(char *)
  50. ^~~~~~~~~~~~~~
  51. nasl_crypto.c:119:2: warning: implicit declaration of function 'SHA'; did you mean 'SHA1'? [-Wimplicit-function-declaration]
  52. SHA((unsigned char*)data, len, (unsigned char*)md);
  53. ^~~
  54. SHA1
  55. nasl_crypto.c: In function 'nasl_hmac_md2':
  56. nasl_crypto.c:202:26: warning: implicit declaration of function 'EVP_md2'; did you mean 'EVP_mdc2'? [-Wimplicit-function-declaration]
  57. return nasl_hmac(lexic, EVP_md2());
  58. ^~~~~~~
  59. EVP_mdc2
  60. nasl_crypto.c:202:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion]
  61. return nasl_hmac(lexic, EVP_md2());
  62. ^~~~~~~~~
  63. nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int'
  64. static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md)
  65. ~~~~~~~~~~~~~~~^~~~~~
  66. nasl_crypto.c: In function 'nasl_hmac_sha':
  67. nasl_crypto.c:213:26: warning: implicit declaration of function 'EVP_sha'; did you mean 'EVP_sha1'? [-Wimplicit-function-declaration]
  68. return nasl_hmac(lexic, EVP_sha());
  69. ^~~~~~~
  70. EVP_sha1
  71. nasl_crypto.c:213:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion]
  72. return nasl_hmac(lexic, EVP_sha());
  73. ^~~~~~~~~
  74. nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int'
  75. static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md)
  76. ~~~~~~~~~~~~~~~^~~~~~
  77. nasl_crypto.c: In function 'nasl_hmac_dss':
  78. nasl_crypto.c:225:26: warning: implicit declaration of function 'EVP_dss'; did you mean 'EVP_rc4'? [-Wimplicit-function-declaration]
  79. return nasl_hmac(lexic, EVP_dss());
  80. ^~~~~~~
  81. EVP_rc4
  82. nasl_crypto.c:225:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion]
  83. return nasl_hmac(lexic, EVP_dss());
  84. ^~~~~~~~~
  85. nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int'
  86. static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md)
  87. ~~~~~~~~~~~~~~~^~~~~~
  88. make[1]: *** [Makefile:95: nasl_crypto.o] Ошибка 1
  89. make[1]: *** Ожидание завершения заданий…
  90. make[1]: выход из каталога «/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl»
  91. make: *** [Makefile:4: all] Ошибка 2
  92. * ERROR: net-analyzer/libnasl-2.2.9-r1::x-overlay failed (compile phase):
  93. * emake failed
  94. *
  95. * If you need support, post the output of `emerge --info '=net-analyzer/libnasl-2.2.9-r1::x-overlay'`,
  96. * the complete build log and the output of `emerge -pqv '=net-analyzer/libnasl-2.2.9-r1::x-overlay'`.
  97. * The complete build log is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/build.log'.
  98. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/environment'.
  99. * Working directory: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl'
  100. * S: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl'
  101.  
  102. >>> Failed to emerge net-analyzer/libnasl-2.2.9-r1, Log file:
  103.  
  104. >>> '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/build.log'
  105.  
  106. * Messages for package net-analyzer/libnasl-2.2.9-r1:
  107.  
  108. * ERROR: net-analyzer/libnasl-2.2.9-r1::x-overlay failed (compile phase):
  109. * emake failed
  110. *
  111. * If you need support, post the output of `emerge --info '=net-analyzer/libnasl-2.2.9-r1::x-overlay'`,
  112. * the complete build log and the output of `emerge -pqv '=net-analyzer/libnasl-2.2.9-r1::x-overlay'`.
  113. * The complete build log is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/build.log'.
  114. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/environment'.
  115. * Working directory: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl'
  116. * S: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl'
  117.  
  118. * Regenerating GNU info directory index...
  119. * Processed 159 info files.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement