Skip to content

Instantly share code, notes, and snippets.

@archey
Created May 12, 2017 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save archey/67f3f40c76c57751c4d3bc46a65e5f55 to your computer and use it in GitHub Desktop.
Save archey/67f3f40c76c57751c4d3bc46a65e5f55 to your computer and use it in GitHub Desktop.
>>> netsniff-ng: Cleaning temporary build dirs...
>>> netsniff-ng: Checking sha512sums...
netsniff-ng-0.6.3.tar.gz: OK
fortified-headers.patch: OK
>>> netsniff-ng: Unpacking /var/cache/distfiles/netsniff-ng-0.6.3.tar.gz...
>>> netsniff-ng: fortified-headers.patch
patching file built_in.h
patching file csum.h
patching file link.c
[*] Checking compiler gcc ... [YES]
[*] Checking linker gcc ... [YES]
[*] Checking pkg-config ... [YES]
[*] Checking flex ... [YES]
[*] Checking bison ... [YES]
[*] Checking nacl ... [YES]
[*] Checking libnl ... [YES]
[*] Checking libnl-route ... [YES]
[*] Checking tpacket_v2 ... [YES]
[*] Checking tpacket_v3 ... [YES]
[*] Checking libnetfilter-conntrack ... [YES]
[*] Checking ncurses ... [YES]
[*] Checking libGeoIP ... [YES]
[*] Checking libz ... [YES]
[*] Checking liburcu ... [YES]
[*] Checking libpcap ... [YES]
[*] Checking hw timestamping ... [YES]
[*] Checking libcli ... [YES]
[*] Checking libnet ... [YES]
[*] Generating config.h ...
[*] Looks good! All tools will be built!
Building netsniff-ng toolkit (0.6.3+) for x86_64-alpine-linux-musl:
Building netsniff-ng:
CC dissector.c
CC dissector_sll.c
CC dissector_eth.c
CC dissector_80211.c
CC dissector_netlink.c
CC lookup.c
CC proto_arp.c
CC proto_ethernet.c
CC proto_icmpv4.c
CC proto_icmpv6.c
CC proto_igmp.c
CC proto_ip_authentication_hdr.c
CC proto_ip_esp.c
CC proto_ipv4.c
CC proto_ipv6.c
CC proto_ipv6_dest_opts.c
CC proto_ipv6_fragm.c
CC proto_ipv6_hop_by_hop.c
CC proto_ipv6_in_ipv4.c
CC proto_ipv6_mobility_hdr.c
CC proto_ipv6_no_nxt_hdr.c
CC proto_ipv6_routing.c
CC proto_lldp.c
CC proto_none.c
CC proto_tcp.c
CC proto_udp.c
CC proto_vlan.c
CC proto_vlan_q_in_q.c
CC proto_mpls_unicast.c
CC proto_80211_mac_hdr.c
CC privs.c
CC proc.c
CC dev.c
CC str.c
CC sig.c
CC sock.c
CC irq.c
CC iosched.c
CC ioops.c
CC link.c
CC xmalloc.c
CC hash.c
CC bpf.c
CC pcap_rw.c
CC pcap_sg.c
CC pcap_mm.c
CC ring_rx.c
CC ring_tx.c
CC ring.c
CC tprintf.c
CC timer.c
CC die.c
CC sysctl.c
CC netsniff-ng.c
CC bpf_comp.c
CC geoip.c
CC tstamping.c
CC mac80211.c
CC proto_nlmsg.c
LD netsniff-ng
Building trafgen:
LEX trafgen_lexer.l
YAAC trafgen_parser.y
CC xmalloc.c
CC die.c
CC ioops.c
CC privs.c
CC proc.c
CC dev.c
CC irq.c
CC link.c
CC str.c
CC sig.c
CC sock.c
CC ring_tx.c
CC ring.c
CC timer.c
CC sysctl.c
CC cpp.c
In file included from cpp.c:7:0:
proc.h:11:31: error: unknown type name 'ino_t'
extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t *pid);
^~~~~
proc.h:11:69: error: unknown type name 'pid_t'
extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t *pid);
^~~~~
proc.h:12:25: error: unknown type name 'pid_t'
extern bool proc_exists(pid_t pid);
^~~~~
make: *** [Makefile:185: trafgen/cpp.o] Error 1
>>> ERROR: netsniff-ng: all failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment