bonsaiviking

deheader output for Nmap

Sep 16th, 2013
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 182.50 KB | None | 0 0
  1. .
  2. deheader: ./liblua/luac.c has more than one inclusion of <stdio.h>
  3. deheader: ./liblua/luac.c has more than one inclusion of "lobject.h"
  4. deheader: ./libpcap/scanner.c has more than one inclusion of <string.h>
  5. deheader: ./nsock/examples/nsock_telnet.c has more than one inclusion of <stdio.h>
  6. deheader: ./nsock/examples/nsock_telnet.c has more than one inclusion of <stdlib.h>
  7. deheader: ./nsock/examples/nsock_test_timers.c has more than one inclusion of <stdlib.h>
  8. deheader: in ./libnetutil/IPv6Header.cc, memset() portability requires <string.h>.
  9. deheader: in ./libnetutil/IPv6Header.cc, fprintf() portability requires <stdio.h>.
  10. deheader: in ./libnetutil/IPv6Header.cc, htonl() portability requires <arpa/inet.h>.
  11. deheader: in ./libnetutil/IPv6Header.cc, strcasecmp() portability requires <strings.h>.
  12. deheader: in ./nsock/src/nsock_pool.c, setsockopt() portability requires <sys/socket.h>.
  13. deheader: in ./nsock/src/nsock_pool.c, gettimeofday() portability requires <sys/time.h>.
  14. deheader: in ./nsock/src/nsock_pool.c, free() portability requires <stdlib.h>.
  15. deheader: remove "netutils.h" from ./nsock/src/nsock_pool.c
  16. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_pool.c
  17. deheader: remove "gh_list.h" from ./nsock/src/nsock_pool.c
  18. deheader: in ./nsock/src/engine_poll.c, poll() portability requires <poll.h>.
  19. deheader: in ./nsock/src/engine_poll.c, free() portability requires <stdlib.h>.
  20. deheader: in ./nsock/src/engine_poll.c, select() portability requires <sys/time.h>.
  21. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-snoop.o libdnet-stripped/src/eth-snoop.c
  22. libdnet-stripped/src/eth-snoop.c:16:21: fatal error: net/raw.h: No such file or directory
  23. compilation terminated.
  24. deheader: basic compilation failed on ./libdnet-stripped/src/eth-snoop.c
  25. make: *** [libdnet-stripped/src/eth-snoop.o] Error 1deheader: remove "lualib.h" from ./liblua/lmathlib.c
  26. deheader: remove "lua.h" from ./liblua/lmathlib.c
  27. deheader: in ./libnetutil/UDPHeader.cc, memcpy() portability requires <string.h>.
  28. deheader: in ./libnetutil/UDPHeader.cc, fprintf() portability requires <stdio.h>.
  29. deheader: in ./libnetutil/UDPHeader.cc, ntohs() portability requires <arpa/inet.h>.
  30. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_xclass.o libpcre/pcre_xclass.c
  31. In file included from libpcre/pcre_xclass.c:52:0:
  32. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  33. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  34. deheader: basic compilation failed on ./libpcre/pcre_xclass.c
  35. make: *** [libpcre/pcre_xclass.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/test/test-uri.o ncat/test/test-uri.c
  36. ncat/test/test-uri.c:5:23: fatal error: ncat_core.h: No such file or directory
  37. compilation terminated.
  38. deheader: basic compilation failed on ./ncat/test/test-uri.c
  39. make: *** [ncat/test/test-uri.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-netfilter-linux.o libpcap/pcap-netfilter-linux.c
  40. libpcap/pcap-netfilter-linux.c: In function ‘nflog_read_linux’:
  41. libpcap/pcap-netfilter-linux.c:100:28: error: ‘DLT_NFLOG’ undeclared (first use in this function)
  42. libpcap/pcap-netfilter-linux.c:100:28: note: each undeclared identifier is reported only once for each function it appears in
  43. libpcap/pcap-netfilter-linux.c: In function ‘nflog_activate’:
  44. libpcap/pcap-netfilter-linux.c:354:21: error: ‘DLT_NFLOG’ undeclared (first use in this function)
  45. deheader: basic compilation failed on ./libpcap/pcap-netfilter-linux.c
  46. make: *** [libpcap/pcap-netfilter-linux.o] Error 1deheader: in ./nsock/tests/tests_main.c, printf() portability requires <stdio.h>.
  47. deheader: remove "netutils.h" from ./nsock/src/nsock_read.c
  48. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_read.c
  49. deheader: remove "nsock_log.h" from ./nsock/src/nsock_read.c
  50. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/inet_aton.o libpcap/Win32/Src/inet_aton.c
  51. libpcap/Win32/Src/inet_aton.c:42:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  52. libpcap/Win32/Src/inet_aton.c:47:25: fatal error: pcap-stdinc.h: No such file or directory
  53. compilation terminated.
  54. deheader: basic compilation failed on ./libpcap/Win32/Src/inet_aton.c
  55. make: *** [libpcap/Win32/Src/inet_aton.o] Error 1deheader: in ./NmapOutputTable.cc, strlen() portability requires <string.h>.
  56. deheader: in ./NmapOutputTable.cc, va_start() portability requires <stdarg.h>.
  57. deheader: in ./NmapOutputTable.cc, =\s*true portability requires <stdbool.h>.
  58. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-snoop.o libpcap/pcap-snoop.c
  59. libpcap/pcap-snoop.c:22:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  60. libpcap/pcap-snoop.c:36:21: fatal error: net/raw.h: No such file or directory
  61. compilation terminated.
  62. deheader: basic compilation failed on ./libpcap/pcap-snoop.c
  63. make: *** [libpcap/pcap-snoop.o] Error 1deheader: in ./nbase/getopt.c, getopt() portability requires <unistd.h>.
  64. deheader: remove <sys/types.h> from ./nbase/getopt.c
  65. deheader: in ./nsock/tests/timer.c, rand() portability requires <stdlib.h>.
  66. deheader: in ./liblinear/train.c, realloc() portability requires <unistd.h>.
  67. deheader: in ./nbase/inet_pton.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  68. deheader: in ./nbase/inet_pton.c, <arpa/inet.h> portability requires <netinet/in.h>.
  69. deheader: in ./nbase/inet_pton.c, strchr() portability requires <string.h>.
  70. deheader: in ./osscan2.cc, gettimeofday() portability requires <sys/time.h>.
  71. deheader: in ./osscan2.cc, inet_ntoa() portability requires <arpa/inet.h>.
  72. deheader: in ./osscan2.cc, =\s*false portability requires <stdbool.h>.
  73. deheader: in ./osscan2.cc, memset() portability requires <string.h>.
  74. deheader: in ./osscan2.cc, usleep() portability requires <unistd.h>.
  75. deheader: in ./osscan2.cc, free() portability requires <stdlib.h>.
  76. deheader: in ./osscan2.cc, time() portability requires <time.h>.
  77. deheader: in ./osscan2.cc, printf() portability requires <stdio.h>.
  78. deheader: in ./osscan2.cc, log() portability requires <math.h>.
  79. deheader: in ./osscan2.cc, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  80. deheader: remove <list> from ./osscan2.cc
  81. deheader: remove <dnet.h> from ./osscan2.cc
  82. deheader: remove "Target.h" from ./osscan2.cc
  83. deheader: remove "FPEngine.h" from ./osscan2.cc
  84. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/optimize.o libpcap/optimize.c
  85. libpcap/optimize.c:24:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  86. deheader: basic compilation failed on ./libpcap/optimize.c
  87. make: *** [libpcap/optimize.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/bpf_dump.o libpcap/bpf_dump.c
  88. libpcap/bpf_dump.c:22:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  89. deheader: basic compilation failed on ./libpcap/bpf_dump.c
  90. make: *** [libpcap/bpf_dump.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/dftables.o libpcre/dftables.c
  91. In file included from libpcre/dftables.c:57:0:
  92. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  93. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  94. deheader: basic compilation failed on ./libpcre/dftables.c
  95. make: *** [libpcre/dftables.o] Error 1deheader: in ./scan_engine.cc, =\s*false portability requires <stdbool.h>.
  96. deheader: in ./scan_engine.cc, gettimeofday() portability requires <sys/time.h>.
  97. deheader: in ./scan_engine.cc, send() portability requires <sys/socket.h>.
  98. deheader: in ./scan_engine.cc, close() portability requires <unistd.h>.
  99. deheader: in ./scan_engine.cc, memset() portability requires <string.h>.
  100. deheader: in ./scan_engine.cc, ntohs() portability requires <arpa/inet.h>.
  101. deheader: in ./scan_engine.cc, printf() portability requires <stdio.h>.
  102. deheader: in ./scan_engine.cc, free() portability requires <stdlib.h>.
  103. deheader: in ./scan_engine.cc, time() portability requires <time.h>.
  104. deheader: remove <map> from ./scan_engine.cc
  105. deheader: remove <math.h> from ./scan_engine.cc
  106. deheader: remove "targets.h" from ./scan_engine.cc
  107. deheader: remove "scan_engine.h" from ./scan_engine.cc
  108. deheader: remove "portreasons.h" from ./scan_engine.cc
  109. deheader: remove <list> from ./scan_engine.cc
  110. deheader: remove <dnet.h> from ./scan_engine.cc
  111. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/bpf/net/bpf_filter.o libpcap/bpf/net/bpf_filter.c
  112. libpcap/bpf/net/bpf_filter.c:42:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  113. deheader: basic compilation failed on ./libpcap/bpf/net/bpf_filter.c
  114. make: *** [libpcap/bpf/net/bpf_filter.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-linux.o libpcap/pcap-linux.c
  115. libpcap/pcap-linux.c:69:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  116. libpcap/pcap-linux.c: In function ‘map_arphrd_to_dlt’:
  117. libpcap/pcap-linux.c:2849:36: error: ‘DLT_IEEE802_15_4_NOFCS’ undeclared (first use in this function)
  118. libpcap/pcap-linux.c:2849:36: note: each undeclared identifier is reported only once for each function it appears in
  119. libpcap/pcap-linux.c: At top level:
  120. libpcap/pcap-linux.c:3262:30: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  121. libpcap/pcap-linux.c:5001:34: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  122. libpcap/pcap-linux.c:324:12: warning: ‘activate_mmap’ used but never defined [enabled by default]
  123. libpcap/pcap-linux.c:371:12: warning: ‘iface_get_offload’ declared ‘static’ but never defined [-Wunused-function]
  124. deheader: basic compilation failed on ./libpcap/pcap-linux.c
  125. make: *** [libpcap/pcap-linux.o] Error 1deheader: in ./output.cc, isalnum() portability requires <ctype.h>.
  126. deheader: in ./output.cc, strlen() portability requires <string.h>.
  127. deheader: in ./output.cc, free() portability requires <stdlib.h>.
  128. deheader: in ./output.cc, localtime() portability requires <time.h>.
  129. deheader: in ./output.cc, va_start() portability requires <stdarg.h>.
  130. deheader: in ./output.cc, =\s*false portability requires <stdbool.h>.
  131. deheader: in ./output.cc, vfprintf() portability requires <stdarg.h>,<stdio.h>.
  132. deheader: in ./output.cc, gettimeofday() portability requires <sys/time.h>.
  133. deheader: in ./output.cc, strcasecmp() portability requires <strings.h>.
  134. deheader: remove <list> from ./output.cc
  135. deheader: remove <set> from ./output.cc
  136. deheader: remove "libnetutil/netutil.h" from ./output.cc
  137. deheader: remove "Target.h" from ./output.cc
  138. deheader: remove "portreasons.h" from ./output.cc
  139. deheader: remove "output.h" from ./output.cc
  140. deheader: remove <vector> from ./output.cc
  141. deheader: remove "nbase.h" from ./output.cc
  142. deheader: remove "nmap.h" from ./output.cc
  143. deheader: in ./nbase/nbase_misc.c, strerror() portability requires <string.h>.
  144. deheader: in ./nbase/nbase_misc.c, socket() portability requires <sys/socket.h>.
  145. deheader: in ./nbase/nbase_misc.c, dup() portability requires <unistd.h>.
  146. deheader: in ./nbase/nbase_misc.c, strtod() portability requires <stdlib.h>.
  147. deheader: in ./nbase/nbase_misc.c, strcasecmp() portability requires <strings.h>.
  148. deheader: in ./nbase/nbase_misc.c, select() portability requires <sys/time.h>.
  149. deheader: in ./nbase/nbase_misc.c, isalnum() portability requires <ctype.h>.
  150. deheader: in ./nbase/nbase_misc.c, stat() portability requires <sys/types.h>,<sys/stat.h>.
  151. deheader: remove <assert.h> from ./nbase/nbase_misc.c
  152. deheader: remove "nbase_ipv6.h" from ./nbase/nbase_misc.c
  153. deheader: remove <limits.h> from ./nbase/nbase_misc.c
  154. deheader: remove "nbase_crc32ct.h" from ./nbase/nbase_misc.c
  155. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-libdlpi.o libpcap/pcap-libdlpi.c
  156. libpcap/pcap-libdlpi.c:28:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  157. libpcap/pcap-libdlpi.c:38:24: fatal error: sys/bufmod.h: No such file or directory
  158. compilation terminated.
  159. deheader: basic compilation failed on ./libpcap/pcap-libdlpi.c
  160. make: *** [libpcap/pcap-libdlpi.o] Error 1deheader: in ./nping/utils.cc, strcasecmp() portability requires <strings.h>.
  161. deheader: in ./nping/utils.cc, strtoul() portability requires <stdlib.h>.
  162. deheader: in ./nping/utils.cc, strlen() portability requires <string.h>.
  163. deheader: in ./nping/utils.cc, isxdigit() portability requires <ctype.h>.
  164. deheader: in ./nping/utils.cc, =\s*false portability requires <stdbool.h>.
  165. deheader: in ./nping/utils.cc, sprintf() portability requires <stdio.h>.
  166. deheader: remove <vector> from ./nping/utils.cc
  167. deheader: remove "dnet.h" from ./nping/utils.cc
  168. deheader: remove "nbase.h" from ./nping/utils.cc
  169. deheader: remove "global_structures.h" from ./nping/utils.cc
  170. deheader: remove "utils.h" from ./nping/utils.cc
  171. deheader: remove <errno.h> from ./nping/utils.cc
  172. deheader: remove "nping.h" from ./nping/utils.cc
  173. deheader: remove "pcap.h" from ./nping/utils.cc
  174. deheader: in ./nse_dnet.cc, memset() portability requires <string.h>.
  175. deheader: in ./nse_dnet.cc, close() portability requires <unistd.h>.
  176. deheader: remove <assert.h> from ./nse_dnet.cc
  177. deheader: remove "lauxlib.h" from ./nse_dnet.cc
  178. deheader: remove "struct_ip.h" from ./nse_dnet.cc
  179. deheader: remove "nse_main.h" from ./nse_dnet.cc
  180. deheader: remove "protocols.h" from ./nse_dnet.cc
  181. deheader: remove "utils.h" from ./nse_dnet.cc
  182. deheader: remove "nmap_error.h" from ./nse_dnet.cc
  183. deheader: remove "lualib.h" from ./nse_dnet.cc
  184. deheader: remove "nsock.h" from ./nse_dnet.cc
  185. deheader: remove "lua.h" from ./nse_dnet.cc
  186. deheader: in ./ncat/ncat_connect.c, shutdown() portability requires <sys/socket.h>.
  187. deheader: in ./ncat/ncat_connect.c, close() portability requires <unistd.h>.
  188. deheader: in ./ncat/ncat_connect.c, gettimeofday() portability requires <sys/time.h>.
  189. deheader: remove "nbase.h" from ./ncat/ncat_connect.c
  190. deheader: remove "util.h" from ./ncat/ncat_connect.c
  191. deheader: remove "nsock.h" from ./ncat/ncat_connect.c
  192. deheader: remove "sys_wrap.h" from ./ncat/ncat_connect.c
  193. deheader: remove "base64.h" from ./ncat/ncat_connect.c
  194. deheader: remove "lualib.h" from ./liblua/ltablib.c
  195. deheader: remove "lua.h" from ./liblua/ltablib.c
  196. deheader: remove <stddef.h> from ./liblua/ltablib.c
  197. deheader: in ./service_scan.cc, =\s*false portability requires <stdbool.h>.
  198. deheader: in ./service_scan.cc, free() portability requires <stdlib.h>.
  199. deheader: in ./service_scan.cc, strlen() portability requires <string.h>.
  200. deheader: in ./service_scan.cc, isspace() portability requires <ctype.h>.
  201. deheader: in ./service_scan.cc, fopen() portability requires <stdio.h>.
  202. deheader: in ./service_scan.cc, time() portability requires <time.h>.
  203. deheader: in ./service_scan.cc, gettimeofday() portability requires <sys/time.h>.
  204. deheader: in ./service_scan.cc, connect() portability requires <sys/socket.h>.
  205. deheader: remove <list> from ./service_scan.cc
  206. deheader: remove "nsock.h" from ./service_scan.cc
  207. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/inet_pton.o libpcap/Win32/Src/inet_pton.c
  208. libpcap/Win32/Src/inet_pton.c:42:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  209. libpcap/Win32/Src/inet_pton.c:59:25: fatal error: pcap-stdinc.h: No such file or directory
  210. compilation terminated.
  211. deheader: basic compilation failed on ./libpcap/Win32/Src/inet_pton.c
  212. make: *** [libpcap/Win32/Src/inet_pton.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/arp-bsd.o libdnet-stripped/src/arp-bsd.c
  213. libdnet-stripped/src/arp-bsd.c:23:23: fatal error: net/if_dl.h: No such file or directory
  214. compilation terminated.
  215. deheader: basic compilation failed on ./libdnet-stripped/src/arp-bsd.c
  216. make: *** [libdnet-stripped/src/arp-bsd.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o zenmap/install_scripts/macosx/zenmap_auth.o zenmap/install_scripts/macosx/zenmap_auth.c
  217. zenmap/install_scripts/macosx/zenmap_auth.c:18:36: fatal error: Security/Authorization.h: No such file or directory
  218. compilation terminated.
  219. deheader: basic compilation failed on ./zenmap/install_scripts/macosx/zenmap_auth.c
  220. make: *** [zenmap/install_scripts/macosx/zenmap_auth.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_ucp_searchfuncs.o libpcre/pcre_ucp_searchfuncs.c
  221. In file included from libpcre/pcre_ucp_searchfuncs.c:50:0:
  222. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  223. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  224. deheader: basic compilation failed on ./libpcre/pcre_ucp_searchfuncs.c
  225. make: *** [libpcre/pcre_ucp_searchfuncs.o] Error 1deheader: in ./nse_utility.cc, strcmp() portability requires <string.h>.
  226. deheader: remove "nse_utility.h" from ./nse_utility.cc
  227. deheader: remove "portlist.h" from ./nse_utility.cc
  228. deheader: remove <stdlib.h> from ./nse_utility.cc
  229. deheader: remove "nse_main.h" from ./nse_utility.cc
  230. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-ndd.o libdnet-stripped/src/eth-ndd.c
  231. libdnet-stripped/src/eth-ndd.c:13:25: fatal error: sys/ndd_var.h: No such file or directory
  232. compilation terminated.
  233. deheader: basic compilation failed on ./libdnet-stripped/src/eth-ndd.c
  234. make: *** [libdnet-stripped/src/eth-ndd.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_valid_utf8.o libpcre/pcre_valid_utf8.c
  235. In file included from libpcre/pcre_valid_utf8.c:51:0:
  236. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  237. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  238. deheader: basic compilation failed on ./libpcre/pcre_valid_utf8.c
  239. make: *** [libpcre/pcre_valid_utf8.o] Error 1deheader: in ./libdnet-stripped/src/addr.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  240. deheader: in ./libdnet-stripped/src/addr.c, gethostbyname() portability requires <netdb.h>.
  241. deheader: in ./libdnet-stripped/src/addr.c, htonl() portability requires <arpa/inet.h>.
  242. deheader: remove <ctype.h> from ./libdnet-stripped/src/addr.c
  243. deheader: in ./nse_openssl.cc, malloc() portability requires <stdlib.h>.
  244. deheader: in ./nse_openssl.cc, encrypt() portability requires <unistd.h>.
  245. deheader: in ./nse_openssl.cc, =\s*false portability requires <stdbool.h>.
  246. deheader: remove "nse_openssl.h" from ./nse_openssl.cc
  247. deheader: remove <openssl/evp.h> from ./nse_openssl.cc
  248. deheader: remove <openssl/crypto.h> from ./nse_openssl.cc
  249. deheader: remove <openssl/bn.h> from ./nse_openssl.cc
  250. deheader: remove "nse_bit.h" from ./nse_bit.cc
  251. deheader: in ./libnetutil/netutil.cc, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  252. deheader: in ./libnetutil/netutil.cc, exit() portability requires <stdlib.h>.
  253. deheader: in ./libnetutil/netutil.cc, memset() portability requires <string.h>.
  254. deheader: in ./libnetutil/netutil.cc, va_start() portability requires <stdarg.h>.
  255. deheader: in ./libnetutil/netutil.cc, fflush() portability requires <stdio.h>.
  256. deheader: in ./libnetutil/netutil.cc, isxdigit() portability requires <ctype.h>.
  257. deheader: in ./libnetutil/netutil.cc, ntohs() portability requires <arpa/inet.h>.
  258. deheader: in ./libnetutil/netutil.cc, setsockopt() portability requires <sys/socket.h>.
  259. deheader: in ./libnetutil/netutil.cc, select() portability requires <sys/time.h>.
  260. deheader: in ./libnetutil/netutil.cc, =\s*false portability requires <stdbool.h>.
  261. deheader: in ./libnetutil/netutil.cc, close() portability requires <unistd.h>.
  262. deheader: in ./libnetutil/netutil.cc, getrlimit() portability requires <sys/resource.h>.
  263. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_dfa_exec.o libpcre/pcre_dfa_exec.c
  264. In file included from libpcre/pcre_dfa_exec.c:57:0:
  265. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  266. libpcre/pcre_dfa_exec.c: In function ‘internal_dfa_exec’:
  267. libpcre/pcre_dfa_exec.c:341:34: error: ‘LINK_SIZE’ undeclared (first use in this function)
  268. libpcre/pcre_dfa_exec.c:341:34: note: each undeclared identifier is reported only once for each function it appears in
  269. libpcre/pcre_dfa_exec.c:361:5: warning: implicit declaration of function ‘GET’ [-Wimplicit-function-declaration]
  270. libpcre/pcre_dfa_exec.c: In function ‘pcre_dfa_exec’:
  271. libpcre/pcre_dfa_exec.c:2618:21: error: ‘NEWLINE’ undeclared (first use in this function)
  272. deheader: basic compilation failed on ./libpcre/pcre_dfa_exec.c
  273. make: *** [libpcre/pcre_dfa_exec.o] Error 1deheader: in ./libdnet-stripped/src/intf.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  274. deheader: in ./libdnet-stripped/src/intf.c, htons() portability requires <arpa/inet.h>.
  275. deheader: remove <sys/param.h> from ./libdnet-stripped/src/intf.c
  276. deheader: in ./nping/common_modified.cc, memset() portability requires <string.h>.
  277. deheader: in ./nping/common_modified.cc, htonl() portability requires <arpa/inet.h>.
  278. deheader: in ./nping/common_modified.cc, gethostbyname() portability requires <netdb.h>.
  279. deheader: in ./nping/common_modified.cc, isdigit() portability requires <ctype.h>.
  280. deheader: in ./nping/common_modified.cc, strtol() portability requires <stdlib.h>.
  281. deheader: in ./nping/common_modified.cc, fprintf() portability requires <stdio.h>.
  282. deheader: remove "../libnetutil/netutil.h" from ./nping/common_modified.cc
  283. deheader: remove "common.h" from ./nping/common_modified.cc
  284. deheader: remove "nping.h" from ./nping/common_modified.cc
  285. deheader: in ./libdnet-stripped/src/ip6.c, htons() portability requires <arpa/inet.h>.
  286. deheader: in ./liblua/ltable.c, index() portability requires <strings.h>.
  287. deheader: remove "lvm.h" from ./liblua/ltable.c
  288. deheader: remove "lstring.h" from ./liblua/ltable.c
  289. deheader: remove "lobject.h" from ./liblua/ltable.c
  290. deheader: remove "lgc.h" from ./liblua/ltable.c
  291. deheader: remove "ldebug.h" from ./liblua/ltable.c
  292. deheader: remove <string.h> from ./liblua/ltable.c
  293. deheader: remove "lstate.h" from ./liblua/ltable.c
  294. deheader: remove "ldo.h" from ./liblua/ltable.c
  295. deheader: remove "lmem.h" from ./liblua/ltable.c
  296. deheader: remove "lua.h" from ./liblua/ltable.c
  297. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-win32.o libpcap/pcap-win32.c
  298. libpcap/pcap-win32.c:35:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  299. libpcap/pcap-win32.c:39:22: fatal error: pcap-int.h: No such file or directory
  300. compilation terminated.
  301. deheader: basic compilation failed on ./libpcap/pcap-win32.c
  302. make: *** [libpcap/pcap-win32.o] Error 1deheader: in ./nse_debug.cc, printf() portability requires <stdio.h>.
  303. deheader: remove "output.h" from ./nse_debug.cc
  304. deheader: remove "nmap.h" from ./nse_debug.cc
  305. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_ord2utf8.o libpcre/pcre_ord2utf8.c
  306. In file included from libpcre/pcre_ord2utf8.c:50:0:
  307. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  308. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  309. deheader: basic compilation failed on ./libpcre/pcre_ord2utf8.c
  310. make: *** [libpcre/pcre_ord2utf8.o] Error 1deheader: in ./nping/EchoServer.cc, =\s*false portability requires <stdbool.h>.
  311. deheader: in ./nping/EchoServer.cc, accept() portability requires <sys/socket.h>.
  312. deheader: in ./nping/EchoServer.cc, memset() portability requires <string.h>.
  313. deheader: in ./nping/EchoServer.cc, htons() portability requires <arpa/inet.h>.
  314. deheader: in ./nping/EchoServer.cc, time() portability requires <time.h>.
  315. deheader: in ./nping/EchoServer.cc, exit() portability requires <stdlib.h>.
  316. deheader: in ./nping/EchoServer.cc, encrypt() portability requires <unistd.h>.
  317. deheader: in ./nping/EchoServer.cc, gettimeofday() portability requires <sys/time.h>.
  318. deheader: remove "nsock.h" from ./nping/EchoServer.cc
  319. deheader: remove "NEPContext.h" from ./nping/EchoServer.cc
  320. deheader: remove "nping.h" from ./nping/EchoServer.cc
  321. deheader: remove <vector> from ./nping/EchoServer.cc
  322. deheader: remove "EchoHeader.h" from ./nping/EchoServer.cc
  323. deheader: in ./nsock/src/nsock_write.c, htons() portability requires <arpa/inet.h>.
  324. deheader: in ./nsock/src/nsock_write.c, memcpy() portability requires <string.h>.
  325. deheader: in ./nsock/src/nsock_write.c, free() portability requires <stdlib.h>.
  326. deheader: remove <errno.h> from ./nsock/src/nsock_write.c
  327. deheader: remove <nbase.h> from ./nsock/src/nsock_write.c
  328. deheader: remove "nsock_log.h" from ./nsock/src/nsock_write.c
  329. deheader: remove "nsock.h" from ./nsock/src/nsock_write.c
  330. deheader: remove "netutils.h" from ./nsock/src/nsock_write.c
  331. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_write.c
  332. deheader: in ./nsock/src/filespace.c, free() portability requires <stdlib.h>.
  333. deheader: in ./nsock/src/filespace.c, printf() portability requires <stdio.h>.
  334. deheader: remove "filespace.h" from ./nsock/src/filespace.c
  335. deheader: remove "nsock_internal.h" from ./nsock/src/filespace.c
  336. deheader: in ./targets.cc, read() portability requires <unistd.h>.
  337. deheader: in ./targets.cc, strcmp() portability requires <string.h>.
  338. deheader: in ./targets.cc, free() portability requires <stdlib.h>.
  339. deheader: in ./targets.cc, printf() portability requires <stdio.h>.
  340. deheader: in ./targets.cc, =\s*false portability requires <stdbool.h>.
  341. deheader: in ./targets.cc, gettimeofday() portability requires <sys/time.h>.
  342. deheader: remove "nmap_tty.h" from ./targets.cc
  343. deheader: remove "scan_engine.h" from ./targets.cc
  344. deheader: remove "TargetGroup.h" from ./targets.cc
  345. deheader: remove "lualib.h" from ./liblua/ldblib.c
  346. deheader: remove "lua.h" from ./liblua/ldblib.c
  347. deheader: remove <stdlib.h> from ./liblua/ldblib.c
  348. deheader: remove "lstate.h" from ./liblua/lfunc.c
  349. deheader: remove "lmem.h" from ./liblua/lfunc.c
  350. deheader: remove "lfunc.h" from ./liblua/lfunc.c
  351. deheader: remove <stddef.h> from ./liblua/lfunc.c
  352. deheader: remove "lobject.h" from ./liblua/lfunc.c
  353. deheader: remove "lua.h" from ./liblua/lfunc.c
  354. deheader: in ./traceroute.cc, send() portability requires <sys/socket.h>.
  355. deheader: in ./traceroute.cc, =\s*true portability requires <stdbool.h>.
  356. deheader: in ./traceroute.cc, remove() portability requires <stdio.h>.
  357. deheader: in ./traceroute.cc, memcpy() portability requires <string.h>.
  358. deheader: in ./traceroute.cc, free() portability requires <stdlib.h>.
  359. deheader: in ./traceroute.cc, close() portability requires <unistd.h>.
  360. deheader: in ./traceroute.cc, ntohs() portability requires <arpa/inet.h>.
  361. deheader: in ./traceroute.cc, gettimeofday() portability requires <sys/time.h>.
  362. deheader: remove <vector> from ./traceroute.cc
  363. deheader: remove <map> from ./traceroute.cc
  364. deheader: remove <dnet.h> from ./traceroute.cc
  365. deheader: remove "Target.h" from ./traceroute.cc
  366. deheader: remove <list> from ./traceroute.cc
  367. deheader: remove "nse_binlib.h" from ./nse_binlib.cc
  368. deheader: remove "lua.h" from ./liblua/linit.c
  369. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/dlpisubs.o libpcap/dlpisubs.c
  370. libpcap/dlpisubs.c:14:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  371. libpcap/dlpisubs.c:58:22: fatal error: sys/dlpi.h: No such file or directory
  372. compilation terminated.
  373. deheader: basic compilation failed on ./libpcap/dlpisubs.c
  374. make: *** [libpcap/dlpisubs.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-bt-linux.o libpcap/pcap-bt-linux.c
  375. libpcap/pcap-bt-linux.c:35:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  376. libpcap/pcap-bt-linux.c:60:33: fatal error: bluetooth/bluetooth.h: No such file or directory
  377. compilation terminated.
  378. deheader: basic compilation failed on ./libpcap/pcap-bt-linux.c
  379. make: *** [libpcap/pcap-bt-linux.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/fad-null.o libpcap/fad-null.c
  380. libpcap/fad-null.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  381. deheader: basic compilation failed on ./libpcap/fad-null.c
  382. make: *** [libpcap/fad-null.o] Error 1deheader: remove "netutils.h" from ./nsock/src/nsock_ssl.c
  383. deheader: remove "nsock.h" from ./nsock/src/nsock_ssl.c
  384. deheader: remove "nsock_ssl.h" from ./nsock/src/nsock_ssl.c
  385. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-usb-linux.o libpcap/pcap-usb-linux.c
  386. libpcap/pcap-usb-linux.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  387. libpcap/pcap-usb-linux.c: In function ‘probe_devices’:
  388. libpcap/pcap-usb-linux.c:234:31: error: storage size of ‘ctrl’ isn’t known
  389. libpcap/pcap-usb-linux.c:279:19: error: ‘USBDEVFS_CONTROL’ undeclared (first use in this function)
  390. libpcap/pcap-usb-linux.c:279:19: note: each undeclared identifier is reported only once for each function it appears in
  391. libpcap/pcap-usb-linux.c:234:31: warning: unused variable ‘ctrl’ [-Wunused-variable]
  392. libpcap/pcap-usb-linux.c: In function ‘usb_activate’:
  393. libpcap/pcap-usb-linux.c:325:36: error: ‘LINUX_USB_MON_DEV’ undeclared (first use in this function)
  394. libpcap/pcap-usb-linux.c:325:53: error: expected ‘)’ before string constant
  395. deheader: basic compilation failed on ./libpcap/pcap-usb-linux.c
  396. make: *** [libpcap/pcap-usb-linux.o] Error 1deheader: in ./libnetutil/ARPHeader.cc, memset() portability requires <string.h>.
  397. deheader: in ./libnetutil/ARPHeader.cc, fprintf() portability requires <stdio.h>.
  398. deheader: in ./libnetutil/ARPHeader.cc, htons() portability requires <arpa/inet.h>.
  399. deheader: in ./libdnet-stripped/src/blob.c, htonl() portability requires <arpa/inet.h>.
  400. deheader: remove <poll.h> from ./libpcap/tests/nonblocktest.c
  401. deheader: remove <sys/types.h> from ./libpcap/tests/nonblocktest.c
  402. deheader: remove <sys/select.h> from ./libpcap/tests/nonblocktest.c
  403. deheader: remove <errno.h> from ./libpcap/tests/nonblocktest.c
  404. deheader: remove <stdlib.h> from ./libdnet-stripped/src/tun-none.c
  405. deheader: remove <sys/types.h> from ./libdnet-stripped/src/tun-none.c
  406. deheader: remove <stdio.h> from ./libdnet-stripped/src/tun-none.c
  407. deheader: remove "config.h" from ./libdnet-stripped/src/tun-none.c
  408. deheader: remove <stdlib.h> from ./libdnet-stripped/src/fw-none.c
  409. deheader: remove "config.h" from ./libdnet-stripped/src/fw-none.c
  410. deheader: remove <stdio.h> from ./libdnet-stripped/src/fw-none.c
  411. deheader: in ./libpcap/tests/findalldevstest.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  412. deheader: in ./libpcap/tests/findalldevstest.c, fprintf() portability requires <stdio.h>.
  413. deheader: remove <netdb.h> from ./libpcap/tests/findalldevstest.c
  414. deheader: remove <sys/socket.h> from ./libpcap/tests/findalldevstest.c
  415. g++ -c -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing nping/winfix.cc -o nping/winfix.o
  416. nping/winfix.cc:128:22: fatal error: winclude.h: No such file or directory
  417. compilation terminated.
  418. deheader: basic compilation failed on ./nping/winfix.cc
  419. make: *** [nping/winfix.o] Error 1deheader: in ./liblua/lapi.c, index() portability requires <strings.h>.
  420. deheader: remove "lvm.h" from ./liblua/lapi.c
  421. deheader: remove "ltm.h" from ./liblua/lapi.c
  422. deheader: remove "lstring.h" from ./liblua/lapi.c
  423. deheader: remove "lobject.h" from ./liblua/lapi.c
  424. deheader: remove "lgc.h" from ./liblua/lapi.c
  425. deheader: remove "ldo.h" from ./liblua/lapi.c
  426. deheader: remove "lapi.h" from ./liblua/lapi.c
  427. deheader: remove <string.h> from ./liblua/lapi.c
  428. deheader: remove "lundump.h" from ./liblua/lapi.c
  429. deheader: remove "lstate.h" from ./liblua/lapi.c
  430. deheader: remove "lfunc.h" from ./liblua/lapi.c
  431. deheader: remove "lua.h" from ./liblua/lapi.c
  432. deheader: remove "ltable.h" from ./liblua/lapi.c
  433. deheader: remove "ldebug.h" from ./liblua/lapi.c
  434. deheader: remove "lmem.h" from ./liblua/lapi.c
  435. deheader: in ./nbase/nbase_addrset.c, free() portability requires <stdlib.h>.
  436. deheader: in ./nbase/nbase_addrset.c, fprintf() portability requires <stdio.h>.
  437. deheader: in ./nbase/nbase_addrset.c, ntohl() portability requires <arpa/inet.h>.
  438. deheader: in ./nbase/nbase_addrset.c, strdup() portability requires <string.h>.
  439. deheader: in ./nbase/nbase_addrset.c, isspace() portability requires <ctype.h>.
  440. deheader: remove "nbase.h" from ./nbase/nbase_addrset.c
  441. deheader: in ./nsock/src/nsock_core.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  442. deheader: in ./nsock/src/nsock_core.c, <arpa/inet.h> portability requires <netinet/in.h>.
  443. deheader: in ./nsock/src/nsock_core.c, getsockopt() portability requires <sys/socket.h>.
  444. deheader: in ./nsock/src/nsock_core.c, close() portability requires <unistd.h>.
  445. deheader: in ./nsock/src/nsock_core.c, memcpy() portability requires <string.h>.
  446. deheader: in ./nsock/src/nsock_core.c, printf() portability requires <stdio.h>.
  447. deheader: in ./nsock/src/nsock_core.c, gettimeofday() portability requires <sys/time.h>.
  448. deheader: remove "netutils.h" from ./nsock/src/nsock_core.c
  449. deheader: remove "nsock_log.h" from ./nsock/src/nsock_core.c
  450. deheader: remove "gh_list.h" from ./nsock/src/nsock_core.c
  451. deheader: remove <assert.h> from ./nsock/src/nsock_core.c
  452. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_core.c
  453. deheader: remove "filespace.h" from ./nsock/src/nsock_core.c
  454. deheader: remove "lzio.h" from ./liblua/lundump.c
  455. deheader: remove "lstring.h" from ./liblua/lundump.c
  456. deheader: remove "lmem.h" from ./liblua/lundump.c
  457. deheader: remove "ldo.h" from ./liblua/lundump.c
  458. deheader: remove "lua.h" from ./liblua/lundump.c
  459. deheader: remove "lobject.h" from ./liblua/lundump.c
  460. deheader: remove "ldebug.h" from ./liblua/lundump.c
  461. deheader: remove "lfunc.h" from ./liblua/lundump.c
  462. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/gai_strerror.o libpcap/Win32/Src/gai_strerror.c
  463. libpcap/Win32/Src/gai_strerror.c:76:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gai_strerrorA’
  464. libpcap/Win32/Src/gai_strerror.c:49:14: warning: ‘ai_errlist’ defined but not used [-Wunused-variable]
  465. deheader: basic compilation failed on ./libpcap/Win32/Src/gai_strerror.c
  466. make: *** [libpcap/Win32/Src/gai_strerror.o] Error 1deheader: in ./nse_nsock.cc, isprint() portability requires <ctype.h>.
  467. deheader: in ./nse_nsock.cc, ntohs() portability requires <arpa/inet.h>.
  468. deheader: in ./nse_nsock.cc, sleep() portability requires <unistd.h>.
  469. deheader: in ./nse_nsock.cc, memcpy() portability requires <string.h>.
  470. deheader: remove <errno.h> from ./nse_nsock.cc
  471. deheader: remove <stdio.h> from ./nse_nsock.cc
  472. deheader: remove "nse_main.h" from ./nse_nsock.cc
  473. deheader: remove "libnetutil/netutil.h" from ./nse_nsock.cc
  474. deheader: remove "tcpip.h" from ./nse_nsock.cc
  475. deheader: remove "nmap_error.h" from ./nse_nsock.cc
  476. deheader: remove <stdlib.h> from ./nse_nsock.cc
  477. deheader: remove "nse_nsock.h" from ./nse_nsock.cc
  478. deheader: remove "utils.h" from ./nse_nsock.cc
  479. deheader: remove "nsock.h" from ./nse_nsock.cc
  480. deheader: remove <errno.h> from ./libpcap/tests/opentest.c
  481. deheader: in ./libdnet-stripped/src/addr-util.c, htons() portability requires <arpa/inet.h>.
  482. deheader: remove <string.h> from ./libdnet-stripped/src/addr-util.c
  483. deheader: in ./nsock/examples/nsock_telnet.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  484. deheader: remove <openssl/err.h> from ./nsock/examples/nsock_telnet.c
  485. deheader: remove <assert.h> from ./nsock/examples/nsock_telnet.c
  486. deheader: remove <openssl/ssl.h> from ./nsock/examples/nsock_telnet.c
  487. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_refcount.o libpcre/pcre_refcount.c
  488. In file included from libpcre/pcre_refcount.c:53:0:
  489. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  490. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  491. deheader: basic compilation failed on ./libpcre/pcre_refcount.c
  492. make: *** [libpcre/pcre_refcount.o] Error 1deheader: in ./ncat/ncat_core.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  493. deheader: in ./ncat/ncat_core.c, <arpa/inet.h> portability requires <netinet/in.h>.
  494. deheader: in ./ncat/ncat_core.c, close() portability requires <unistd.h>.
  495. deheader: in ./ncat/ncat_core.c, recv() portability requires <sys/socket.h>.
  496. deheader: in ./ncat/ncat_core.c, select() portability requires <sys/time.h>.
  497. deheader: remove <time.h> from ./ncat/ncat_core.c
  498. deheader: remove <fcntl.h> from ./ncat/ncat_core.c
  499. deheader: remove <stdio.h> from ./ncat/ncat_core.c
  500. deheader: remove <stdlib.h> from ./ncat/ncat_core.c
  501. deheader: remove "util.h" from ./ncat/ncat_core.c
  502. deheader: remove <errno.h> from ./ncat/ncat_core.c
  503. deheader: remove "sys_wrap.h" from ./ncat/ncat_core.c
  504. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/ncat_posix.o ncat/ncat_posix.c
  505. ncat/ncat_posix.c: In function ‘ssl_load_default_ca_certs’:
  506. ncat/ncat_posix.c:416:85: error: ‘NCAT_DATADIR’ undeclared (first use in this function)
  507. ncat/ncat_posix.c:416:85: note: each undeclared identifier is reported only once for each function it appears in
  508. ncat/ncat_posix.c:416:85: error: expected ‘)’ before string constant
  509. ncat/ncat_posix.c:423:45: error: expected ‘)’ before string constant
  510. ncat/ncat_posix.c:427:17: error: expected ‘)’ before string constant
  511. deheader: basic compilation failed on ./ncat/ncat_posix.c
  512. make: *** [ncat/ncat_posix.o] Error 1deheader: in ./ncat/sys_wrap.c, calloc() portability requires <stdlib.h>.
  513. deheader: in ./ncat/sys_wrap.c, close() portability requires <unistd.h>.
  514. deheader: in ./ncat/sys_wrap.c, connect() portability requires <sys/socket.h>.
  515. deheader: in ./ncat/sys_wrap.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  516. deheader: in ./ncat/sys_wrap.c, signal() portability requires <signal.h>.
  517. deheader: in ./ncat/sys_wrap.c, strdup() portability requires <string.h>.
  518. deheader: remove "util.h" from ./ncat/sys_wrap.c
  519. deheader: remove <limits.h> from ./ncat/sys_wrap.c
  520. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/inet_net.o libpcap/Win32/Src/inet_net.c
  521. libpcap/Win32/Src/inet_net.c:39:25: fatal error: inetprivate.h: No such file or directory
  522. compilation terminated.
  523. deheader: basic compilation failed on ./libpcap/Win32/Src/inet_net.c
  524. make: *** [libpcap/Win32/Src/inet_net.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_maketables.o libpcre/pcre_maketables.c
  525. In file included from libpcre/pcre_maketables.c:53:0:
  526. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  527. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  528. deheader: basic compilation failed on ./libpcre/pcre_maketables.c
  529. make: *** [libpcre/pcre_maketables.o] Error 1deheader: remove "lualib.h" from ./liblua/liolib.c
  530. deheader: remove "lua.h" from ./liblua/liolib.c
  531. deheader: remove <stdlib.h> from ./liblua/liolib.c
  532. deheader: in ./nmap.cc, isdigit() portability requires <ctype.h>.
  533. deheader: in ./nmap.cc, strtol() portability requires <stdlib.h>.
  534. deheader: in ./nmap.cc, strrchr() portability requires <string.h>.
  535. deheader: in ./nmap.cc, printf() portability requires <stdio.h>.
  536. deheader: in ./nmap.cc, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  537. deheader: in ./nmap.cc, geteuid() portability requires <unistd.h>,<sys/types.h>.
  538. deheader: in ./nmap.cc, connect() portability requires <sys/socket.h>.
  539. deheader: in ./nmap.cc, =\s*false portability requires <stdbool.h>.
  540. deheader: in ./nmap.cc, strcasecmp() portability requires <strings.h>.
  541. deheader: in ./nmap.cc, strftime() portability requires <time.h>.
  542. deheader: in ./nmap.cc, gethostbyname() portability requires <netdb.h>.
  543. deheader: in ./nmap.cc, inet_ntoa() portability requires <arpa/inet.h>.
  544. deheader: in ./nmap.cc, signal() portability requires <signal.h>.
  545. deheader: in ./nmap.cc, mmap() portability requires <sys/mman.h>.
  546. deheader: in ./nmap.cc, getpwuid() portability requires <pwd.h>.
  547. deheader: remove "nmap_error.h" from ./nmap.cc
  548. deheader: remove "TargetGroup.h" from ./nmap.cc
  549. deheader: remove "nmap_dns.h" from ./nmap.cc
  550. deheader: remove "timing.h" from ./nmap.cc
  551. deheader: remove "scan_engine.h" from ./nmap.cc
  552. deheader: remove "nmap.h" from ./nmap.cc
  553. deheader: remove "nse_pcrelib.h" from ./nse_pcrelib.cc
  554. deheader: remove "nbase.h" from ./nse_pcrelib.cc
  555. deheader: remove <stdio.h> from ./nse_pcrelib.cc
  556. deheader: remove "nmap_error.h" from ./nse_pcrelib.cc
  557. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/savefile.o libpcap/savefile.c
  558. libpcap/savefile.c:32:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  559. libpcap/savefile.c:144:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  560. libpcap/savefile.c: In function ‘pcap_fopen_offline’:
  561. libpcap/savefile.c:324:17: error: ‘sf_inject’ undeclared (first use in this function)
  562. libpcap/savefile.c:324:17: note: each undeclared identifier is reported only once for each function it appears in
  563. deheader: basic compilation failed on ./libpcap/savefile.c
  564. make: *** [libpcap/savefile.o] Error 1deheader: in ./libpcap/tests/selpolltest.c, select() portability requires <sys/time.h>.
  565. deheader: remove <sys/select.h> from ./libpcap/tests/selpolltest.c
  566. deheader: remove <sys/types.h> from ./libpcap/tests/selpolltest.c
  567. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/scanner.o libpcap/scanner.c
  568. scanner.l:31:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  569. deheader: basic compilation failed on ./libpcap/scanner.c
  570. make: *** [libpcap/scanner.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-sita.o libpcap/pcap-sita.c
  571. libpcap/pcap-sita.c:822:55: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  572. libpcap/pcap-sita.c: In function ‘pcap_read_acn’:
  573. libpcap/pcap-sita.c:903:80: error: ‘struct pcap_md’ has no member named ‘clear_promisc’
  574. libpcap/pcap-sita.c: In function ‘pcap_activate_sita’:
  575. libpcap/pcap-sita.c:934:22: error: ‘pcap_inject_acn’ undeclared (first use in this function)
  576. libpcap/pcap-sita.c:934:22: note: each undeclared identifier is reported only once for each function it appears in
  577. libpcap/pcap-sita.c:948:12: error: ‘struct pcap_md’ has no member named ‘clear_promisc’
  578. libpcap/pcap-sita.c:948:39: error: ‘struct pcap_md’ has no member named ‘promisc’
  579. libpcap/pcap-sita.c: At top level:
  580. libpcap/pcap-sita.c:77:16: warning: ‘errorString’ defined but not used [-Wunused-variable]
  581. libpcap/pcap-sita.c:86:13: warning: ‘dump_interface_list’ defined but not used [-Wunused-function]
  582. libpcap/pcap-sita.c:127:13: warning: ‘dump_interface_list_p’ defined but not used [-Wunused-function]
  583. libpcap/pcap-sita.c:147:13: warning: ‘dump_unit_table’ defined but not used [-Wunused-function]
  584. libpcap/pcap-sita.c:234:14: warning: ‘find_nth_interface_name’ defined but not used [-Wunused-function]
  585. libpcap/pcap-sita.c:376:13: warning: ‘acn_freealldevs’ defined but not used [-Wunused-function]
  586. deheader: basic compilation failed on ./libpcap/pcap-sita.c
  587. make: *** [libpcap/pcap-sita.o] Error 1deheader: in ./nsock/src/nsock_engines.c, select() portability requires <sys/time.h>.
  588. deheader: in ./nsock/src/nsock_engines.c, strcmp() portability requires <string.h>.
  589. deheader: in ./nsock/src/nsock_engines.c, free() portability requires <stdlib.h>.
  590. deheader: in ./idle_scan.cc, gettimeofday() portability requires <sys/time.h>.
  591. deheader: in ./idle_scan.cc, ntohs() portability requires <arpa/inet.h>.
  592. deheader: in ./idle_scan.cc, strchr() portability requires <string.h>.
  593. deheader: in ./idle_scan.cc, strtoul() portability requires <stdlib.h>.
  594. deheader: in ./idle_scan.cc, usleep() portability requires <unistd.h>.
  595. deheader: remove <stdio.h> from ./idle_scan.cc
  596. deheader: remove "output.h" from ./idle_scan.cc
  597. deheader: remove "Target.h" from ./idle_scan.cc
  598. deheader: remove "nmap.h" from ./idle_scan.cc
  599. deheader: remove "idle_scan.h" from ./idle_scan.cc
  600. deheader: remove "lvm.h" from ./liblua/lobject.c
  601. deheader: remove "lstate.h" from ./liblua/lobject.c
  602. deheader: remove "lmem.h" from ./liblua/lobject.c
  603. deheader: remove "ldebug.h" from ./liblua/lobject.c
  604. deheader: remove "lua.h" from ./liblua/lobject.c
  605. deheader: remove <stdlib.h> from ./liblua/lobject.c
  606. deheader: remove "lstring.h" from ./liblua/lobject.c
  607. deheader: remove "ldo.h" from ./liblua/lobject.c
  608. deheader: remove "lobject.h" from ./liblua/lobject.c
  609. deheader: remove "lctype.h" from ./liblua/lobject.c
  610. deheader: remove "lualib.h" from ./liblua/lstrlib.c
  611. deheader: remove "lua.h" from ./liblua/lstrlib.c
  612. deheader: remove <stdlib.h> from ./liblua/lstrlib.c
  613. deheader: remove <stddef.h> from ./liblua/lstrlib.c
  614. deheader: in ./nbase/getnameinfo.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  615. deheader: in ./nbase/getnameinfo.c, <arpa/inet.h> portability requires <netinet/in.h>.
  616. deheader: in ./nbase/getnameinfo.c, ntohs() portability requires <arpa/inet.h>.
  617. deheader: in ./nbase/getnameinfo.c, gethostbyaddr() portability requires <netdb.h>.
  618. deheader: remove <stdio.h> from ./nbase/getnameinfo.c
  619. deheader: remove <assert.h> from ./nbase/getnameinfo.c
  620. deheader: in ./ncat/ncat_ssl.c, strlen() portability requires <string.h>.
  621. deheader: remove "ncat_config.h" from ./ncat/ncat_ssl.c
  622. deheader: remove "nbase.h" from ./ncat/ncat_ssl.c
  623. deheader: remove <string.h> from ./libpcap/Win32/Src/ffs.c
  624. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/ip-win32.o libdnet-stripped/src/ip-win32.c
  625. libdnet-stripped/src/ip-win32.c:15:22: fatal error: ws2tcpip.h: No such file or directory
  626. compilation terminated.
  627. deheader: basic compilation failed on ./libdnet-stripped/src/ip-win32.c
  628. make: *** [libdnet-stripped/src/ip-win32.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_globals.o libpcre/pcre_globals.c
  629. In file included from libpcre/pcre_globals.c:55:0:
  630. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  631. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  632. deheader: basic compilation failed on ./libpcre/pcre_globals.c
  633. make: *** [libpcre/pcre_globals.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/etherent.o libpcap/etherent.c
  634. libpcap/etherent.c:23:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  635. deheader: basic compilation failed on ./libpcap/etherent.c
  636. make: *** [libpcap/etherent.o] Error 1deheader: in ./libdnet-stripped/src/ip.c, socket() portability requires <sys/socket.h>.
  637. deheader: in ./libdnet-stripped/src/ip.c, ntohs() portability requires <arpa/inet.h>.
  638. deheader: remove <stdio.h> from ./libdnet-stripped/src/ip.c
  639. deheader: remove <netinet/in.h> from ./libdnet-stripped/src/ip.c
  640. deheader: remove "config.h" from ./libdnet-stripped/src/ip.c
  641. deheader: in ./ncat/http.c, free() portability requires <stdlib.h>.
  642. deheader: in ./ncat/http.c, tolower() portability requires <ctype.h>.
  643. deheader: remove "base64.h" from ./ncat/http.c
  644. deheader: remove "ltable.h" from ./liblua/lparser.c
  645. deheader: remove "lstate.h" from ./liblua/lparser.c
  646. deheader: remove "lopcodes.h" from ./liblua/lparser.c
  647. deheader: remove "lmem.h" from ./liblua/lparser.c
  648. deheader: remove "lfunc.h" from ./liblua/lparser.c
  649. deheader: remove "ldebug.h" from ./liblua/lparser.c
  650. deheader: remove "lua.h" from ./liblua/lparser.c
  651. deheader: remove "lstring.h" from ./liblua/lparser.c
  652. deheader: remove "lobject.h" from ./liblua/lparser.c
  653. deheader: remove "ldo.h" from ./liblua/lparser.c
  654. deheader: remove <string.h> from ./liblua/lparser.c
  655. deheader: remove "lparser.h" from ./liblua/lparser.c
  656. deheader: remove "llex.h" from ./liblua/lparser.c
  657. deheader: remove "lualib.h" from ./liblua/lbaselib.c
  658. deheader: remove "lua.h" from ./liblua/lbaselib.c
  659. deheader: remove <stdlib.h> from ./liblua/lbaselib.c
  660. deheader: remove <stdio.h> from ./liblua/lbaselib.c
  661. deheader: in ./nping/NpingTarget.cc, memset() portability requires <string.h>.
  662. deheader: in ./nping/NpingTarget.cc, =\s*false portability requires <stdbool.h>.
  663. deheader: in ./nping/NpingTarget.cc, free() portability requires <stdlib.h>.
  664. deheader: in ./nping/NpingTarget.cc, isalnum() portability requires <ctype.h>.
  665. deheader: in ./nping/NpingTarget.cc, sprintf() portability requires <stdio.h>.
  666. deheader: in ./nping/NpingTarget.cc, gettimeofday() portability requires <sys/time.h>.
  667. deheader: remove "common_modified.h" from ./nping/NpingTarget.cc
  668. deheader: remove "common.h" from ./nping/NpingTarget.cc
  669. deheader: remove "nping.h" from ./nping/NpingTarget.cc
  670. deheader: remove <dnet.h> from ./nping/NpingTarget.cc
  671. deheader: remove "stats.h" from ./nping/NpingTarget.cc
  672. deheader: remove "nbase.h" from ./nping/NpingTarget.cc
  673. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/route-bsd.o libdnet-stripped/src/route-bsd.c
  674. libdnet-stripped/src/route-bsd.c: In function ‘route_msg’:
  675. libdnet-stripped/src/route-bsd.c:98:5: error: dereferencing pointer to incomplete type
  676. libdnet-stripped/src/route-bsd.c:98:21: error: ‘RTM_VERSION’ undeclared (first use in this function)
  677. libdnet-stripped/src/route-bsd.c:98:21: note: each undeclared identifier is reported only once for each function it appears in
  678. libdnet-stripped/src/route-bsd.c:99:10: error: dereferencing pointer to incomplete type
  679. libdnet-stripped/src/route-bsd.c:99:32: error: ‘RTM_DELETE’ undeclared (first use in this function)
  680. libdnet-stripped/src/route-bsd.c:100:6: error: dereferencing pointer to incomplete type
  681. libdnet-stripped/src/route-bsd.c:101:5: error: dereferencing pointer to incomplete type
  682. libdnet-stripped/src/route-bsd.c:101:19: error: ‘RTA_DST’ undeclared (first use in this function)
  683. libdnet-stripped/src/route-bsd.c:102:5: error: dereferencing pointer to incomplete type
  684. libdnet-stripped/src/route-bsd.c:105:15: error: invalid use of undefined type ‘struct rt_msghdr’
  685. libdnet-stripped/src/route-bsd.c:111:28: error: ‘RTM_GET’ undeclared (first use in this function)
  686. libdnet-stripped/src/route-bsd.c:112:6: error: dereferencing pointer to incomplete type
  687. libdnet-stripped/src/route-bsd.c:113:6: error: dereferencing pointer to incomplete type
  688. libdnet-stripped/src/route-bsd.c:113:21: error: ‘RTA_GATEWAY’ undeclared (first use in this function)
  689. libdnet-stripped/src/route-bsd.c:120:6: error: dereferencing pointer to incomplete type
  690. libdnet-stripped/src/route-bsd.c:120:21: error: ‘RTA_NETMASK’ undeclared (first use in this function)
  691. libdnet-stripped/src/route-bsd.c:125:6: error: dereferencing pointer to incomplete type
  692. libdnet-stripped/src/route-bsd.c:127:5: error: dereferencing pointer to incomplete type
  693. libdnet-stripped/src/route-bsd.c:135:27: error: dereferencing pointer to incomplete type
  694. libdnet-stripped/src/route-bsd.c:141:25: error: dereferencing pointer to incomplete type
  695. libdnet-stripped/src/route-bsd.c:144:10: error: dereferencing pointer to incomplete type
  696. libdnet-stripped/src/route-bsd.c:144:35: error: dereferencing pointer to incomplete type
  697. libdnet-stripped/src/route-bsd.c:145:10: error: dereferencing pointer to incomplete type
  698. libdnet-stripped/src/route-bsd.c:146:11: error: dereferencing pointer to incomplete type
  699. libdnet-stripped/src/route-bsd.c:147:16: error: dereferencing pointer to incomplete type
  700. libdnet-stripped/src/route-bsd.c:154:29: error: dereferencing pointer to incomplete type
  701. libdnet-stripped/src/route-bsd.c:156:16: error: invalid use of undefined type ‘struct rt_msghdr’
  702. libdnet-stripped/src/route-bsd.c:167:26: error: dereferencing pointer to incomplete type
  703. libdnet-stripped/src/route-bsd.c: In function ‘route_add’:
  704. libdnet-stripped/src/route-bsd.c:205:19: error: ‘RTM_ADD’ undeclared (first use in this function)
  705. libdnet-stripped/src/route-bsd.c: In function ‘route_delete’:
  706. libdnet-stripped/src/route-bsd.c:221:19: error: ‘RTM_DELETE’ undeclared (first use in this function)
  707. libdnet-stripped/src/route-bsd.c: In function ‘route_get’:
  708. libdnet-stripped/src/route-bsd.c:230:19: error: ‘RTM_GET’ undeclared (first use in this function)
  709. libdnet-stripped/src/route-bsd.c: In function ‘route_loop’:
  710. libdnet-stripped/src/route-bsd.c:275:52: error: ‘NET_RT_DUMP’ undeclared (first use in this function)
  711. libdnet-stripped/src/route-bsd.c:336:39: error: dereferencing pointer to incomplete type
  712. libdnet-stripped/src/route-bsd.c:339:16: error: invalid use of undefined type ‘struct rt_msghdr’
  713. libdnet-stripped/src/route-bsd.c:341:25: error: dereferencing pointer to incomplete type
  714. libdnet-stripped/src/route-bsd.c:345:11: error: dereferencing pointer to incomplete type
  715. libdnet-stripped/src/route-bsd.c:345:25: error: ‘RTA_DST’ undeclared (first use in this function)
  716. libdnet-stripped/src/route-bsd.c:351:11: error: dereferencing pointer to incomplete type
  717. libdnet-stripped/src/route-bsd.c:351:25: error: ‘RTA_GATEWAY’ undeclared (first use in this function)
  718. libdnet-stripped/src/route-bsd.c:363:10: error: dereferencing pointer to incomplete type
  719. libdnet-stripped/src/route-bsd.c:363:24: error: ‘RTA_NETMASK’ undeclared (first use in this function)
  720. deheader: basic compilation failed on ./libdnet-stripped/src/route-bsd.c
  721. make: *** [libdnet-stripped/src/route-bsd.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/sf-pcap-ng.o libpcap/sf-pcap-ng.c
  722. libpcap/sf-pcap-ng.c:25:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  723. deheader: basic compilation failed on ./libpcap/sf-pcap-ng.c
  724. make: *** [libpcap/sf-pcap-ng.o] Error 1deheader: remove "lvm.h" from ./liblua/lcode.c
  725. deheader: remove "lstring.h" from ./liblua/lcode.c
  726. deheader: remove "lopcodes.h" from ./liblua/lcode.c
  727. deheader: remove "lmem.h" from ./liblua/lcode.c
  728. deheader: remove "lgc.h" from ./liblua/lcode.c
  729. deheader: remove "ldebug.h" from ./liblua/lcode.c
  730. deheader: remove "lua.h" from ./liblua/lcode.c
  731. deheader: remove "ltable.h" from ./liblua/lcode.c
  732. deheader: remove "lobject.h" from ./liblua/lcode.c
  733. deheader: remove "ldo.h" from ./liblua/lcode.c
  734. deheader: remove "lparser.h" from ./liblua/lcode.c
  735. deheader: remove "llex.h" from ./liblua/lcode.c
  736. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_newline.o libpcre/pcre_newline.c
  737. In file included from libpcre/pcre_newline.c:56:0:
  738. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  739. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  740. deheader: basic compilation failed on ./libpcre/pcre_newline.c
  741. make: *** [libpcre/pcre_newline.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-dlpi.o libdnet-stripped/src/eth-dlpi.c
  742. libdnet-stripped/src/eth-dlpi.c:25:24: fatal error: sys/stream.h: No such file or directory
  743. compilation terminated.
  744. deheader: basic compilation failed on ./libdnet-stripped/src/eth-dlpi.c
  745. make: *** [libdnet-stripped/src/eth-dlpi.o] Error 1deheader: in ./nsock/src/engine_epoll.c, close() portability requires <unistd.h>.
  746. deheader: in ./nsock/src/engine_epoll.c, free() portability requires <stdlib.h>.
  747. deheader: in ./nsock/src/engine_epoll.c, memset() portability requires <string.h>.
  748. deheader: in ./nsock/src/engine_epoll.c, select() portability requires <sys/time.h>.
  749. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/test/test-wildcard.o ncat/test/test-wildcard.c
  750. ncat/test/test-wildcard.c:20:23: fatal error: ncat_core.h: No such file or directory
  751. compilation terminated.
  752. deheader: basic compilation failed on ./ncat/test/test-wildcard.c
  753. make: *** [ncat/test/test-wildcard.o] Error 1deheader: in ./libdnet-stripped/src/tun-bsd.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  754. deheader: in ./libdnet-stripped/src/tun-bsd.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  755. deheader: in ./libdnet-stripped/src/tun-bsd.c, htonl() portability requires <arpa/inet.h>.
  756. deheader: remove <sys/socket.h> from ./libdnet-stripped/src/tun-bsd.c
  757. deheader: remove "config.h" from ./libdnet-stripped/src/tun-bsd.c
  758. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_study.o libpcre/pcre_study.c
  759. In file included from libpcre/pcre_study.c:51:0:
  760. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  761. libpcre/pcre_study.c: In function ‘set_start_bits’:
  762. libpcre/pcre_study.c:135:65: error: ‘LINK_SIZE’ undeclared (first use in this function)
  763. libpcre/pcre_study.c:135:65: note: each undeclared identifier is reported only once for each function it appears in
  764. libpcre/pcre_study.c:163:9: warning: implicit declaration of function ‘GET’ [-Wimplicit-function-declaration]
  765. libpcre/pcre_study.c: At top level:
  766. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  767. make: *** [libpcre/pcre_study.odeheader: basic compilation failed on ./libpcre/pcre_study.c
  768. ] Error 1deheader: in ./nsock/src/proxy_http.c, free() portability requires <stdlib.h>.
  769. deheader: remove "nsock_log.h" from ./nsock/src/proxy_http.c
  770. deheader: remove "nsock.h" from ./nsock/src/proxy_http.c
  771. deheader: remove <stdio.h> from ./nsock/src/proxy_http.c
  772. deheader: remove "lualib.h" from ./liblua/lua.c
  773. deheader: remove "lua.h" from ./liblua/lua.c
  774. deheader: remove "lauxlib.h" from ./liblua/lua.c
  775. deheader: in ./xml.cc, strlen() portability requires <string.h>.
  776. deheader: in ./xml.cc, free() portability requires <stdlib.h>.
  777. deheader: in ./xml.cc, =\s*true portability requires <stdbool.h>.
  778. deheader: remove <list> from ./xml.cc
  779. deheader: remove <assert.h> from ./xml.cc
  780. deheader: remove "nmap.h" from ./xml.cc
  781. deheader: remove <stdio.h> from ./xml.cc
  782. deheader: in ./TargetGroup.cc, strrchr() portability requires <string.h>.
  783. deheader: in ./TargetGroup.cc, free() portability requires <stdlib.h>.
  784. deheader: in ./TargetGroup.cc, htonl() portability requires <arpa/inet.h>.
  785. deheader: in ./TargetGroup.cc, =\s*false portability requires <stdbool.h>.
  786. deheader: remove "global_structures.h" from ./TargetGroup.cc
  787. deheader: in ./libpcap/fad-sita.c, printf() portability requires <stdio.h>.
  788. deheader: remove "pcap-sita.h" from ./libpcap/fad-sita.c
  789. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/inet.o libpcap/inet.c
  790. libpcap/inet.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  791. libpcap/inet.c:76:0: warning: "INT_MAX" redefined [enabled by default]
  792. /usr/lib/gcc/i686-linux-gnu/4.6/include-fixed/limits.h:121:0: note: this is the location of the previous definition
  793. deheader: basic compilation failed on ./libpcap/inet.c
  794. make: *** [libpcap/inet.o] Error 1deheader: in ./nping/NpingOps.cc, =\s*false portability requires <stdbool.h>.
  795. deheader: in ./nping/NpingOps.cc, memset() portability requires <string.h>.
  796. deheader: in ./nping/NpingOps.cc, free() portability requires <stdlib.h>.
  797. deheader: in ./nping/NpingOps.cc, sprintf() portability requires <stdio.h>.
  798. deheader: in ./nping/NpingOps.cc, htons() portability requires <arpa/inet.h>.
  799. deheader: in ./nping/NpingOps.cc, geteuid() portability requires <unistd.h>,<sys/types.h>.
  800. deheader: remove "common.h" from ./nping/NpingOps.cc
  801. deheader: remove "ArgParser.h" from ./nping/NpingOps.cc
  802. deheader: remove "utils.h" from ./nping/NpingOps.cc
  803. deheader: remove "nbase.h" from ./nping/NpingOps.cc
  804. deheader: remove "nping.h" from ./nping/NpingOps.cc
  805. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/msdos/ndis2.o libpcap/msdos/ndis2.c
  806. libpcap/msdos/ndis2.c:42:17: fatal error: dos.h: No such file or directory
  807. compilation terminated.
  808. deheader: basic compilation failed on ./libpcap/msdos/ndis2.c
  809. make: *** [libpcap/msdos/ndis2.o] Error 1deheader: in ./osscan.cc, isspace() portability requires <ctype.h>.
  810. deheader: in ./osscan.cc, realloc() portability requires <unistd.h>.
  811. deheader: in ./osscan.cc, free() portability requires <stdlib.h>.
  812. deheader: in ./osscan.cc, strchr() portability requires <string.h>.
  813. deheader: in ./osscan.cc, time() portability requires <time.h>.
  814. deheader: in ./osscan.cc, printf() portability requires <stdio.h>.
  815. deheader: in ./osscan.cc, =\s*false portability requires <stdbool.h>.
  816. deheader: in ./osscan.cc, strncasecmp() portability requires <strings.h>.
  817. deheader: remove <list> from ./osscan.cc
  818. deheader: remove "utils.h" from ./osscan.cc
  819. deheader: remove "Target.h" from ./osscan.cc
  820. deheader: remove "nmap_tty.h" from ./osscan.cc
  821. deheader: remove "timing.h" from ./osscan.cc
  822. deheader: remove "nmap_error.h" from ./osscan.cc
  823. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_chartables.o libpcre/pcre_chartables.c
  824. In file included from libpcre/pcre_chartables.c:29:0:
  825. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  826. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  827. deheader: basic compilation failed on ./libpcre/pcre_chartables.c
  828. make: *** [libpcre/pcre_chartables.o] Error 1deheader: remove <stdlib.h> from ./libdnet-stripped/src/eth-none.c
  829. deheader: remove <sys/types.h> from ./libdnet-stripped/src/eth-none.c
  830. deheader: remove <stdio.h> from ./libdnet-stripped/src/eth-none.c
  831. deheader: remove "config.h" from ./libdnet-stripped/src/eth-none.c
  832. deheader: in ./ncat/ncat_lua.c, exit() portability requires <stdlib.h>.
  833. deheader: remove "lvm.h" from ./liblua/lvm.c
  834. deheader: remove "ltable.h" from ./liblua/lvm.c
  835. deheader: remove "lstate.h" from ./liblua/lvm.c
  836. deheader: remove "lobject.h" from ./liblua/lvm.c
  837. deheader: remove "lfunc.h" from ./liblua/lvm.c
  838. deheader: remove "lua.h" from ./liblua/lvm.c
  839. deheader: remove <stdlib.h> from ./liblua/lvm.c
  840. deheader: remove "ltm.h" from ./liblua/lvm.c
  841. deheader: remove "lgc.h" from ./liblua/lvm.c
  842. deheader: remove <stdio.h> from ./liblua/lvm.c
  843. deheader: remove "lstring.h" from ./liblua/lvm.c
  844. deheader: remove "ldo.h" from ./liblua/lvm.c
  845. deheader: remove "ltm.h" from ./liblua/ltm.c
  846. deheader: remove "lstring.h" from ./liblua/ltm.c
  847. deheader: remove "lobject.h" from ./liblua/ltm.c
  848. deheader: remove <string.h> from ./liblua/ltm.c
  849. deheader: remove "ltable.h" from ./liblua/ltm.c
  850. deheader: remove "lua.h" from ./liblua/ltm.c
  851. deheader: remove "lstate.h" from ./liblua/ltm.c
  852. deheader: remove "lualib.h" from ./liblua/lbitlib.c
  853. deheader: remove "lua.h" from ./liblua/lbitlib.c
  854. deheader: remove <sys/types.h> from ./libdnet-stripped/src/strlcpy.c
  855. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/intf-win32.o libdnet-stripped/src/intf-win32.c
  856. libdnet-stripped/src/intf-win32.c:15:22: fatal error: iphlpapi.h: No such file or directory
  857. compilation terminated.
  858. deheader: basic compilation failed on ./libdnet-stripped/src/intf-win32.c
  859. make: *** [libdnet-stripped/src/intf-win32.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-common.o libpcap/pcap-common.c
  860. libpcap/pcap-common.c: In function ‘dlt_to_linktype’:
  861. libpcap/pcap-common.c:928:13: error: ‘DLT_MATCHING_MIN’ undeclared (first use in this function)
  862. libpcap/pcap-common.c:928:13: note: each undeclared identifier is reported only once for each function it appears in
  863. libpcap/pcap-common.c:928:40: error: ‘DLT_MATCHING_MAX’ undeclared (first use in this function)
  864. deheader: basic compilation failed on ./libpcap/pcap-common.c
  865. make: *** [libpcap/pcap-common.o] Error 1deheader: in ./payload.cc, isspace() portability requires <ctype.h>.
  866. deheader: in ./payload.cc, =\s*false portability requires <stdbool.h>.
  867. deheader: remove "nbase.h" from ./payload.cc
  868. deheader: remove <map> from ./payload.cc
  869. deheader: remove <errno.h> from ./payload.cc
  870. deheader: remove <string> from ./payload.cc
  871. deheader: remove "nmap.h" from ./payload.cc
  872. deheader: in ./charpool.cc, free() portability requires <stdlib.h>.
  873. deheader: remove "charpool.h" from ./charpool.cc
  874. deheader: remove <stddef.h> from ./charpool.cc
  875. deheader: remove "nbase.h" from ./charpool.cc
  876. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/arp-win32.o libdnet-stripped/src/arp-win32.c
  877. libdnet-stripped/src/arp-win32.c:15:22: fatal error: ws2tcpip.h: No such file or directory
  878. compilation terminated.
  879. deheader: basic compilation failed on ./libdnet-stripped/src/arp-win32.c
  880. make: *** [libdnet-stripped/src/arp-win32.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-enet.o libpcap/pcap-enet.c
  881. libpcap/pcap-enet.c:10:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  882. libpcap/pcap-enet.c:26:22: fatal error: net/enet.h: No such file or directory
  883. compilation terminated.
  884. deheader: basic compilation failed on ./libpcap/pcap-enet.c
  885. make: *** [libpcap/pcap-enet.o] Error 1deheader: in ./liblua/ldebug.c, =\s*true portability requires <stdbool.h>.
  886. deheader: remove "lvm.h" from ./liblua/ldebug.c
  887. deheader: remove "ltable.h" from ./liblua/ldebug.c
  888. deheader: remove "lstate.h" from ./liblua/ldebug.c
  889. deheader: remove "lobject.h" from ./liblua/ldebug.c
  890. deheader: remove "ldo.h" from ./liblua/ldebug.c
  891. deheader: remove "lcode.h" from ./liblua/ldebug.c
  892. deheader: remove "lua.h" from ./liblua/ldebug.c
  893. deheader: remove <stddef.h> from ./liblua/ldebug.c
  894. deheader: remove "ltm.h" from ./liblua/ldebug.c
  895. deheader: remove "lopcodes.h" from ./liblua/ldebug.c
  896. deheader: remove "lapi.h" from ./liblua/ldebug.c
  897. deheader: remove "lstring.h" from ./liblua/ldebug.c
  898. deheader: remove "lfunc.h" from ./liblua/ldebug.c
  899. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/bpf_image.o libpcap/bpf_image.c
  900. libpcap/bpf_image.c:23:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  901. deheader: basic compilation failed on ./libpcap/bpf_image.c
  902. make: *** [libpcap/bpf_image.o] Error 1deheader: in ./nbase/nbase_time.c, usleep() portability requires <unistd.h>.
  903. deheader: in ./nbase/nbase_time.c, gettimeofday() portability requires <sys/time.h>.
  904. deheader: remove <time.h> from ./nbase/nbase_time.c
  905. deheader: remove "nbase.h" from ./nbase/nbase_time.c
  906. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/fad-win32.o libpcap/fad-win32.c
  907. libpcap/fad-win32.c:35:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  908. libpcap/fad-win32.c:44:22: fatal error: pcap-int.h: No such file or directory
  909. compilation terminated.
  910. deheader: basic compilation failed on ./libpcap/fad-win32.c
  911. make: *** [libpcap/fad-win32.o] Error 1deheader: remove "lobject.h" from ./liblua/luac.c
  912. deheader: remove "lundump.h" from ./liblua/luac.c
  913. deheader: remove "lobject.h" from ./liblua/luac.c
  914. deheader: remove "lua.h" from ./liblua/luac.c
  915. deheader: remove "ldebug.h" from ./liblua/luac.c
  916. deheader: remove "lauxlib.h" from ./liblua/luac.c
  917. deheader: in ./libnetutil/FragmentHeader.cc, memset() portability requires <string.h>.
  918. deheader: in ./libnetutil/FragmentHeader.cc, fprintf() portability requires <stdio.h>.
  919. deheader: in ./libnetutil/FragmentHeader.cc, htonl() portability requires <arpa/inet.h>.
  920. deheader: remove <assert.h> from ./libnetutil/FragmentHeader.cc
  921. deheader: in ./nmap_tty.cc, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  922. deheader: in ./nmap_tty.cc, tcgetattr() portability requires <termios.h>.
  923. deheader: in ./nmap_tty.cc, getpid() portability requires <sys/types.h>,<unistd.h>.
  924. deheader: in ./nmap_tty.cc, FD_SET() portability requires <sys/time.h>.
  925. deheader: in ./nmap_tty.cc, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  926. deheader: in ./nmap_tty.cc, printf() portability requires <stdio.h>.
  927. deheader: remove "utils.h" from ./nmap_tty.cc
  928. deheader: remove "nmap.h" from ./nmap_tty.cc
  929. deheader: remove "nmap_tty.h" from ./nmap_tty.cc
  930. deheader: in ./portreasons.cc, free() portability requires <stdlib.h>.
  931. deheader: in ./portreasons.cc, =\s*true portability requires <stdbool.h>.
  932. deheader: in ./portreasons.cc, memset() portability requires <string.h>.
  933. deheader: remove <iostream> from ./portreasons.cc
  934. deheader: remove "portreasons.h" from ./portreasons.cc
  935. deheader: remove "portlist.h" from ./portreasons.cc
  936. deheader: remove "nmap.h" from ./portreasons.cc
  937. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/ncat_exec_win.o ncat/ncat_exec_win.c
  938. ncat/ncat_exec_win.c:129:5: error: unknown type name ‘HANDLE’
  939. ncat/ncat_exec_win.c:131:5: error: unknown type name ‘HANDLE’
  940. ncat/ncat_exec_win.c:132:5: error: unknown type name ‘HANDLE’
  941. ncat/ncat_exec_win.c:133:5: error: unknown type name ‘HANDLE’
  942. ncat/ncat_exec_win.c:134:5: error: unknown type name ‘HANDLE’
  943. ncat/ncat_exec_win.c:138:1: error: unknown type name ‘HANDLE’
  944. ncat/ncat_exec_win.c:142:1: error: unknown type name ‘HANDLE’
  945. ncat/ncat_exec_win.c:142:36: warning: initialization makes integer from pointer without a cast [enabled by default]
  946. ncat/ncat_exec_win.c:145:1: error: unknown type name ‘DWORD’
  947. ncat/ncat_exec_win.c:145:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘subprocess_thread_func’
  948. ncat/ncat_exec_win.c:147:32: error: unknown type name ‘HANDLE’
  949. ncat/ncat_exec_win.c:148:34: error: unknown type name ‘HANDLE’
  950. ncat/ncat_exec_win.c:161:1: error: unknown type name ‘HANDLE’
  951. ncat/ncat_exec_win.c:161:38: warning: initialization makes integer from pointer without a cast [enabled by default]
  952. ncat/ncat_exec_win.c: In function ‘netrun’:
  953. ncat/ncat_exec_win.c:168:5: error: unknown type name ‘HANDLE’
  954. ncat/ncat_exec_win.c:182:5: warning: implicit declaration of function ‘CreateThread’ [-Wimplicit-function-declaration]
  955. ncat/ncat_exec_win.c:182:36: error: ‘subprocess_thread_func’ undeclared (first use in this function)
  956. ncat/ncat_exec_win.c:182:36: note: each undeclared identifier is reported only once for each function it appears in
  957. ncat/ncat_exec_win.c:183:16: warning: comparison between pointer and integer [enabled by default]
  958. ncat/ncat_exec_win.c:185:13: warning: implicit declaration of function ‘GetLastError’ [-Wimplicit-function-declaration]
  959. ncat/ncat_exec_win.c:189:5: warning: implicit declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
  960. ncat/ncat_exec_win.c: In function ‘netexec’:
  961. ncat/ncat_exec_win.c:199:5: error: unknown type name ‘DWORD’
  962. ncat/ncat_exec_win.c:206:9: warning: implicit declaration of function ‘ExitProcess’ [-Wimplicit-function-declaration]
  963. ncat/ncat_exec_win.c:210:5: warning: implicit declaration of function ‘subprocess_thread_func’ [-Wimplicit-function-declaration]
  964. ncat/ncat_exec_win.c:199:11: warning: unused variable ‘ret’ [-Wunused-variable]
  965. ncat/ncat_exec_win.c: In function ‘set_pseudo_sigchld_handler’:
  966. ncat/ncat_exec_win.c:217:5: error: unknown type name ‘DWORD’
  967. ncat/ncat_exec_win.c:219:30: warning: comparison between pointer and integer [enabled by default]
  968. ncat/ncat_exec_win.c:220:9: warning: implicit declaration of function ‘CreateMutex’ [-Wimplicit-function-declaration]
  969. ncat/ncat_exec_win.c:220:50: error: ‘FALSE’ undeclared (first use in this function)
  970. ncat/ncat_exec_win.c:221:9: warning: comparison between pointer and integer [enabled by default]
  971. ncat/ncat_exec_win.c:223:5: warning: implicit declaration of function ‘WaitForSingleObject’ [-Wimplicit-function-declaration]
  972. ncat/ncat_exec_win.c:223:52: error: ‘INFINITE’ undeclared (first use in this function)
  973. ncat/ncat_exec_win.c:224:5: error: ‘WAIT_OBJECT_0’ undeclared (first use in this function)
  974. ncat/ncat_exec_win.c:226:5: warning: implicit declaration of function ‘ReleaseMutex’ [-Wimplicit-function-declaration]
  975. ncat/ncat_exec_win.c: In function ‘setenv_portable’:
  976. ncat/ncat_exec_win.c:241:5: warning: implicit declaration of function ‘_putenv’ [-Wimplicit-function-declaration]
  977. ncat/ncat_exec_win.c: In function ‘run_command_redirected’:
  978. ncat/ncat_exec_win.c:254:5: error: unknown type name ‘SECURITY_ATTRIBUTES’
  979. ncat/ncat_exec_win.c:255:5: error: unknown type name ‘STARTUPINFO’
  980. ncat/ncat_exec_win.c:256:5: error: unknown type name ‘PROCESS_INFORMATION’
  981. ncat/ncat_exec_win.c:261:7: error: request for member ‘nLength’ in something not a structure or union
  982. ncat/ncat_exec_win.c:262:7: error: request for member ‘bInheritHandle’ in something not a structure or union
  983. ncat/ncat_exec_win.c:262:25: error: ‘TRUE’ undeclared (first use in this function)
  984. ncat/ncat_exec_win.c:263:7: error: request for member ‘lpSecurityDescriptor’ in something not a structure or union
  985. ncat/ncat_exec_win.c:266:5: warning: implicit declaration of function ‘CreatePipe’ [-Wimplicit-function-declaration]
  986. ncat/ncat_exec_win.c:274:9: warning: implicit declaration of function ‘GetCurrentProcessId’ [-Wimplicit-function-declaration]
  987. ncat/ncat_exec_win.c:280:5: warning: implicit declaration of function ‘CreateNamedPipe’ [-Wimplicit-function-declaration]
  988. ncat/ncat_exec_win.c:281:9: error: ‘PIPE_ACCESS_INBOUND’ undeclared (first use in this function)
  989. ncat/ncat_exec_win.c:281:31: error: ‘FILE_FLAG_OVERLAPPED’ undeclared (first use in this function)
  990. ncat/ncat_exec_win.c:282:9: error: ‘PIPE_TYPE_BYTE’ undeclared (first use in this function)
  991. ncat/ncat_exec_win.c:290:5: warning: implicit declaration of function ‘CreateFile’ [-Wimplicit-function-declaration]
  992. ncat/ncat_exec_win.c:291:9: error: ‘GENERIC_WRITE’ undeclared (first use in this function)
  993. ncat/ncat_exec_win.c:291:32: error: ‘OPEN_EXISTING’ undeclared (first use in this function)
  994. ncat/ncat_exec_win.c:292:9: error: ‘FILE_ATTRIBUTE_NORMAL’ undeclared (first use in this function)
  995. ncat/ncat_exec_win.c:302:5: warning: implicit declaration of function ‘SetHandleInformation’ [-Wimplicit-function-declaration]
  996. ncat/ncat_exec_win.c:302:44: error: ‘HANDLE_FLAG_INHERIT’ undeclared (first use in this function)
  997. ncat/ncat_exec_win.c:306:7: error: request for member ‘cb’ in something not a structure or union
  998. ncat/ncat_exec_win.c:307:7: error: request for member ‘hStdInput’ in something not a structure or union
  999. ncat/ncat_exec_win.c:308:7: error: request for member ‘hStdOutput’ in something not a structure or union
  1000. ncat/ncat_exec_win.c:309:7: error: request for member ‘hStdError’ in something not a structure or union
  1001. ncat/ncat_exec_win.c:309:5: warning: implicit declaration of function ‘GetStdHandle’ [-Wimplicit-function-declaration]
  1002. ncat/ncat_exec_win.c:309:33: error: ‘STD_ERROR_HANDLE’ undeclared (first use in this function)
  1003. ncat/ncat_exec_win.c:310:7: error: request for member ‘dwFlags’ in something not a structure or union
  1004. ncat/ncat_exec_win.c:310:19: error: ‘STARTF_USESTDHANDLES’ undeclared (first use in this function)
  1005. ncat/ncat_exec_win.c:314:5: warning: implicit declaration of function ‘CreateProcess’ [-Wimplicit-function-declaration]
  1006. ncat/ncat_exec_win.c:326:19: error: request for member ‘hThread’ in something not a structure or union
  1007. ncat/ncat_exec_win.c:328:20: error: request for member ‘hProcess’ in something not a structure or union
  1008. ncat/ncat_exec_win.c:330:14: error: request for member ‘dwProcessId’ in something not a structure or union
  1009. ncat/ncat_exec_win.c: In function ‘subprocess_info_close’:
  1010. ncat/ncat_exec_win.c:352:5: warning: implicit declaration of function ‘closesocket’ [-Wimplicit-function-declaration]
  1011. ncat/ncat_exec_win.c: In function ‘start_subprocess’:
  1012. ncat/ncat_exec_win.c:418:5: warning: implicit declaration of function ‘register_subprocess’ [-Wimplicit-function-declaration]
  1013. ncat/ncat_exec_win.c:421:9: warning: implicit declaration of function ‘TerminateProcess’ [-Wimplicit-function-declaration]
  1014. ncat/ncat_exec_win.c: At top level:
  1015. ncat/ncat_exec_win.c:443:1: error: unknown type name ‘DWORD’
  1016. ncat/ncat_exec_win.c:443:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘subprocess_thread_func’
  1017. ncat/ncat_exec_win.c: In function ‘get_subprocess_slot’:
  1018. ncat/ncat_exec_win.c:570:5: error: unknown type name ‘DWORD’
  1019. ncat/ncat_exec_win.c:572:50: error: ‘INFINITE’ undeclared (first use in this function)
  1020. ncat/ncat_exec_win.c:573:5: error: ‘WAIT_OBJECT_0’ undeclared (first use in this function)
  1021. ncat/ncat_exec_win.c:578:9: error: unknown type name ‘HANDLE’
  1022. ncat/ncat_exec_win.c:580:18: warning: comparison between pointer and integer [enabled by default]
  1023. ncat/ncat_exec_win.c: At top level:
  1024. ncat/ncat_exec_win.c:602:32: error: unknown type name ‘HANDLE’
  1025. ncat/ncat_exec_win.c:646:34: error: unknown type name ‘HANDLE’
  1026. ncat/ncat_exec_win.c: In function ‘terminate_subprocesses’:
  1027. ncat/ncat_exec_win.c:675:5: error: unknown type name ‘DWORD’
  1028. ncat/ncat_exec_win.c:680:50: error: ‘INFINITE’ undeclared (first use in this function)
  1029. ncat/ncat_exec_win.c:681:5: error: ‘WAIT_OBJECT_0’ undeclared (first use in this function)
  1030. ncat/ncat_exec_win.c:686:9: error: unknown type name ‘HANDLE’
  1031. ncat/ncat_exec_win.c:687:9: error: unknown type name ‘DWORD’
  1032. ncat/ncat_exec_win.c:689:18: warning: comparison between pointer and integer [enabled by default]
  1033. ncat/ncat_exec_win.c:691:9: warning: implicit declaration of function ‘GetExitCodeProcess’ [-Wimplicit-function-declaration]
  1034. ncat/ncat_exec_win.c:692:20: error: ‘STILL_ACTIVE’ undeclared (first use in this function)
  1035. ncat/ncat_exec_win.c:697:25: warning: assignment makes integer from pointer without a cast [enabled by default]
  1036. ncat/ncat_exec_win.c: At top level:
  1037. ncat/ncat_exec_win.c:567:12: warning: ‘get_subprocess_slot’ defined but not used [-Wunused-function]
  1038. ncat/ncat_exec_win.c:152:12: warning: ‘atexit_registered’ defined but not used [-Wunused-variable]
  1039. ncat/ncat_exec_win.c:704:13: warning: ‘sigint_handler’ defined but not used [-Wunused-function]
  1040. ncat/ncat_exec_win.c: In function ‘run_command_redirected’:
  1041. ncat/ncat_exec_win.c:331:1: warning: control reaches end of non-void function [-Wreturn-type]
  1042. deheader: basic compilation failed on ./ncat/ncat_exec_win.c
  1043. make: *** [ncat/ncat_exec_win.o] Error 1deheader: in ./nbase/inet_ntop.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1044. deheader: in ./nbase/inet_ntop.c, <arpa/inet.h> portability requires <netinet/in.h>.
  1045. deheader: in ./nbase/inet_ntop.c, inet_ntoa() portability requires <arpa/inet.h>.
  1046. deheader: remove <stdio.h> from ./nbase/inet_ntop.c
  1047. deheader: in ./nse_fs.cc, mkdir() portability requires <sys/types.h>,<sys/stat.h>.
  1048. deheader: in ./nse_fs.cc, rmdir() portability requires <unistd.h>.
  1049. deheader: in ./nse_fs.cc, readdir() portability requires <sys/types.h>,<dirent.h>.
  1050. deheader: in ./nse_fs.cc, sprintf() portability requires <stdio.h>.
  1051. deheader: remove <string> from ./nse_fs.cc
  1052. deheader: remove <errno.h> from ./nse_fs.cc
  1053. deheader: remove "nmap_error.h" from ./nse_fs.cc
  1054. deheader: remove "nse_fs.h" from ./nse_fs.cc
  1055. deheader: remove "NmapOps.h" from ./nse_fs.cc
  1056. deheader: remove "nmap.h" from ./nse_fs.cc
  1057. deheader: remove "nse_utility.h" from ./nse_fs.cc
  1058. deheader: in ./nping/ProbeMode.cc, =\s*false portability requires <stdbool.h>.
  1059. deheader: in ./nping/ProbeMode.cc, gettimeofday() portability requires <sys/time.h>.
  1060. deheader: in ./nping/ProbeMode.cc, memset() portability requires <string.h>.
  1061. deheader: in ./nping/ProbeMode.cc, rewind() portability requires <stdio.h>.
  1062. deheader: in ./nping/ProbeMode.cc, close() portability requires <unistd.h>.
  1063. deheader: in ./nping/ProbeMode.cc, sendto() portability requires <sys/socket.h>.
  1064. deheader: in ./nping/ProbeMode.cc, ntohs() portability requires <arpa/inet.h>.
  1065. deheader: in ./nping/ProbeMode.cc, free() portability requires <stdlib.h>.
  1066. deheader: in ./nping/ProbeMode.cc, signal() portability requires <signal.h>.
  1067. deheader: remove "nsock.h" from ./nping/ProbeMode.cc
  1068. deheader: remove "nping.h" from ./nping/ProbeMode.cc
  1069. deheader: remove <vector> from ./nping/ProbeMode.cc
  1070. deheader: in ./libdnet-stripped/src/ip-util.c, ntohs() portability requires <arpa/inet.h>.
  1071. deheader: remove "crc32ct.h" from ./libdnet-stripped/src/ip-util.c
  1072. deheader: remove <stdlib.h> from ./libdnet-stripped/src/ip-util.c
  1073. deheader: in ./libnetutil/TCPHeader.cc, memset() portability requires <string.h>.
  1074. deheader: in ./libnetutil/TCPHeader.cc, fprintf() portability requires <stdio.h>.
  1075. deheader: in ./libnetutil/TCPHeader.cc, ntohs() portability requires <arpa/inet.h>.
  1076. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/getnetbynm.o libpcap/Win32/Src/getnetbynm.c
  1077. libpcap/Win32/Src/getnetbynm.c:22:25: fatal error: inetprivate.h: No such file or directory
  1078. compilation terminated.
  1079. deheader: basic compilation failed on ./libpcap/Win32/Src/getnetbynm.c
  1080. make: *** [libpcap/Win32/Src/getnetbynm.o] Error 1deheader: remove "common.h" from ./nping/common.cc
  1081. deheader: remove "nping.h" from ./nping/common.cc
  1082. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-septel.o libpcap/pcap-septel.c
  1083. libpcap/pcap-septel.c:18:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1084. libpcap/pcap-septel.c: In function ‘septel_read’:
  1085. libpcap/pcap-septel.c:69:3: error: unknown type name ‘HDR’
  1086. libpcap/pcap-septel.c:70:3: error: unknown type name ‘MSG’
  1087. libpcap/pcap-septel.c:109:7: warning: implicit declaration of function ‘GCT_grab’ [-Wimplicit-function-declaration]
  1088. libpcap/pcap-septel.c:109:9: warning: assignment makes pointer from integer without a cast [enabled by default]
  1089. libpcap/pcap-septel.c:111:12: error: ‘MSG’ undeclared (first use in this function)
  1090. libpcap/pcap-septel.c:111:12: note: each undeclared identifier is reported only once for each function it appears in
  1091. libpcap/pcap-septel.c:111:16: error: expected expression before ‘)’ token
  1092. libpcap/pcap-septel.c:122:12: error: request for member ‘type’ in something not a structure or union
  1093. libpcap/pcap-septel.c:128:9: warning: implicit declaration of function ‘relm’ [-Wimplicit-function-declaration]
  1094. libpcap/pcap-septel.c:133:7: warning: implicit declaration of function ‘get_param’ [-Wimplicit-function-declaration]
  1095. libpcap/pcap-septel.c:133:10: warning: assignment makes pointer from integer without a cast [enabled by default]
  1096. libpcap/pcap-septel.c:134:21: error: request for member ‘len’ in something not a structure or union
  1097. libpcap/pcap-septel.c: At top level:
  1098. libpcap/pcap-septel.c:188:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  1099. libpcap/pcap-septel.c: In function ‘septel_activate’:
  1100. libpcap/pcap-septel.c:214:23: error: ‘septel_inject’ undeclared (first use in this function)
  1101. libpcap/pcap-septel.c: In function ‘septel_create’:
  1102. libpcap/pcap-septel.c:231:17: warning: assignment from incompatible pointer type [enabled by default]
  1103. libpcap/pcap-septel.c: In function ‘septel_platform_finddevs’:
  1104. libpcap/pcap-septel.c:248:16: warning: unused variable ‘p’ [-Wunused-variable]
  1105. deheader: basic compilation failed on ./libpcap/pcap-septel.c
  1106. make: *** [libpcap/pcap-septel.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_compile.o libpcre/pcre_compile.c
  1107. In file included from libpcre/pcre_compile.c:56:0:
  1108. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1109. libpcre/pcre_compile.c: In function ‘first_significant_code’:
  1110. libpcre/pcre_compile.c:1095:5: warning: implicit declaration of function ‘GET’ [-Wimplicit-function-declaration]
  1111. libpcre/pcre_compile.c: In function ‘find_fixedlength’:
  1112. libpcre/pcre_compile.c:1143:34: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1113. libpcre/pcre_compile.c:1143:34: note: each undeclared identifier is reported only once for each function it appears in
  1114. libpcre/pcre_compile.c: In function ‘find_bracket’:
  1115. libpcre/pcre_compile.c:1344:13: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1116. libpcre/pcre_compile.c: In function ‘adjust_recurse’:
  1117. libpcre/pcre_compile.c:1866:43: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1118. libpcre/pcre_compile.c:1871:7: warning: implicit declaration of function ‘PUT’ [-Wimplicit-function-declaration]
  1119. libpcre/pcre_compile.c: In function ‘auto_callout’:
  1120. libpcre/pcre_compile.c:1912:11: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1121. libpcre/pcre_compile.c: In function ‘complete_callout’:
  1122. libpcre/pcre_compile.c:1938:27: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1123. libpcre/pcre_compile.c: In function ‘compile_branch’:
  1124. libpcre/pcre_compile.c:3798:44: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1125. libpcre/pcre_compile.c:4506:36: error: ‘MAX_NAME_COUNT’ undeclared (first use in this function)
  1126. libpcre/pcre_compile.c:4514:29: error: ‘MAX_NAME_SIZE’ undeclared (first use in this function)
  1127. libpcre/pcre_compile.c:4733:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  1128. libpcre/pcre_compile.c:4992:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  1129. libpcre/pcre_compile.c:4994:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  1130. libpcre/pcre_compile.c: In function ‘compile_regex’:
  1131. libpcre/pcre_compile.c:5323:16: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1132. libpcre/pcre_compile.c: In function ‘is_anchored’:
  1133. libpcre/pcre_compile.c:5591:14: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1134. libpcre/pcre_compile.c: In function ‘is_startline’:
  1135. libpcre/pcre_compile.c:5667:14: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1136. libpcre/pcre_compile.c: In function ‘find_firstassertedchar’:
  1137. libpcre/pcre_compile.c:5726:38: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1138. libpcre/pcre_compile.c: In function ‘pcre_compile2’:
  1139. libpcre/pcre_compile.c:5934:21: error: ‘NEWLINE’ undeclared (first use in this function)
  1140. libpcre/pcre_compile.c:6017:14: error: ‘MAX_PATTERN_SIZE’ undeclared (first use in this function)
  1141. libpcre/pcre_compile.c:6108:14: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1142. libpcre/pcre_compile.c: In function ‘auto_callout’:
  1143. libpcre/pcre_compile.c:1914:1: warning: control reaches end of non-void function [-Wreturn-type]
  1144. deheader: basic compilation failed on ./libpcre/pcre_compile.c
  1145. make: *** [libpcre/pcre_compile.o] Error 1deheader: remove "lzio.h" from ./liblua/ldo.c
  1146. deheader: remove "lundump.h" from ./liblua/ldo.c
  1147. deheader: remove "ltable.h" from ./liblua/ldo.c
  1148. deheader: remove "lstate.h" from ./liblua/ldo.c
  1149. deheader: remove "lobject.h" from ./liblua/ldo.c
  1150. deheader: remove "lgc.h" from ./liblua/ldo.c
  1151. deheader: remove "ldo.h" from ./liblua/ldo.c
  1152. deheader: remove "lapi.h" from ./liblua/ldo.c
  1153. deheader: remove "lvm.h" from ./liblua/ldo.c
  1154. deheader: remove "lstring.h" from ./liblua/ldo.c
  1155. deheader: remove "lmem.h" from ./liblua/ldo.c
  1156. deheader: remove "ldebug.h" from ./liblua/ldo.c
  1157. deheader: remove "ltm.h" from ./liblua/ldo.c
  1158. deheader: remove "lfunc.h" from ./liblua/ldo.c
  1159. deheader: remove "lua.h" from ./liblua/ldo.c
  1160. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/missing/snprintf.o libpcap/missing/snprintf.c
  1161. libpcap/missing/snprintf.c:41:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1162. libpcap/missing/snprintf.c:52:22: fatal error: pcap-int.h: No such file or directory
  1163. compilation terminated.
  1164. deheader: basic compilation failed on ./libpcap/missing/snprintf.c
  1165. make: *** [libpcap/missing/snprintf.o] Error 1deheader: in ./portlist.cc, free() portability requires <stdlib.h>.
  1166. deheader: in ./portlist.cc, strcmp() portability requires <string.h>.
  1167. deheader: remove "tcpip.h" from ./portlist.cc
  1168. deheader: remove "portlist.h" from ./portlist.cc
  1169. deheader: remove "nmap.h" from ./portlist.cc
  1170. deheader: in ./libnetutil/HopByHopHeader.cc, memset() portability requires <string.h>.
  1171. deheader: in ./libnetutil/HopByHopHeader.cc, fprintf() portability requires <stdio.h>.
  1172. deheader: remove "NetworkLayerElement.h" from ./libnetutil/NetworkLayerElement.cc
  1173. deheader: remove "nbase.h" from ./ncat/base64.c
  1174. deheader: remove "base64.h" from ./ncat/base64.c
  1175. deheader: remove <stdlib.h> from ./libdnet-stripped/src/arp-none.c
  1176. deheader: remove <sys/types.h> from ./libdnet-stripped/src/arp-none.c
  1177. deheader: remove <stdio.h> from ./libdnet-stripped/src/arp-none.c
  1178. deheader: remove "config.h" from ./libdnet-stripped/src/arp-none.c
  1179. deheader: in ./nsock/tests/ghlists.c, calloc() portability requires <stdlib.h>.
  1180. deheader: in ./nsock/tests/ghlists.c, fprintf() portability requires <stdio.h>.
  1181. deheader: remove <time.h> from ./nsock/tests/ghlists.c
  1182. deheader: remove <stdint.h> from ./nsock/tests/ghlists.c
  1183. deheader: in ./liblua/lauxlib.c, WEXITSTATUS() portability requires <sys/types.h>,<sys/wait.h>.
  1184. deheader: in ./liblua/lauxlib.c, realloc() portability requires <unistd.h>.
  1185. deheader: remove "lua.h" from ./liblua/lauxlib.c
  1186. deheader: in ./nsock/src/netutils.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1187. deheader: in ./nsock/src/netutils.c, getrlimit() portability requires <sys/resource.h>.
  1188. deheader: in ./nsock/src/netutils.c, perror() portability requires <stdio.h>.
  1189. deheader: in ./nsock/src/netutils.c, ntohs() portability requires <arpa/inet.h>.
  1190. deheader: remove "error.h" from ./nsock/src/netutils.c
  1191. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o nmap-update/svn_auth.o nmap-update/svn_auth.c
  1192. nmap-update/svn_auth.c:46:24: fatal error: svn_client.h: No such file or directory
  1193. compilation terminated.
  1194. deheader: basic compilation failed on ./nmap-update/svn_auth.c
  1195. make: *** [nmap-update/svn_auth.o] Error 1deheader: in ./ncat/ncat_listen.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1196. deheader: in ./ncat/ncat_listen.c, <arpa/inet.h> portability requires <netinet/in.h>.
  1197. deheader: in ./ncat/ncat_listen.c, shutdown() portability requires <sys/socket.h>.
  1198. deheader: in ./ncat/ncat_listen.c, waitpid() portability requires <sys/types.h>,<sys/wait.h>.
  1199. deheader: in ./ncat/ncat_listen.c, FD_ZERO() portability requires <sys/time.h>.
  1200. deheader: in ./ncat/ncat_listen.c, close() portability requires <unistd.h>.
  1201. deheader: in ./ncat/ncat_listen.c, isprint() portability requires <ctype.h>.
  1202. deheader: remove <limits.h> from ./ncat/ncat_listen.c
  1203. deheader: remove <stdio.h> from ./ncat/ncat_listen.c
  1204. deheader: remove <errno.h> from ./ncat/ncat_listen.c
  1205. deheader: remove <signal.h> from ./ncat/ncat_listen.c
  1206. deheader: in ./nsock/src/engine_kqueue.c, close() portability requires <unistd.h>.
  1207. deheader: in ./nsock/src/engine_kqueue.c, free() portability requires <stdlib.h>.
  1208. deheader: in ./nsock/src/engine_kqueue.c, strerror() portability requires <string.h>.
  1209. deheader: in ./nsock/src/engine_kqueue.c, select() portability requires <sys/time.h>.
  1210. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/getnetent.o libpcap/Win32/Src/getnetent.c
  1211. libpcap/Win32/Src/getnetent.c:22:25: fatal error: inetprivate.h: No such file or directory
  1212. compilation terminated.
  1213. deheader: basic compilation failed on ./libpcap/Win32/Src/getnetent.c
  1214. make: *** [libpcap/Win32/Src/getnetent.o] Error 1deheader: in ./libnetutil/ICMPv4Header.cc, memset() portability requires <string.h>.
  1215. deheader: in ./libnetutil/ICMPv4Header.cc, fprintf() portability requires <stdio.h>.
  1216. deheader: in ./libnetutil/ICMPv4Header.cc, ntohs() portability requires <arpa/inet.h>.
  1217. deheader: in ./libdnet-stripped/src/tun-linux.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1218. deheader: in ./libdnet-stripped/src/tun-linux.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1219. deheader: remove <stdio.h> from ./libdnet-stripped/src/tun-linux.c
  1220. deheader: remove "config.h" from ./libdnet-stripped/src/tun-linux.c
  1221. deheader: remove "nbase.h" from ./nbase/snprintf.c
  1222. deheader: remove <sys/types.h> from ./nbase/snprintf.c
  1223. deheader: in ./libpcap/pcap-can-linux.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1224. deheader: in ./libpcap/pcap-can-linux.c, <arpa/inet.h> portability requires <netinet/in.h>.
  1225. deheader: in ./libpcap/pcap-can-linux.c, snprintf() portability requires <stdio.h>.
  1226. deheader: in ./libpcap/pcap-can-linux.c, gettimeofday() portability requires <sys/time.h>.
  1227. deheader: remove <linux/can/raw.h> from ./libpcap/pcap-can-linux.c
  1228. deheader: remove <fcntl.h> from ./libpcap/pcap-can-linux.c
  1229. deheader: remove "pcap-can-linux.h" from ./libpcap/pcap-can-linux.c
  1230. deheader: remove <linux/can.h> from ./libpcap/pcap-can-linux.c
  1231. deheader: remove <unistd.h> from ./libpcap/pcap-can-linux.c
  1232. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-bsd.o libdnet-stripped/src/eth-bsd.c
  1233. libdnet-stripped/src/eth-bsd.c:21:21: fatal error: net/bpf.h: No such file or directory
  1234. compilation terminated.
  1235. deheader: basic compilation failed on ./libdnet-stripped/src/eth-bsd.c
  1236. make: *** [libdnet-stripped/src/eth-bsd.o] Error 1deheader: in ./libdnet-stripped/src/route-linux.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1237. deheader: in ./libdnet-stripped/src/route-linux.c, htonl() portability requires <arpa/inet.h>.
  1238. deheader: remove <ctype.h> from ./libdnet-stripped/src/route-linux.c
  1239. deheader: remove <linux/netlink.h> from ./libdnet-stripped/src/route-linux.c
  1240. deheader: remove <asm/types.h> from ./libdnet-stripped/src/route-linux.c
  1241. deheader: remove "config.h" from ./libdnet-stripped/src/route-linux.c
  1242. deheader: remove <netinet/in.h> from ./libdnet-stripped/src/route-linux.c
  1243. deheader: remove <sys/uio.h> from ./libdnet-stripped/src/route-linux.c
  1244. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-dos.o libpcap/pcap-dos.c
  1245. libpcap/pcap-dos.c:17:16: fatal error: io.h: No such file or directory
  1246. compilation terminated.
  1247. deheader: basic compilation failed on ./libpcap/pcap-dos.c
  1248. make: *** [libpcap/pcap-dos.o] Error 1deheader: in ./liblua/loadlib.c, dlclose() portability requires <dlfcn.h>.
  1249. deheader: in ./liblua/loadlib.c, fopen() portability requires <stdio.h>.
  1250. deheader: in ./liblua/loadlib.c, =\s*true portability requires <stdbool.h>.
  1251. deheader: remove "lualib.h" from ./liblua/loadlib.c
  1252. deheader: remove "lua.h" from ./liblua/loadlib.c
  1253. deheader: in ./nping/nping.cc, rewind() portability requires <stdio.h>.
  1254. deheader: in ./nping/nping.cc, exit() portability requires <stdlib.h>.
  1255. deheader: remove "pcap.h" from ./nping/nping.cc
  1256. deheader: remove "common.h" from ./nping/nping.cc
  1257. deheader: remove "EchoHeader.h" from ./nping/nping.cc
  1258. deheader: remove "global_structures.h" from ./nping/nping.cc
  1259. deheader: remove "utils_net.h" from ./nping/nping.cc
  1260. deheader: remove "nping.h" from ./nping/nping.cc
  1261. deheader: remove "dnet.h" from ./nping/nping.cc
  1262. deheader: remove "nsock.h" from ./nping/nping.cc
  1263. deheader: remove "ProbeMode.h" from ./nping/nping.cc
  1264. deheader: remove "utils.h" from ./nping/nping.cc
  1265. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o nbase/test/test-escape_windows_command_arg.o nbase/test/test-escape_windows_command_arg.c
  1266. nbase/test/test-escape_windows_command_arg.c:17:22: fatal error: shellapi.h: No such file or directory
  1267. compilation terminated.
  1268. deheader: basic compilation failed on ./nbase/test/test-escape_windows_command_arg.c
  1269. make: *** [nbase/test/test-escape_windows_command_arg.o] Error 1deheader: in ./MACLookup.cc, fopen() portability requires <stdio.h>.
  1270. deheader: in ./MACLookup.cc, isxdigit() portability requires <ctype.h>.
  1271. deheader: in ./MACLookup.cc, strtol() portability requires <stdlib.h>.
  1272. deheader: remove "MACLookup.h" from ./MACLookup.cc
  1273. deheader: remove "nmap.h" from ./MACLookup.cc
  1274. deheader: remove <map> from ./MACLookup.cc
  1275. deheader: in ./liblinear/linear.cpp, =\s*true portability requires <stdbool.h>.
  1276. deheader: in ./liblinear/linear.cpp, realloc() portability requires <unistd.h>.
  1277. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_try_flipped.o libpcre/pcre_try_flipped.c
  1278. In file included from libpcre/pcre_try_flipped.c:52:0:
  1279. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1280. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  1281. deheader: basic compilation failed on ./libpcre/pcre_try_flipped.c
  1282. make: *** [libpcre/pcre_try_flipped.o] Error 1deheader: in ./libnetutil/TransportLayerElement.cc, memcpy() portability requires <string.h>.
  1283. deheader: in ./libnetutil/TransportLayerElement.cc, free() portability requires <stdlib.h>.
  1284. deheader: in ./nping/NEPContext.cc, memset() portability requires <string.h>.
  1285. deheader: in ./nping/NEPContext.cc, =\s*false portability requires <stdbool.h>.
  1286. deheader: remove "nbase.h" from ./nping/NEPContext.cc
  1287. deheader: remove "nping.h" from ./nping/NEPContext.cc
  1288. deheader: remove "EchoHeader.h" from ./nping/NEPContext.cc
  1289. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap.o libpcap/pcap.c
  1290. libpcap/pcap.c:35:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1291. libpcap/pcap.c:102:31: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  1292. libpcap/pcap.c: In function ‘pcap_create_common’:
  1293. libpcap/pcap.c:303:24: error: ‘pcap_cant_set_rfmon’ undeclared (first use in this function)
  1294. libpcap/pcap.c:303:24: note: each undeclared identifier is reported only once for each function it appears in
  1295. libpcap/pcap.c: In function ‘pcap_set_tstamp_type’:
  1296. libpcap/pcap.c:376:11: error: ‘PCAP_ERROR_CANTSET_TSTAMP_TYPE’ undeclared (first use in this function)
  1297. libpcap/pcap.c:395:10: error: ‘PCAP_WARNING_TSTAMP_TYPE_NOTSUP’ undeclared (first use in this function)
  1298. libpcap/pcap.c: In function ‘pcap_open_live’:
  1299. libpcap/pcap.c:484:16: error: ‘PCAP_ERROR_PROMISC_PERM_DENIED’ undeclared (first use in this function)
  1300. libpcap/pcap.c: At top level:
  1301. libpcap/pcap.c:858:2: error: ‘DLT_IEEE802_15_4_NOFCS’ undeclared here (not in a function)
  1302. libpcap/pcap.c:859:2: error: ‘DLT_JUNIPER_VS’ undeclared here (not in a function)
  1303. libpcap/pcap.c:860:2: error: ‘DLT_JUNIPER_SRX_E2E’ undeclared here (not in a function)
  1304. libpcap/pcap.c:861:2: error: ‘DLT_JUNIPER_FIBRECHANNEL’ undeclared here (not in a function)
  1305. libpcap/pcap.c:862:2: error: ‘DLT_DVB_CI’ undeclared here (not in a function)
  1306. libpcap/pcap.c:863:2: error: ‘DLT_JUNIPER_ATM_CEMIC’ undeclared here (not in a function)
  1307. libpcap/pcap.c:864:2: error: ‘DLT_NFLOG’ undeclared here (not in a function)
  1308. libpcap/pcap.c:865:2: error: ‘DLT_NETANALYZER’ undeclared here (not in a function)
  1309. libpcap/pcap.c:866:2: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared here (not in a function)
  1310. libpcap/pcap.c:867:2: error: ‘DLT_IPOIB’ undeclared here (not in a function)
  1311. libpcap/pcap.c:915:20: error: ‘PCAP_TSTAMP_HOST’ undeclared here (not in a function)
  1312. libpcap/pcap.c:915:2: error: initializer element is not constant
  1313. libpcap/pcap.c:915:2: error: (near initialization for ‘tstamp_type_choices[0].type’)
  1314. libpcap/pcap.c:916:43: error: ‘PCAP_TSTAMP_HOST_LOWPREC’ undeclared here (not in a function)
  1315. libpcap/pcap.c:916:2: error: initializer element is not constant
  1316. libpcap/pcap.c:916:2: error: (near initialization for ‘tstamp_type_choices[1].type’)
  1317. libpcap/pcap.c:917:43: error: ‘PCAP_TSTAMP_HOST_HIPREC’ undeclared here (not in a function)
  1318. libpcap/pcap.c:917:2: error: initializer element is not constant
  1319. libpcap/pcap.c:917:2: error: (near initialization for ‘tstamp_type_choices[2].type’)
  1320. libpcap/pcap.c:918:26: error: ‘PCAP_TSTAMP_ADAPTER’ undeclared here (not in a function)
  1321. libpcap/pcap.c:918:2: error: initializer element is not constant
  1322. libpcap/pcap.c:918:2: error: (near initialization for ‘tstamp_type_choices[3].type’)
  1323. libpcap/pcap.c:919:64: error: ‘PCAP_TSTAMP_ADAPTER_UNSYNCED’ undeclared here (not in a function)
  1324. libpcap/pcap.c:919:2: error: initializer element is not constant
  1325. libpcap/pcap.c:919:2: error: (near initialization for ‘tstamp_type_choices[4].type’)
  1326. libpcap/pcap.c: In function ‘pcap_statustostr’:
  1327. libpcap/pcap.c:1137:7: error: ‘PCAP_WARNING_TSTAMP_TYPE_NOTSUP’ undeclared (first use in this function)
  1328. libpcap/pcap.c:1170:7: error: ‘PCAP_ERROR_CANTSET_TSTAMP_TYPE’ undeclared (first use in this function)
  1329. libpcap/pcap.c:1173:7: error: ‘PCAP_ERROR_PROMISC_PERM_DENIED’ undeclared (first use in this function)
  1330. libpcap/pcap.c: At top level:
  1331. libpcap/pcap.c:1230:49: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  1332. libpcap/pcap.c:1399:29: error: expected ‘;’, ‘,’ or ‘)’ before ‘_U_’
  1333. libpcap/pcap.c: In function ‘pcap_open_dead’:
  1334. libpcap/pcap.c:1415:16: error: ‘pcap_stats_dead’ undeclared (first use in this function)
  1335. libpcap/pcap.c:1415:14: warning: assignment from incompatible pointer type [enabled by default]
  1336. libpcap/pcap.c:1421:18: error: ‘pcap_cleanup_dead’ undeclared (first use in this function)
  1337. libpcap/pcap.c:1421:16: warning: assignment from incompatible pointer type [enabled by default]
  1338. libpcap/pcap.c: In function ‘pcap_set_tstamp_type’:
  1339. libpcap/pcap.c:396:1: warning: control reaches end of non-void function [-Wreturn-type]
  1340. deheader: basic compilation failed on ./libpcap/pcap.c
  1341. make: *** [libpcap/pcap.o] Error 1deheader: in ./ncat/util.c, bzero() portability requires <strings.h>.
  1342. deheader: in ./ncat/util.c, ntohl() portability requires <arpa/inet.h>.
  1343. deheader: in ./ncat/util.c, gethostname() portability requires <unistd.h>.
  1344. deheader: in ./ncat/util.c, setsockopt() portability requires <sys/socket.h>.
  1345. deheader: in ./ncat/util.c, select() portability requires <sys/time.h>.
  1346. deheader: remove "sockaddr_u.h" from ./ncat/util.c
  1347. deheader: remove "util.h" from ./ncat/util.c
  1348. deheader: remove "nbase.h" from ./ncat/util.c
  1349. deheader: remove "sys_wrap.h" from ./ncat/util.c
  1350. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/test/addrset.o ncat/test/addrset.c
  1351. ncat/test/addrset.c:23:23: fatal error: ncat_core.h: No such file or directory
  1352. compilation terminated.
  1353. deheader: basic compilation failed on ./ncat/test/addrset.c
  1354. make: *** [ncat/test/addrset.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/sf-pcap.o libpcap/sf-pcap.c
  1355. libpcap/sf-pcap.c:32:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1356. deheader: basic compilation failed on ./libpcap/sf-pcap.c
  1357. make: *** [libpcap/sf-pcap.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_info.o libpcre/pcre_info.c
  1358. In file included from libpcre/pcre_info.c:52:0:
  1359. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1360. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  1361. deheader: basic compilation failed on ./libpcre/pcre_info.c
  1362. make: *** [libpcre/pcre_info.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-nit.o libpcap/pcap-nit.c
  1363. libpcap/pcap-nit.c:22:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1364. libpcap/pcap-nit.c:38:21: fatal error: net/nit.h: No such file or directory
  1365. compilation terminated.
  1366. deheader: basic compilation failed on ./libpcap/pcap-nit.c
  1367. make: *** [libpcap/pcap-nit.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-pfilt.o libdnet-stripped/src/eth-pfilt.c
  1368. libdnet-stripped/src/eth-pfilt.c:18:23: fatal error: net/pfilt.h: No such file or directory
  1369. compilation terminated.
  1370. deheader: basic compilation failed on ./libdnet-stripped/src/eth-pfilt.c
  1371. make: *** [libdnet-stripped/src/eth-pfilt.o] Error 1deheader: in ./nbase/nbase_memalloc.c, va_start() portability requires <stdarg.h>.
  1372. deheader: in ./nbase/nbase_memalloc.c, exit() portability requires <stdlib.h>.
  1373. deheader: in ./nbase/nbase_memalloc.c, realloc() portability requires <unistd.h>.
  1374. deheader: remove "nbase.h" from ./nbase/nbase_memalloc.c
  1375. deheader: in ./libnetutil/ICMPv6RRBody.cc, memset() portability requires <string.h>.
  1376. deheader: in ./utils.cc, tolower() portability requires <ctype.h>.
  1377. deheader: in ./utils.cc, free() portability requires <stdlib.h>.
  1378. deheader: in ./utils.cc, strerror() portability requires <string.h>.
  1379. deheader: in ./utils.cc, sprintf() portability requires <stdio.h>.
  1380. deheader: in ./utils.cc, send() portability requires <sys/socket.h>.
  1381. deheader: in ./utils.cc, mmap() portability requires <sys/mman.h>.
  1382. deheader: in ./utils.cc, stat() portability requires <sys/types.h>,<sys/stat.h>.
  1383. deheader: in ./utils.cc, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1384. deheader: in ./utils.cc, close() portability requires <unistd.h>.
  1385. deheader: in ./utils.cc, time() portability requires <time.h>.
  1386. deheader: remove "nmap.h" from ./utils.cc
  1387. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/eth-win32.o libdnet-stripped/src/eth-win32.c
  1388. libdnet-stripped/src/eth-win32.c:23:22: fatal error: winsock2.h: No such file or directory
  1389. compilation terminated.
  1390. deheader: basic compilation failed on ./libdnet-stripped/src/eth-win32.c
  1391. make: *** [libdnet-stripped/src/eth-win32.o] Error 1deheader: remove "blas.h" from ./liblinear/blas/daxpy.c
  1392. deheader: in ./libnetutil/ICMPv6Header.cc, memset() portability requires <string.h>.
  1393. deheader: in ./libnetutil/ICMPv6Header.cc, fprintf() portability requires <stdio.h>.
  1394. deheader: in ./libnetutil/ICMPv6Header.cc, ntohs() portability requires <arpa/inet.h>.
  1395. deheader: in ./libnetutil/ICMPv6Header.cc, free() portability requires <stdlib.h>.
  1396. deheader: remove <assert.h> from ./libnetutil/ICMPv6Header.cc
  1397. deheader: in ./nping/EchoClient.cc, memset() portability requires <string.h>.
  1398. deheader: in ./nping/EchoClient.cc, connect() portability requires <sys/socket.h>.
  1399. deheader: in ./nping/EchoClient.cc, htons() portability requires <arpa/inet.h>.
  1400. deheader: in ./nping/EchoClient.cc, printf() portability requires <stdio.h>.
  1401. deheader: in ./nping/EchoClient.cc, free() portability requires <stdlib.h>.
  1402. deheader: in ./nping/EchoClient.cc, encrypt() portability requires <unistd.h>.
  1403. deheader: in ./nping/EchoClient.cc, signal() portability requires <signal.h>.
  1404. deheader: remove "nsock.h" from ./nping/EchoClient.cc
  1405. deheader: remove "NEPContext.h" from ./nping/EchoClient.cc
  1406. deheader: remove "EchoHeader.h" from ./nping/EchoClient.cc
  1407. deheader: remove "nping.h" from ./nping/EchoClient.cc
  1408. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-snf.o libpcap/pcap-snf.c
  1409. libpcap/pcap-snf.c:18:17: fatal error: snf.h: No such file or directory
  1410. compilation terminated.
  1411. deheader: basic compilation failed on ./libpcap/pcap-snf.c
  1412. make: *** [libpcap/pcap-snf.o] Error 1deheader: remove "error.h" from ./nsock/src/error.c
  1413. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-null.o libpcap/pcap-null.c
  1414. libpcap/pcap-null.c:22:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1415. deheader: basic compilation failed on ./libpcap/pcap-null.c
  1416. make: *** [libpcap/pcap-null.o] Error 1deheader: in ./liblua/lmem.c, free() portability requires <stdlib.h>.
  1417. deheader: remove "lstate.h" from ./liblua/lmem.c
  1418. deheader: remove "lmem.h" from ./liblua/lmem.c
  1419. deheader: remove "ldo.h" from ./liblua/lmem.c
  1420. deheader: remove "lua.h" from ./liblua/lmem.c
  1421. deheader: remove "lobject.h" from ./liblua/lmem.c
  1422. deheader: remove "ldebug.h" from ./liblua/lmem.c
  1423. deheader: remove "lgc.h" from ./liblua/lmem.c
  1424. deheader: remove <stddef.h> from ./liblua/lmem.c
  1425. deheader: in ./nping/NpingTargets.cc, memset() portability requires <string.h>.
  1426. deheader: in ./nping/NpingTargets.cc, =\s*false portability requires <stdbool.h>.
  1427. deheader: in ./nping/NpingTargets.cc, rewind() portability requires <stdio.h>.
  1428. deheader: remove "common_modified.h" from ./nping/NpingTargets.cc
  1429. deheader: remove "NpingTargets.h" from ./nping/NpingTargets.cc
  1430. deheader: remove "nbase.h" from ./nping/NpingTargets.cc
  1431. deheader: remove "global_structures.h" from ./nping/NpingTargets.cc
  1432. deheader: remove "nping.h" from ./nping/NpingTargets.cc
  1433. deheader: remove "common.h" from ./nping/NpingTargets.cc
  1434. deheader: remove "utils.h" from ./nping/NpingTargets.cc
  1435. deheader: in ./nbase/getaddrinfo.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1436. deheader: in ./nbase/getaddrinfo.c, <arpa/inet.h> portability requires <netinet/in.h>.
  1437. deheader: in ./nbase/getaddrinfo.c, free() portability requires <stdlib.h>.
  1438. deheader: in ./nbase/getaddrinfo.c, memset() portability requires <string.h>.
  1439. deheader: in ./nbase/getaddrinfo.c, htons() portability requires <arpa/inet.h>.
  1440. deheader: in ./nbase/getaddrinfo.c, gethostbyname() portability requires <netdb.h>.
  1441. deheader: remove <assert.h> from ./nbase/getaddrinfo.c
  1442. deheader: remove <stdio.h> from ./nbase/getaddrinfo.c
  1443. deheader: in ./nmap_dns.cc, ntohl() portability requires <arpa/inet.h>.
  1444. deheader: in ./nmap_dns.cc, memcpy() portability requires <string.h>.
  1445. deheader: in ./nmap_dns.cc, sprintf() portability requires <stdio.h>.
  1446. deheader: in ./nmap_dns.cc, isdigit() portability requires <ctype.h>.
  1447. deheader: in ./nmap_dns.cc, strcasecmp() portability requires <strings.h>.
  1448. deheader: in ./nmap_dns.cc, =\s*false portability requires <stdbool.h>.
  1449. deheader: in ./nmap_dns.cc, gettimeofday() portability requires <sys/time.h>.
  1450. deheader: remove <vector> from ./nmap_dns.cc
  1451. deheader: remove <limits.h> from ./nmap_dns.cc
  1452. deheader: remove "nsock.h" from ./nmap_dns.cc
  1453. deheader: remove "nmap.h" from ./nmap_dns.cc
  1454. deheader: remove <list> from ./nmap_dns.cc
  1455. deheader: remove "nmap_dns.h" from ./nmap_dns.cc
  1456. deheader: remove <stdlib.h> from ./nmap_dns.cc
  1457. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/tun-solaris.o libdnet-stripped/src/tun-solaris.c
  1458. libdnet-stripped/src/tun-solaris.c:15:24: fatal error: sys/sockio.h: No such file or directory
  1459. compilation terminated.
  1460. deheader: basic compilation failed on ./libdnet-stripped/src/tun-solaris.c
  1461. make: *** [libdnet-stripped/src/tun-solaris.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/gencode.o libpcap/gencode.c
  1462. libpcap/gencode.c:23:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1463. libpcap/gencode.c: In function ‘init_linktype’:
  1464. libpcap/gencode.c:1350:7: error: ‘DLT_JUNIPER_VS’ undeclared (first use in this function)
  1465. libpcap/gencode.c:1350:7: note: each undeclared identifier is reported only once for each function it appears in
  1466. libpcap/gencode.c:1351:7: error: ‘DLT_JUNIPER_SRX_E2E’ undeclared (first use in this function)
  1467. libpcap/gencode.c:1352:7: error: ‘DLT_JUNIPER_FIBRECHANNEL’ undeclared (first use in this function)
  1468. libpcap/gencode.c:1353:7: error: ‘DLT_JUNIPER_ATM_CEMIC’ undeclared (first use in this function)
  1469. libpcap/gencode.c:1423:7: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1470. libpcap/gencode.c:1431:7: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1471. libpcap/gencode.c:1444:19: error: ‘DLT_MATCHING_MIN’ undeclared (first use in this function)
  1472. libpcap/gencode.c:1445:19: error: ‘DLT_MATCHING_MAX’ undeclared (first use in this function)
  1473. libpcap/gencode.c: In function ‘gen_linktype’:
  1474. libpcap/gencode.c:2924:7: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1475. libpcap/gencode.c:2925:7: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1476. libpcap/gencode.c:3329:14: error: ‘DLT_JUNIPER_VS’ undeclared (first use in this function)
  1477. libpcap/gencode.c:3330:14: error: ‘DLT_JUNIPER_SRX_E2E’ undeclared (first use in this function)
  1478. libpcap/gencode.c:3331:14: error: ‘DLT_JUNIPER_FIBRECHANNEL’ undeclared (first use in this function)
  1479. libpcap/gencode.c:3332:7: error: ‘DLT_JUNIPER_ATM_CEMIC’ undeclared (first use in this function)
  1480. libpcap/gencode.c:3383:7: error: ‘DLT_IEEE802_15_4_NOFCS’ undeclared (first use in this function)
  1481. libpcap/gencode.c: In function ‘gen_gateway’:
  1482. libpcap/gencode.c:4693:8: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1483. libpcap/gencode.c:4694:8: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1484. libpcap/gencode.c: In function ‘gen_scode’:
  1485. libpcap/gencode.c:6069:9: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1486. libpcap/gencode.c:6070:9: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1487. libpcap/gencode.c: In function ‘gen_ecode’:
  1488. libpcap/gencode.c:6590:8: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1489. libpcap/gencode.c:6591:8: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1490. libpcap/gencode.c: In function ‘gen_broadcast’:
  1491. libpcap/gencode.c:7196:8: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1492. libpcap/gencode.c:7197:8: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1493. libpcap/gencode.c: In function ‘gen_multicast’:
  1494. libpcap/gencode.c:7293:8: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1495. libpcap/gencode.c:7294:8: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1496. libpcap/gencode.c: In function ‘gen_inbound’:
  1497. libpcap/gencode.c:7558:14: error: ‘DLT_JUNIPER_VS’ undeclared (first use in this function)
  1498. libpcap/gencode.c:7559:14: error: ‘DLT_JUNIPER_SRX_E2E’ undeclared (first use in this function)
  1499. libpcap/gencode.c:7560:14: error: ‘DLT_JUNIPER_FIBRECHANNEL’ undeclared (first use in this function)
  1500. libpcap/gencode.c:7561:7: error: ‘DLT_JUNIPER_ATM_CEMIC’ undeclared (first use in this function)
  1501. libpcap/gencode.c: In function ‘gen_vlan’:
  1502. libpcap/gencode.c:7921:7: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1503. libpcap/gencode.c:7922:7: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1504. libpcap/gencode.c: In function ‘gen_mpls’:
  1505. libpcap/gencode.c:7990:18: error: ‘DLT_NETANALYZER’ undeclared (first use in this function)
  1506. libpcap/gencode.c:7991:18: error: ‘DLT_NETANALYZER_TRANSPARENT’ undeclared (first use in this function)
  1507. libpcap/gencode.c: In function ‘gen_gateway’:
  1508. libpcap/gencode.c:4749:1: warning: control reaches end of non-void function [-Wreturn-type]
  1509. deheader: basic compilation failed on ./libpcap/gencode.c
  1510. make: *** [libpcap/gencode.o] Error 1deheader: in ./protocols.cc, strcpy() portability requires <string.h>.
  1511. deheader: in ./protocols.cc, fopen() portability requires <stdio.h>.
  1512. deheader: in ./protocols.cc, isspace() portability requires <ctype.h>.
  1513. deheader: in ./protocols.cc, ntohs() portability requires <arpa/inet.h>.
  1514. deheader: remove "nmap_error.h" from ./protocols.cc
  1515. deheader: in ./liblinear/predict.c, realloc() portability requires <unistd.h>.
  1516. deheader: in ./libnetutil/RoutingHeader.cc, memset() portability requires <string.h>.
  1517. deheader: in ./libnetutil/RoutingHeader.cc, fprintf() portability requires <stdio.h>.
  1518. deheader: remove <assert.h> from ./libnetutil/RoutingHeader.cc
  1519. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/route-win32.o libdnet-stripped/src/route-win32.c
  1520. libdnet-stripped/src/route-win32.c:15:22: fatal error: ws2tcpip.h: No such file or directory
  1521. compilation terminated.
  1522. deheader: basic compilation failed on ./libdnet-stripped/src/route-win32.c
  1523. make: *** [libdnet-stripped/src/route-win32.o] Error 1deheader: in ./nping/output.cc, exit() portability requires <stdlib.h>.
  1524. deheader: in ./nping/output.cc, memset() portability requires <string.h>.
  1525. deheader: in ./nping/output.cc, va_start() portability requires <stdarg.h>.
  1526. deheader: in ./nping/output.cc, fflush() portability requires <stdio.h>.
  1527. deheader: in ./nping/output.cc, =\s*false portability requires <stdbool.h>.
  1528. deheader: in ./nsock/tests/ghheaps.c, calloc() portability requires <stdlib.h>.
  1529. deheader: in ./nsock/tests/ghheaps.c, fprintf() portability requires <stdio.h>.
  1530. deheader: remove <time.h> from ./nsock/tests/ghheaps.c
  1531. deheader: remove <stdint.h> from ./nsock/tests/ghheaps.c
  1532. deheader: in ./liblua/loslib.c, close() portability requires <unistd.h>.
  1533. deheader: in ./liblua/loslib.c, tmpnam() portability requires <stdio.h>.
  1534. deheader: remove "lualib.h" from ./liblua/loslib.c
  1535. deheader: remove "lua.h" from ./liblua/loslib.c
  1536. deheader: remove <errno.h> from ./liblua/loslib.c
  1537. deheader: remove "lstate.h" from ./liblua/lstring.c
  1538. deheader: remove "lmem.h" from ./liblua/lstring.c
  1539. deheader: remove "lobject.h" from ./liblua/lstring.c
  1540. deheader: remove "lua.h" from ./liblua/lstring.c
  1541. deheader: in ./nse_ssl_cert.cc, strtol() portability requires <stdlib.h>.
  1542. deheader: remove "nse_nsock.h" from ./nse_ssl_cert.cc
  1543. deheader: remove "lua.h" from ./nse_ssl_cert.cc
  1544. deheader: remove <openssl/pem.h> from ./nse_ssl_cert.cc
  1545. deheader: remove <errno.h> from ./nse_ssl_cert.cc
  1546. deheader: remove <assert.h> from ./nse_ssl_cert.cc
  1547. deheader: remove "lauxlib.h" from ./nse_ssl_cert.cc
  1548. deheader: remove <openssl/bio.h> from ./nse_ssl_cert.cc
  1549. deheader: remove "nbase.h" from ./nse_ssl_cert.cc
  1550. deheader: remove <openssl/x509.h> from ./nse_ssl_cert.cc
  1551. deheader: in ./nping/EchoHeader.cc, memset() portability requires <string.h>.
  1552. deheader: in ./nping/EchoHeader.cc, htons() portability requires <arpa/inet.h>.
  1553. deheader: in ./nping/EchoHeader.cc, encrypt() portability requires <unistd.h>.
  1554. deheader: remove <assert.h> from ./nping/EchoHeader.cc
  1555. deheader: remove "nping.h" from ./nping/EchoHeader.cc
  1556. deheader: in ./nsock/tests/logs.c, fprintf() portability requires <stdio.h>.
  1557. deheader: in ./nsock/tests/logs.c, calloc() portability requires <stdlib.h>.
  1558. deheader: in ./liblua/lstate.c, time() portability requires <time.h>.
  1559. deheader: remove "ltm.h" from ./liblua/lstate.c
  1560. deheader: remove "lstring.h" from ./liblua/lstate.c
  1561. deheader: remove "lmem.h" from ./liblua/lstate.c
  1562. deheader: remove "lgc.h" from ./liblua/lstate.c
  1563. deheader: remove "ldo.h" from ./liblua/lstate.c
  1564. deheader: remove "lapi.h" from ./liblua/lstate.c
  1565. deheader: remove "ltable.h" from ./liblua/lstate.c
  1566. deheader: remove "llex.h" from ./liblua/lstate.c
  1567. deheader: remove "ldebug.h" from ./liblua/lstate.c
  1568. deheader: remove "lstate.h" from ./liblua/lstate.c
  1569. deheader: remove "lua.h" from ./liblua/lstate.c
  1570. deheader: remove "lfunc.h" from ./liblua/lstate.c
  1571. deheader: in ./nsock/src/proxy_socks4.c, free() portability requires <stdlib.h>.
  1572. deheader: in ./nsock/src/proxy_socks4.c, htons() portability requires <arpa/inet.h>.
  1573. deheader: remove "nsock_log.h" from ./nsock/src/proxy_socks4.c
  1574. deheader: remove "nsock.h" from ./nsock/src/proxy_socks4.c
  1575. deheader: remove <stdio.h> from ./nsock/src/proxy_socks4.c
  1576. g++ -c -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing mswin32/winfix.cc -o mswin32/winfix.o
  1577. mswin32/winfix.cc:128:22: fatal error: winclude.h: No such file or directory
  1578. compilation terminated.
  1579. deheader: basic compilation failed on ./mswin32/winfix.cc
  1580. make: *** [mswin32/winfix.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/tests/filtertest.o libpcap/tests/filtertest.c
  1581. libpcap/tests/filtertest.c:23:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1582. libpcap/tests/filtertest.c:26:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1583. libpcap/tests/filtertest.c: In function ‘main’:
  1584. libpcap/tests/filtertest.c:189:2: warning: implicit declaration of function ‘getopt’ [-Wimplicit-function-declaration]
  1585. deheader: basic compilation failed on ./libpcap/tests/filtertest.c
  1586. make: *** [libpcap/tests/filtertest.o] Error 1deheader: remove "nsock_log.h" from ./nsock/src/nsock_timers.c
  1587. deheader: remove <stdlib.h> from ./libpcap/Win32/Src/getopt.c
  1588. deheader: in ./libdnet-stripped/src/arp-ioctl.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1589. deheader: in ./libdnet-stripped/src/arp-ioctl.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1590. deheader: in ./libdnet-stripped/src/arp-ioctl.c, htons() portability requires <arpa/inet.h>.
  1591. deheader: in ./libdnet-stripped/src/arp-ioctl.c, putmsg() portability requires <stropts.h>.
  1592. deheader: remove <net/if.h> from ./libdnet-stripped/src/arp-ioctl.c
  1593. deheader: remove <sys/param.h> from ./libdnet-stripped/src/arp-ioctl.c
  1594. deheader: remove "config.h" from ./libdnet-stripped/src/arp-ioctl.c
  1595. deheader: remove "ltm.h" from ./liblua/lgc.c
  1596. deheader: remove "lstring.h" from ./liblua/lgc.c
  1597. deheader: remove "lobject.h" from ./liblua/lgc.c
  1598. deheader: remove "lgc.h" from ./liblua/lgc.c
  1599. deheader: remove "ldo.h" from ./liblua/lgc.c
  1600. deheader: remove "lua.h" from ./liblua/lgc.c
  1601. deheader: remove "lstate.h" from ./liblua/lgc.c
  1602. deheader: remove "lfunc.h" from ./liblua/lgc.c
  1603. deheader: remove "lmem.h" from ./liblua/lgc.c
  1604. deheader: remove "ldebug.h" from ./liblua/lgc.c
  1605. deheader: in ./liblua/llex.c, =\s*true portability requires <stdbool.h>.
  1606. deheader: remove "lzio.h" from ./liblua/llex.c
  1607. deheader: remove "lstring.h" from ./liblua/llex.c
  1608. deheader: remove "lobject.h" from ./liblua/llex.c
  1609. deheader: remove "ldo.h" from ./liblua/llex.c
  1610. deheader: remove "lua.h" from ./liblua/llex.c
  1611. deheader: remove "ltable.h" from ./liblua/llex.c
  1612. deheader: remove "lctype.h" from ./liblua/llex.c
  1613. deheader: remove "lstate.h" from ./liblua/llex.c
  1614. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-pf.o libpcap/pcap-pf.c
  1615. libpcap/pcap-pf.c:26:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1616. libpcap/pcap-pf.c:40:23: fatal error: net/pfilt.h: No such file or directory
  1617. compilation terminated.
  1618. deheader: basic compilation failed on ./libpcap/pcap-pf.c
  1619. make: *** [libpcap/pcap-pf.o] Error 1deheader: in ./nbase/nbase_rnd.c, gettimeofday() portability requires <sys/time.h>.
  1620. deheader: in ./nbase/nbase_rnd.c, getpid() portability requires <sys/types.h>,<unistd.h>.
  1621. deheader: in ./nbase/nbase_rnd.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1622. deheader: remove <stdlib.h> from ./nbase/nbase_rnd.c
  1623. deheader: remove <string.h> from ./nbase/nbase_rnd.c
  1624. deheader: remove <stdio.h> from ./nbase/nbase_rnd.c
  1625. deheader: in ./nbase/strcasecmp.c, strcasecmp() portability requires <strings.h>.
  1626. deheader: in ./nbase/strcasecmp.c, strlen() portability requires <string.h>.
  1627. deheader: in ./nbase/strcasecmp.c, tolower() portability requires <ctype.h>.
  1628. deheader: in ./nbase/strcasecmp.c, free() portability requires <stdlib.h>.
  1629. deheader: in ./Target.cc, memset() portability requires <string.h>.
  1630. deheader: in ./Target.cc, =\s*false portability requires <stdbool.h>.
  1631. deheader: in ./Target.cc, free() portability requires <stdlib.h>.
  1632. deheader: in ./Target.cc, isalnum() portability requires <ctype.h>.
  1633. deheader: in ./Target.cc, gettimeofday() portability requires <sys/time.h>.
  1634. deheader: remove "nmap_error.h" from ./Target.cc
  1635. deheader: remove "nbase.h" from ./Target.cc
  1636. deheader: remove "utils.h" from ./Target.cc
  1637. deheader: remove <dnet.h> from ./Target.cc
  1638. deheader: in ./nse_nmaplib.cc, gettimeofday() portability requires <sys/time.h>.
  1639. deheader: in ./nse_nmaplib.cc, strcmp() portability requires <string.h>.
  1640. deheader: remove "nse_nmaplib.h" from ./nse_nmaplib.cc
  1641. deheader: remove "portlist.h" from ./nse_nmaplib.cc
  1642. deheader: remove "Target.h" from ./nse_nmaplib.cc
  1643. deheader: remove "nmap.h" from ./nse_nmaplib.cc
  1644. deheader: remove "libnetutil/netutil.h" from ./nse_nmaplib.cc
  1645. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/getaddrinfo.o libpcap/Win32/Src/getaddrinfo.c
  1646. libpcap/Win32/Src/getaddrinfo.c:59:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1647. libpcap/Win32/Src/getaddrinfo.c:63:25: fatal error: pcap-stdinc.h: No such file or directory
  1648. compilation terminated.
  1649. deheader: basic compilation failed on ./libpcap/Win32/Src/getaddrinfo.c
  1650. make: *** [libpcap/Win32/Src/getaddrinfo.o] Error 1deheader: remove "blas.h" from ./liblinear/blas/dnrm2.c
  1651. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o nbase/nbase_winunix.o nbase/nbase_winunix.c
  1652. In file included from nbase/nbase_winunix.h:129:0,
  1653. from nbase/nbase_winunix.c:130:
  1654. nbase/nbase_winconfig.h:131:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
  1655. nbase/nbase_winconfig.h:170:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint8_t’
  1656. nbase/nbase_winconfig.h:171:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’
  1657. nbase/nbase_winconfig.h:172:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint32_t’
  1658. nbase/nbase_winconfig.h:173:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
  1659. nbase/nbase_winconfig.h:174:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
  1660. nbase/nbase_winconfig.h:175:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int16_t’
  1661. nbase/nbase_winconfig.h:176:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
  1662. nbase/nbase_winconfig.h:177:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
  1663. nbase/nbase_winconfig.h:189:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
  1664. In file included from nbase/nbase_winunix.c:130:0:
  1665. nbase/nbase_winunix.h:171:21: fatal error: windows.h: No such file or directory
  1666. compilation terminated.
  1667. deheader: basic compilation failed on ./nbase/nbase_winunix.c
  1668. make: *** [nbase/nbase_winunix.o] Error 1deheader: in ./libnetutil/PacketParser.cc, printf() portability requires <stdio.h>.
  1669. deheader: in ./libnetutil/PacketParser.cc, =\s*false portability requires <stdbool.h>.
  1670. deheader: in ./libnetutil/PacketParser.cc, memset() portability requires <string.h>.
  1671. deheader: in ./libnetutil/PacketParser.cc, free() portability requires <stdlib.h>.
  1672. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/Win32/Src/getservent.o libpcap/Win32/Src/getservent.c
  1673. libpcap/Win32/Src/getservent.c:43:23: fatal error: net/netdb.h: No such file or directory
  1674. compilation terminated.
  1675. deheader: basic compilation failed on ./libpcap/Win32/Src/getservent.c
  1676. make: *** [libpcap/Win32/Src/getservent.o] Error 1deheader: in ./nmap_error.cc, gettimeofday() portability requires <sys/time.h>.
  1677. deheader: in ./nmap_error.cc, time() portability requires <time.h>.
  1678. deheader: in ./nmap_error.cc, va_start() portability requires <stdarg.h>.
  1679. deheader: in ./nmap_error.cc, exit() portability requires <stdlib.h>.
  1680. deheader: in ./nmap_error.cc, strerror() portability requires <string.h>.
  1681. deheader: in ./nmap_error.cc, fflush() portability requires <stdio.h>.
  1682. deheader: remove "output.h" from ./nmap_error.cc
  1683. deheader: remove "nmap_error.h" from ./nmap_error.cc
  1684. deheader: in ./libdnet-stripped/src/ip-cooked.c, socket() portability requires <sys/socket.h>.
  1685. deheader: in ./libdnet-stripped/src/ip-cooked.c, htons() portability requires <arpa/inet.h>.
  1686. deheader: in ./libdnet-stripped/src/ip-cooked.c, usleep() portability requires <unistd.h>.
  1687. deheader: remove <stdio.h> from ./libdnet-stripped/src/ip-cooked.c
  1688. deheader: in ./FPEngine.cc, memset() portability requires <string.h>.
  1689. deheader: in ./FPEngine.cc, =\s*false portability requires <stdbool.h>.
  1690. deheader: in ./FPEngine.cc, close() portability requires <unistd.h>.
  1691. deheader: in ./FPEngine.cc, free() portability requires <stdlib.h>.
  1692. deheader: in ./FPEngine.cc, gettimeofday() portability requires <sys/time.h>.
  1693. deheader: in ./FPEngine.cc, ntohs() portability requires <arpa/inet.h>.
  1694. deheader: in ./FPEngine.cc, sqrt() portability requires <math.h>.
  1695. deheader: in ./FPEngine.cc, printf() portability requires <stdio.h>.
  1696. deheader: in ./FPEngine.cc, time() portability requires <time.h>.
  1697. deheader: in ./FPEngine.cc, signal() portability requires <signal.h>.
  1698. deheader: remove "libnetutil/npacket.h" from ./FPEngine.cc
  1699. deheader: remove "Target.h" from ./FPEngine.cc
  1700. deheader: remove "FPEngine.h" from ./FPEngine.cc
  1701. deheader: in ./libdnet-stripped/src/rand.c, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1702. deheader: in ./libdnet-stripped/src/rand.c, read() portability requires <unistd.h>.
  1703. deheader: in ./libdnet-stripped/src/rand.c, gettimeofday() portability requires <sys/time.h>.
  1704. deheader: remove "config.h" from ./libdnet-stripped/src/rand.c
  1705. deheader: in ./NmapOps.cc, free() portability requires <stdlib.h>.
  1706. deheader: in ./NmapOps.cc, memcpy() portability requires <string.h>.
  1707. deheader: in ./NmapOps.cc, gettimeofday() portability requires <sys/time.h>.
  1708. deheader: in ./NmapOps.cc, geteuid() portability requires <unistd.h>,<sys/types.h>.
  1709. deheader: in ./NmapOps.cc, =\s*true portability requires <stdbool.h>.
  1710. deheader: in ./NmapOps.cc, connect() portability requires <sys/socket.h>.
  1711. deheader: remove "services.h" from ./NmapOps.cc
  1712. deheader: remove "nbase.h" from ./NmapOps.cc
  1713. deheader: remove "nmap.h" from ./NmapOps.cc
  1714. deheader: in ./nsock/examples/nsock_test_timers.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1715. deheader: remove <assert.h> from ./nsock/examples/nsock_test_timers.c
  1716. deheader: remove <unistd.h> from ./nsock/examples/nsock_test_timers.c
  1717. deheader: remove <arpa/inet.h> from ./nsock/examples/nsock_test_timers.c
  1718. deheader: remove <sys/socket.h> from ./nsock/examples/nsock_test_timers.c
  1719. deheader: remove <netdb.h> from ./nsock/examples/nsock_test_timers.c
  1720. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/fad-gifc.o libpcap/fad-gifc.c
  1721. libpcap/fad-gifc.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1722. deheader: basic compilation failed on ./libpcap/fad-gifc.c
  1723. make: *** [libpcap/fad-gifc.o] Error 1deheader: in ./nsock/src/gh_heap.c, free() portability requires <stdlib.h>.
  1724. deheader: in ./nsock/src/gh_heap.c, memset() portability requires <string.h>.
  1725. deheader: remove <nbase.h> from ./nsock/src/gh_heap.c
  1726. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o nselib/data/psexec/nmap_service.o nselib/data/psexec/nmap_service.c
  1727. nselib/data/psexec/nmap_service.c:33:21: fatal error: windows.h: No such file or directory
  1728. compilation terminated.
  1729. deheader: basic compilation failed on ./nselib/data/psexec/nmap_service.c
  1730. make: *** [nselib/data/psexec/nmap_service.o] Error 1deheader: in ./ncat/ncat_proxy.c, waitpid() portability requires <sys/types.h>,<sys/wait.h>.
  1731. deheader: in ./ncat/ncat_proxy.c, strlen() portability requires <string.h>.
  1732. deheader: in ./ncat/ncat_proxy.c, FD_ZERO() portability requires <sys/time.h>.
  1733. deheader: in ./ncat/ncat_proxy.c, accept() portability requires <sys/socket.h>.
  1734. deheader: in ./ncat/ncat_proxy.c, free() portability requires <stdlib.h>.
  1735. deheader: in ./ncat/ncat_proxy.c, fork() portability requires <sys/types.h>,<unistd.h>.
  1736. deheader: remove "sys_wrap.h" from ./ncat/ncat_proxy.c
  1737. deheader: remove "nsock.h" from ./ncat/ncat_proxy.c
  1738. deheader: remove "base64.h" from ./ncat/ncat_proxy.c
  1739. deheader: in ./libnetutil/ICMPv6Option.cc, memset() portability requires <string.h>.
  1740. deheader: in ./libnetutil/ICMPv6Option.cc, htonl() portability requires <arpa/inet.h>.
  1741. deheader: remove "lualib.h" from ./liblua/lcorolib.c
  1742. deheader: remove "lua.h" from ./liblua/lcorolib.c
  1743. deheader: remove <stdlib.h> from ./liblua/lcorolib.c
  1744. deheader: remove "blas.h" from ./liblinear/blas/ddot.c
  1745. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-bpf.o libpcap/pcap-bpf.c
  1746. libpcap/pcap-bpf.c:22:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1747. libpcap/pcap-bpf.c:106:21: fatal error: net/bpf.h: No such file or directory
  1748. compilation terminated.
  1749. deheader: basic compilation failed on ./libpcap/pcap-bpf.c
  1750. make: *** [libpcap/pcap-bpf.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/grammar.o libpcap/grammar.c
  1751. grammar.y:24:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1752. deheader: basic compilation failed on ./libpcap/grammar.c
  1753. make: *** [libpcap/grammar.o] Error 1deheader: in ./ncat/ncat_main.c, gettimeofday() portability requires <sys/time.h>.
  1754. deheader: in ./ncat/ncat_main.c, fork() portability requires <sys/types.h>,<unistd.h>.
  1755. deheader: in ./ncat/ncat_main.c, htons() portability requires <arpa/inet.h>.
  1756. deheader: remove <fcntl.h> from ./ncat/ncat_main.c
  1757. deheader: remove <getopt.h> from ./ncat/ncat_main.c
  1758. deheader: remove "util.h" from ./ncat/ncat_main.c
  1759. deheader: remove "nsock.h" from ./ncat/ncat_main.c
  1760. deheader: remove <errno.h> from ./ncat/ncat_main.c
  1761. deheader: remove "sys_wrap.h" from ./ncat/ncat_main.c
  1762. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/route-hpux.o libdnet-stripped/src/route-hpux.c
  1763. libdnet-stripped/src/route-hpux.c:13:21: fatal error: sys/mib.h: No such file or directory
  1764. compilation terminated.
  1765. deheader: basic compilation failed on ./libdnet-stripped/src/route-hpux.c
  1766. make: *** [libdnet-stripped/src/route-hpux.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/fad-glifc.o libpcap/fad-glifc.c
  1767. libpcap/fad-glifc.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1768. libpcap/fad-glifc.c: In function ‘pcap_findalldevs’:
  1769. libpcap/fad-glifc.c:88:16: error: storage size of ‘ifn’ isn’t known
  1770. libpcap/fad-glifc.c:89:17: error: storage size of ‘ifc’ isn’t known
  1771. libpcap/fad-glifc.c:95:16: error: storage size of ‘ifrflags’ isn’t known
  1772. libpcap/fad-glifc.c:95:26: error: storage size of ‘ifrnetmask’ isn’t known
  1773. libpcap/fad-glifc.c:95:38: error: storage size of ‘ifrbroadaddr’ isn’t known
  1774. libpcap/fad-glifc.c:95:52: error: storage size of ‘ifrdstaddr’ isn’t known
  1775. libpcap/fad-glifc.c:127:17: error: ‘SIOCGLIFNUM’ undeclared (first use in this function)
  1776. libpcap/fad-glifc.c:127:17: note: each undeclared identifier is reported only once for each function it appears in
  1777. libpcap/fad-glifc.c:138:38: error: invalid application of ‘sizeof’ to incomplete type ‘struct lifreq’
  1778. libpcap/fad-glifc.c:156:17: error: ‘SIOCGLIFCONF’ undeclared (first use in this function)
  1779. libpcap/fad-glifc.c:171:27: error: increment of pointer to unknown structure
  1780. libpcap/fad-glifc.c:171:2: error: arithmetic on pointer to an incomplete type
  1781. libpcap/fad-glifc.c:175:32: error: dereferencing pointer to incomplete type
  1782. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1783. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1784. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1785. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1786. libpcap/fad-glifc.c:185:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  1787. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1788. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1789. libpcap/fad-glifc.c:185:7: warning: value computed is not used [-Wunused-value]
  1790. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1791. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1792. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1793. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1794. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1795. libpcap/fad-glifc.c:185:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  1796. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1797. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1798. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1799. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1800. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1801. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1802. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1803. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1804. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1805. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1806. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1807. libpcap/fad-glifc.c:185:7: error: dereferencing pointer to incomplete type
  1808. libpcap/fad-glifc.c:214:35: error: dereferencing pointer to incomplete type
  1809. libpcap/fad-glifc.c:216:17: error: ‘SIOCGLIFFLAGS’ undeclared (first use in this function)
  1810. libpcap/fad-glifc.c:233:37: error: dereferencing pointer to incomplete type
  1811. libpcap/fad-glifc.c:235:38: error: dereferencing pointer to incomplete type
  1812. libpcap/fad-glifc.c:237:17: error: ‘SIOCGLIFNETMASK’ undeclared (first use in this function)
  1813. libpcap/fad-glifc.c:260:40: error: dereferencing pointer to incomplete type
  1814. libpcap/fad-glifc.c:262:41: error: dereferencing pointer to incomplete type
  1815. libpcap/fad-glifc.c:264:18: error: ‘SIOCGLIFBRDADDR’ undeclared (first use in this function)
  1816. libpcap/fad-glifc.c:295:38: error: dereferencing pointer to incomplete type
  1817. libpcap/fad-glifc.c:297:39: error: dereferencing pointer to incomplete type
  1818. libpcap/fad-glifc.c:299:18: error: ‘SIOCGLIFDSTADDR’ undeclared (first use in this function)
  1819. libpcap/fad-glifc.c:351:40: error: dereferencing pointer to incomplete type
  1820. libpcap/fad-glifc.c:352:52: error: dereferencing pointer to incomplete type
  1821. libpcap/fad-glifc.c:95:52: warning: unused variable ‘ifrdstaddr’ [-Wunused-variable]
  1822. libpcap/fad-glifc.c:95:38: warning: unused variable ‘ifrbroadaddr’ [-Wunused-variable]
  1823. libpcap/fad-glifc.c:95:26: warning: unused variable ‘ifrnetmask’ [-Wunused-variable]
  1824. libpcap/fad-glifc.c:95:16: warning: unused variable ‘ifrflags’ [-Wunused-variable]
  1825. libpcap/fad-glifc.c:89:17: warning: unused variable ‘ifc’ [-Wunused-variable]
  1826. libpcap/fad-glifc.c:88:16: warning: unused variable ‘ifn’ [-Wunused-variable]
  1827. deheader: basic compilation failed on ./libpcap/fad-glifc.c
  1828. make: *** [libpcap/fad-glifc.o] Error 1deheader: remove "nping.h" from ./nping/PacketDiff.cc
  1829. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_tables.o libpcre/pcre_tables.c
  1830. In file included from libpcre/pcre_tables.c:53:0:
  1831. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1832. libpcre/pcre_tables.c:59:37: error: ‘LINK_SIZE’ undeclared here (not in a function)
  1833. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  1834. deheader: basic compilation failed on ./libpcre/pcre_tables.c
  1835. make: *** [libpcre/pcre_tables.o] Error 1deheader: in ./nsock/tests/basic.c, calloc() portability requires <stdlib.h>.
  1836. deheader: in ./nsock/tests/basic.c, memset() portability requires <string.h>.
  1837. deheader: in ./nping/ArgParser.cc, exit() portability requires <stdlib.h>.
  1838. deheader: in ./nping/ArgParser.cc, strdup() portability requires <string.h>.
  1839. deheader: in ./nping/ArgParser.cc, strncasecmp() portability requires <strings.h>.
  1840. deheader: in ./nping/ArgParser.cc, =\s*false portability requires <stdbool.h>.
  1841. deheader: in ./nping/ArgParser.cc, isdigit() portability requires <ctype.h>.
  1842. deheader: in ./nping/ArgParser.cc, getopt() portability requires <unistd.h>.
  1843. deheader: in ./nping/ArgParser.cc, printf() portability requires <stdio.h>.
  1844. deheader: in ./nping/ArgParser.cc, gettimeofday() portability requires <sys/time.h>.
  1845. deheader: remove "nbase.h" from ./nping/ArgParser.cc
  1846. deheader: remove "common.h" from ./nping/ArgParser.cc
  1847. deheader: in ./main.cc, atexit() portability requires <stdlib.h>.
  1848. deheader: in ./main.cc, strlen() portability requires <string.h>.
  1849. deheader: remove "nmap.h" from ./main.cc
  1850. deheader: remove <signal.h> from ./main.cc
  1851. deheader: remove <stdlib.h> from ./libdnet-stripped/src/route-none.c
  1852. deheader: remove <sys/types.h> from ./libdnet-stripped/src/route-none.c
  1853. deheader: remove <stdio.h> from ./libdnet-stripped/src/route-none.c
  1854. deheader: remove "config.h" from ./libdnet-stripped/src/route-none.c
  1855. deheader: remove <stdlib.h> from ./ncat/test/test-cmdline-split.c
  1856. deheader: remove <errno.h> from ./ncat/test/test-cmdline-split.c
  1857. deheader: in ./libnetutil/DestOptsHeader.cc, fprintf() portability requires <stdio.h>.
  1858. deheader: remove <assert.h> from ./libnetutil/DestOptsHeader.cc
  1859. deheader: in ./nbase/nbase_str.c, tolower() portability requires <ctype.h>.
  1860. deheader: in ./nbase/nbase_str.c, free() portability requires <stdlib.h>.
  1861. deheader: remove <assert.h> from ./nbase/nbase_str.c
  1862. deheader: remove "nbase.h" from ./nbase/nbase_str.c
  1863. deheader: in ./nsock/src/nsock_connect.c, setsockopt() portability requires <sys/socket.h>.
  1864. deheader: in ./nsock/src/nsock_connect.c, htons() portability requires <arpa/inet.h>.
  1865. deheader: in ./nsock/src/nsock_connect.c, system() portability requires <stdlib.h>.
  1866. deheader: remove <errno.h> from ./nsock/src/nsock_connect.c
  1867. deheader: remove "netutils.h" from ./nsock/src/nsock_connect.c
  1868. deheader: remove "nsock_log.h" from ./nsock/src/nsock_connect.c
  1869. deheader: remove "nsock.h" from ./nsock/src/nsock_connect.c
  1870. deheader: remove <sys/types.h> from ./nsock/src/nsock_connect.c
  1871. deheader: remove "nsock_proxy.h" from ./nsock/src/nsock_connect.c
  1872. deheader: in ./libnetutil/IPv4Header.cc, memset() portability requires <string.h>.
  1873. deheader: in ./libnetutil/IPv4Header.cc, fprintf() portability requires <stdio.h>.
  1874. deheader: in ./libnetutil/IPv4Header.cc, htons() portability requires <arpa/inet.h>.
  1875. deheader: in ./libnetutil/IPv4Header.cc, strcasecmp() portability requires <strings.h>.
  1876. deheader: remove <sys/types.h> from ./libdnet-stripped/src/strlcat.c
  1877. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libdnet-stripped/src/strsep.o libdnet-stripped/src/strsep.c
  1878. libdnet-stripped/src/strsep.c:59:1: error: expected identifier or ‘(’ before ‘__extension__’
  1879. libdnet-stripped/src/strsep.c:59:1: error: expected identifier or ‘(’ before ‘)’ token
  1880. libdnet-stripped/src/strsep.c:62:1: error: expected identifier or ‘(’ before ‘{’ token
  1881. libdnet-stripped/src/strsep.c:61:23: error: register name not specified for ‘delim’
  1882. deheader: basic compilation failed on ./libdnet-stripped/src/strsep.c
  1883. make: *** [libdnet-stripped/src/strsep.o] Error 1deheader: in ./nsock/src/nsock_iod.c, dup() portability requires <unistd.h>.
  1884. deheader: in ./nsock/src/nsock_iod.c, free() portability requires <stdlib.h>.
  1885. deheader: in ./nsock/src/nsock_iod.c, ntohs() portability requires <arpa/inet.h>.
  1886. deheader: in ./nsock/src/nsock_iod.c, connect() portability requires <sys/socket.h>.
  1887. deheader: remove "netutils.h" from ./nsock/src/nsock_iod.c
  1888. deheader: remove "nsock_log.h" from ./nsock/src/nsock_iod.c
  1889. deheader: remove "nsock.h" from ./nsock/src/nsock_iod.c
  1890. deheader: remove "gh_list.h" from ./nsock/src/nsock_iod.c
  1891. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_iod.c
  1892. deheader: in ./nping/Crypto.cc, memset() portability requires <string.h>.
  1893. deheader: in ./nping/Crypto.cc, malloc() portability requires <stdlib.h>.
  1894. deheader: remove "nping.h" from ./nping/Crypto.cc
  1895. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o nmap-update/nmap-update.o nmap-update/nmap-update.c
  1896. nmap-update/nmap-update.c:33:24: fatal error: svn_client.h: No such file or directory
  1897. compilation terminated.
  1898. deheader: basic compilation failed on ./nmap-update/nmap-update.c
  1899. make: *** [nmap-update/nmap-update.o] Error 1deheader: in ./libnetutil/EthernetHeader.cc, memset() portability requires <string.h>.
  1900. deheader: in ./libnetutil/EthernetHeader.cc, fprintf() portability requires <stdio.h>.
  1901. deheader: in ./libnetutil/EthernetHeader.cc, htons() portability requires <arpa/inet.h>.
  1902. deheader: in ./nsock/src/engine_select.c, select() portability requires <sys/time.h>.
  1903. deheader: in ./nsock/src/engine_select.c, free() portability requires <stdlib.h>.
  1904. deheader: in ./nsock/src/engine_select.c, memset() portability requires <string.h>.
  1905. deheader: remove "nsock_log.h" from ./nsock/src/engine_select.c
  1906. deheader: remove <errno.h> from ./nsock/src/engine_select.c
  1907. deheader: remove "nsock_internal.h" from ./nsock/src/engine_select.c
  1908. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/nametoaddr.o libpcap/nametoaddr.c
  1909. libpcap/nametoaddr.c:26:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1910. deheader: basic compilation failed on ./libpcap/nametoaddr.c
  1911. make: *** [libpcap/nametoaddr.o] Error 1deheader: in ./ncat/http_digest.c, strlen() portability requires <string.h>.
  1912. deheader: in ./ncat/http_digest.c, sscanf() portability requires <stdio.h>.
  1913. deheader: in ./ncat/http_digest.c, gettimeofday() portability requires <sys/time.h>.
  1914. deheader: in ./ncat/http_digest.c, free() portability requires <stdlib.h>.
  1915. deheader: in ./ncat/http_digest.c, =\s*true portability requires <stdbool.h>.
  1916. deheader: remove <openssl/rand.h> from ./ncat/http_digest.c
  1917. deheader: remove "ncat.h" from ./ncat/http_digest.c
  1918. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-snit.o libpcap/pcap-snit.c
  1919. libpcap/pcap-snit.c:27:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  1920. libpcap/pcap-snit.c:39:26: fatal error: sys/fcntlcom.h: No such file or directory
  1921. compilation terminated.
  1922. deheader: basic compilation failed on ./libpcap/pcap-snit.c
  1923. make: *** [libpcap/pcap-snit.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o ncat/ncat_win.o ncat/ncat_win.c
  1924. ncat/ncat_win.c: In function ‘ncat_openlog’:
  1925. ncat/ncat_win.c:130:30: error: ‘O_BINARY’ undeclared (first use in this function)
  1926. ncat/ncat_win.c:130:30: note: each undeclared identifier is reported only once for each function it appears in
  1927. ncat/ncat_win.c: In function ‘set_lf_mode’:
  1928. ncat/ncat_win.c:141:9: warning: implicit declaration of function ‘_setmode’ [-Wimplicit-function-declaration]
  1929. ncat/ncat_win.c:141:32: error: ‘_O_TEXT’ undeclared (first use in this function)
  1930. ncat/ncat_win.c:143:32: error: ‘_O_BINARY’ undeclared (first use in this function)
  1931. ncat/ncat_win.c: In function ‘ssl_load_default_ca_certs’:
  1932. ncat/ncat_win.c:158:5: warning: implicit declaration of function ‘GetModuleFileName’ [-Wimplicit-function-declaration]
  1933. ncat/ncat_win.c:158:5: warning: implicit declaration of function ‘GetModuleHandle’ [-Wimplicit-function-declaration]
  1934. ncat/ncat_win.c: In function ‘ncat_openlog’:
  1935. ncat/ncat_win.c:133:1: warning: control reaches end of non-void function [-Wreturn-type]
  1936. deheader: basic compilation failed on ./ncat/ncat_win.c
  1937. make: *** [ncat/ncat_win.o] Error 1deheader: in ./libdnet-stripped/src/eth-linux.c, <sys/socket.h> portability requires <sys/stat.h>,<sys/types.h>.
  1938. deheader: in ./libdnet-stripped/src/eth-linux.c, htons() portability requires <arpa/inet.h>.
  1939. deheader: remove <stdio.h> from ./libdnet-stripped/src/eth-linux.c
  1940. deheader: remove <assert.h> from ./libdnet-stripped/src/eth-linux.c
  1941. deheader: remove <features.h> from ./libdnet-stripped/src/eth-linux.c
  1942. deheader: remove "config.h" from ./libdnet-stripped/src/eth-linux.c
  1943. deheader: remove <errno.h> from ./libdnet-stripped/src/eth-linux.c
  1944. deheader: remove <netinet/in.h> from ./libdnet-stripped/src/eth-linux.c
  1945. deheader: in ./nsock/src/nsock_pcap.c, gettimeofday() portability requires <sys/time.h>.
  1946. deheader: in ./nsock/src/nsock_pcap.c, va_start() portability requires <stdarg.h>.
  1947. deheader: in ./nsock/src/nsock_pcap.c, sleep() portability requires <unistd.h>.
  1948. deheader: in ./nsock/src/nsock_pcap.c, strdup() portability requires <string.h>.
  1949. deheader: remove <limits.h> from ./nsock/src/nsock_pcap.c
  1950. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_pcap.c
  1951. deheader: remove "nsock_log.h" from ./nsock/src/nsock_pcap.c
  1952. deheader: remove "nsock.h" from ./nsock/src/nsock_pcap.c
  1953. deheader: in ./nse_main.cc, strcmp() portability requires <string.h>.
  1954. deheader: in ./nse_main.cc, srand() portability requires <stdlib.h>.
  1955. deheader: in ./nse_main.cc, fmod() portability requires <math.h>.
  1956. deheader: remove "nse_debug.h" from ./nse_main.cc
  1957. deheader: remove "nse_nsock.h" from ./nse_main.cc
  1958. deheader: remove "nse_main.h" from ./nse_main.cc
  1959. deheader: remove "nsock.h" from ./nse_main.cc
  1960. deheader: remove "nbase.h" from ./nse_main.cc
  1961. deheader: remove "portlist.h" from ./nse_main.cc
  1962. deheader: remove "nmap.h" from ./nse_main.cc
  1963. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_get.o libpcre/pcre_get.c
  1964. In file included from libpcre/pcre_get.c:52:0:
  1965. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1966. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  1967. deheader: basic compilation failed on ./libpcre/pcre_get.c
  1968. make: *** [libpcre/pcre_get.o] Error 1deheader: in ./services.cc, strcpy() portability requires <string.h>.
  1969. deheader: in ./services.cc, fopen() portability requires <stdio.h>.
  1970. deheader: in ./services.cc, isspace() portability requires <ctype.h>.
  1971. deheader: in ./services.cc, strtod() portability requires <stdlib.h>.
  1972. deheader: in ./services.cc, strncasecmp() portability requires <strings.h>.
  1973. deheader: in ./services.cc, =\s*false portability requires <stdbool.h>.
  1974. deheader: in ./services.cc, open() portability requires <sys/types.h>,<sys/stat.h>,<fcntl.h>.
  1975. deheader: remove <map> from ./services.cc
  1976. deheader: remove "nmap_error.h" from ./services.cc
  1977. deheader: remove "nmap.h" from ./services.cc
  1978. deheader: remove <list> from ./services.cc
  1979. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_exec.o libpcre/pcre_exec.c
  1980. In file included from libpcre/pcre_exec.c:55:0:
  1981. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  1982. libpcre/pcre_exec.c: In function ‘match’:
  1983. libpcre/pcre_exec.c:669:14: error: ‘LINK_SIZE’ undeclared (first use in this function)
  1984. libpcre/pcre_exec.c:669:14: note: each undeclared identifier is reported only once for each function it appears in
  1985. libpcre/pcre_exec.c:696:9: warning: implicit declaration of function ‘GET’ [-Wimplicit-function-declaration]
  1986. libpcre/pcre_exec.c: In function ‘pcre_exec’:
  1987. libpcre/pcre_exec.c:4397:19: error: ‘MATCH_LIMIT’ undeclared (first use in this function)
  1988. libpcre/pcre_exec.c:4398:29: error: ‘MATCH_LIMIT_RECURSION’ undeclared (first use in this function)
  1989. libpcre/pcre_exec.c:4499:21: error: ‘NEWLINE’ undeclared (first use in this function)
  1990. deheader: basic compilation failed on ./libpcre/pcre_exec.c
  1991. make: *** [libpcre/pcre_exec.o] Error 1deheader: in ./tcpip.cc, socket() portability requires <sys/socket.h>.
  1992. deheader: in ./tcpip.cc, gettimeofday() portability requires <sys/time.h>.
  1993. deheader: in ./tcpip.cc, ntohs() portability requires <arpa/inet.h>.
  1994. deheader: in ./tcpip.cc, printf() portability requires <stdio.h>.
  1995. deheader: in ./tcpip.cc, strerror() portability requires <string.h>.
  1996. deheader: in ./tcpip.cc, free() portability requires <stdlib.h>.
  1997. deheader: in ./tcpip.cc, read() portability requires <unistd.h>.
  1998. deheader: in ./tcpip.cc, =\s*true portability requires <stdbool.h>.
  1999. deheader: remove "libnetutil/netutil.h" from ./tcpip.cc
  2000. deheader: remove "tcpip.h" from ./tcpip.cc
  2001. deheader: remove "portreasons.h" from ./tcpip.cc
  2002. deheader: remove <dnet.h> from ./tcpip.cc
  2003. deheader: remove "nbase.h" from ./tcpip.cc
  2004. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/msdos/pktdrvr.o libpcap/msdos/pktdrvr.c
  2005. libpcap/msdos/pktdrvr.c:22:17: fatal error: dos.h: No such file or directory
  2006. compilation terminated.
  2007. deheader: basic compilation failed on ./libpcap/msdos/pktdrvr.c
  2008. make: *** [libpcap/msdos/pktdrvr.o] Error 1deheader: in ./nping/stats.cc, gettimeofday() portability requires <sys/time.h>.
  2009. deheader: remove "output.h" from ./nping/stats.cc
  2010. deheader: remove "stats.h" from ./nping/stats.cc
  2011. deheader: remove "NpingOps.h" from ./nping/stats.cc
  2012. deheader: remove "nping.h" from ./nping/stats.cc
  2013. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcreposix.o libpcre/pcreposix.c
  2014. In file included from libpcre/pcreposix.c:63:0:
  2015. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  2016. libpcre/pcreposix.c: In function ‘regexec’:
  2017. libpcre/pcreposix.c:271:19: error: ‘POSIX_MALLOC_THRESHOLD’ undeclared (first use in this function)
  2018. libpcre/pcreposix.c:271:19: note: each undeclared identifier is reported only once for each function it appears in
  2019. libpcre/pcreposix.c:271:5: warning: unused variable ‘small_ovector’ [-Wunused-variable]
  2020. libpcre/pcreposix.c: At top level:
  2021. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  2022. deheader: basic compilation failed on ./libpcre/pcreposix.c
  2023. make: *** [libpcre/pcreposix.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-dag.o libpcap/pcap-dag.c
  2024. libpcap/pcap-dag.c:19:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  2025. libpcap/pcap-dag.c:46:20: fatal error: dagnew.h: No such file or directory
  2026. compilation terminated.
  2027. deheader: basic compilation failed on ./libpcap/pcap-dag.c
  2028. make: *** [libpcap/pcap-dag.o] Error 1deheader: in ./nping/utils_net.cc, memset() portability requires <string.h>.
  2029. deheader: in ./nping/utils_net.cc, inet_ntoa() portability requires <arpa/inet.h>.
  2030. deheader: in ./nping/utils_net.cc, snprintf() portability requires <stdio.h>.
  2031. deheader: in ./nping/utils_net.cc, strcasecmp() portability requires <strings.h>.
  2032. deheader: in ./nping/utils_net.cc, free() portability requires <stdlib.h>.
  2033. deheader: in ./nping/utils_net.cc, =\s*false portability requires <stdbool.h>.
  2034. deheader: in ./nping/utils_net.cc, gethostbyname() portability requires <netdb.h>.
  2035. deheader: in ./nping/utils_net.cc, isxdigit() portability requires <ctype.h>.
  2036. deheader: in ./nping/utils_net.cc, sendto() portability requires <sys/socket.h>.
  2037. deheader: remove <vector> from ./nping/utils_net.cc
  2038. deheader: remove "pcap.h" from ./nping/utils_net.cc
  2039. deheader: remove "global_structures.h" from ./nping/utils_net.cc
  2040. deheader: remove "nping.h" from ./nping/utils_net.cc
  2041. deheader: remove "dnet.h" from ./nping/utils_net.cc
  2042. deheader: remove "nbase.h" from ./nping/utils_net.cc
  2043. deheader: remove "blas.h" from ./liblinear/blas/dscal.c
  2044. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_fullinfo.o libpcre/pcre_fullinfo.c
  2045. In file included from libpcre/pcre_fullinfo.c:51:0:
  2046. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  2047. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  2048. deheader: basic compilation failed on ./libpcre/pcre_fullinfo.c
  2049. make: *** [libpcre/pcre_fullinfo.o] Error 1deheader: remove "lobject.h" from ./liblua/ldump.c
  2050. deheader: remove <stddef.h> from ./liblua/ldump.c
  2051. deheader: remove "lua.h" from ./liblua/ldump.c
  2052. deheader: remove "lzio.h" from ./liblua/lzio.c
  2053. deheader: remove "lmem.h" from ./liblua/lzio.c
  2054. deheader: remove "lua.h" from ./liblua/lzio.c
  2055. deheader: remove "lstate.h" from ./liblua/lzio.c
  2056. deheader: remove "llimits.h" from ./liblua/lzio.c
  2057. deheader: in ./nsock/tests/connect.c, calloc() portability requires <stdlib.h>.
  2058. deheader: in ./nsock/tests/connect.c, memset() portability requires <string.h>.
  2059. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/fad-getad.o libpcap/fad-getad.c
  2060. libpcap/fad-getad.c:36:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  2061. deheader: basic compilation failed on ./libpcap/fad-getad.c
  2062. make: *** [libpcap/fad-getad.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_config.o libpcre/pcre_config.c
  2063. In file included from libpcre/pcre_config.c:50:0:
  2064. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  2065. libpcre/pcre_config.c: In function ‘pcre_config’:
  2066. libpcre/pcre_config.c:89:21: error: ‘NEWLINE’ undeclared (first use in this function)
  2067. libpcre/pcre_config.c:89:21: note: each undeclared identifier is reported only once for each function it appears in
  2068. libpcre/pcre_config.c:101:21: error: ‘LINK_SIZE’ undeclared (first use in this function)
  2069. libpcre/pcre_config.c:105:21: error: ‘POSIX_MALLOC_THRESHOLD’ undeclared (first use in this function)
  2070. libpcre/pcre_config.c:109:30: error: ‘MATCH_LIMIT’ undeclared (first use in this function)
  2071. libpcre/pcre_config.c:113:30: error: ‘MATCH_LIMIT_RECURSION’ undeclared (first use in this function)
  2072. libpcre/pcre_config.c: At top level:
  2073. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  2074. deheader: basic compilation failed on ./libpcre/pcre_config.c
  2075. make: *** [libpcre/pcre_config.o] Error 1gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcap/pcap-dlpi.o libpcap/pcap-dlpi.c
  2076. libpcap/pcap-dlpi.c:72:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_’
  2077. libpcap/pcap-dlpi.c:85:22: fatal error: sys/dlpi.h: No such file or directory
  2078. compilation terminated.
  2079. deheader: basic compilation failed on ./libpcap/pcap-dlpi.c
  2080. make: *** [libpcap/pcap-dlpi.o] Error 1deheader: in ./nsock/src/nsock_event.c, gettimeofday() portability requires <sys/time.h>.
  2081. deheader: remove "gh_list.h" from ./nsock/src/nsock_event.c
  2082. deheader: remove "nsock_internal.h" from ./nsock/src/nsock_event.c
  2083. deheader: remove "nsock_log.h" from ./nsock/src/nsock_event.c
  2084. deheader: in ./timing.cc, gettimeofday() portability requires <sys/time.h>.
  2085. deheader: in ./timing.cc, memcpy() portability requires <string.h>.
  2086. deheader: in ./timing.cc, usleep() portability requires <unistd.h>.
  2087. deheader: in ./timing.cc, time() portability requires <time.h>.
  2088. deheader: in ./timing.cc, free() portability requires <stdlib.h>.
  2089. deheader: in ./timing.cc, =\s*false portability requires <stdbool.h>.
  2090. deheader: in ./timing.cc, fmod() portability requires <math.h>.
  2091. deheader: in ./nsock/src/nsock_log.c, va_start() portability requires <stdarg.h>.
  2092. deheader: remove "nsock_log.h" from ./nsock/src/nsock_log.c
  2093. deheader: remove <assert.h> from ./nsock/src/nsock_log.c
  2094. deheader: remove <string.h> from ./nsock/src/nsock_log.c
  2095. deheader: remove <errno.h> from ./nsock/src/nsock_log.c
  2096. deheader: in ./nsock/src/nsock_proxy.c, free() portability requires <stdlib.h>.
  2097. deheader: in ./nsock/src/nsock_proxy.c, tolower() portability requires <ctype.h>.
  2098. deheader: in ./nsock/src/nsock_proxy.c, strncasecmp() portability requires <strings.h>.
  2099. deheader: remove "nsock_log.h" from ./nsock/src/nsock_proxy.c
  2100. deheader: remove "nsock.h" from ./nsock/src/nsock_proxy.c
  2101. gcc -g -O2 -Wall -fno-strict-aliasing -I./liblinear -I/usr/include/lua5.2 -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -c -o libpcre/pcre_version.o libpcre/pcre_version.c
  2102. In file included from libpcre/pcre_version.c:51:0:
  2103. libpcre/pcre_internal.h:340:2: error: #error LINK_SIZE must be either 2, 3, or 4
  2104. libpcre/pcre_internal.h:263:1: warning: ‘pcre_memmove’ defined but not used [-Wunused-function]
  2105. deheader: basic compilation failed on ./libpcre/pcre_version.c
  2106. make: *** [libpcre/pcre_version.o] Error 1deheader: in ./FingerPrintResults.cc, memset() portability requires <string.h>.
  2107. deheader: in ./FingerPrintResults.cc, =\s*false portability requires <stdbool.h>.
  2108. deheader: in ./FingerPrintResults.cc, free() portability requires <stdlib.h>.
  2109. deheader: remove "FingerPrintResults.h" from ./FingerPrintResults.cc
  2110. deheader: in ./libnetutil/RawData.cc, free() portability requires <stdlib.h>.
  2111. deheader: in ./libnetutil/RawData.cc, fprintf() portability requires <stdio.h>.
  2112. deheader: in ./libnetutil/RawData.cc, memcpy() portability requires <string.h>.
  2113. deheader: saw 318 files, 2082 includes, 662 removable
Add Comment
Please, Sign In to add comment