Skip to content

Instantly share code, notes, and snippets.

@archey
Created May 13, 2017 13:02
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/da240d7139ec72fe380547a9955d091d to your computer and use it in GitHub Desktop.
Save archey/da240d7139ec72fe380547a9955d091d to your computer and use it in GitHub Desktop.
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
CC pcap_sg.c
CC pcap_rw.c
CC pcap_mm.c
CC iosched.c
CC trafgen_proto.c
CC trafgen_l2.c
CC trafgen_l3.c
CC trafgen_l4.c
CC trafgen/trafgen_lexer.yy.c
CC trafgen/trafgen_parser.tab.c
CC trafgen.c
CC mac80211.c
LD trafgen
Building astraceroute:
CC xmalloc.c
CC proto_none.c
CC tprintf.c
CC bpf.c
CC str.c
CC sig.c
CC sock.c
CC link.c
CC dev.c
CC ring.c
CC die.c
CC sysctl.c
CC astraceroute.c
CC geoip.c
CC ioops.c
LD astraceroute
Building flowtop:
CC xmalloc.c
CC str.c
CC sig.c
CC sock.c
CC proc.c
CC dev.c
CC link.c
CC hash.c
CC lookup.c
CC screen.c
CC die.c
CC sysctl.c
CC ui.c
CC flowtop.c
CC geoip.c
CC ioops.c
LD flowtop
Building ifpps:
CC xmalloc.c
CC ioops.c
CC str.c
CC link.c
CC sock.c
CC dev.c
CC sig.c
CC screen.c
CC die.c
CC sysctl.c
CC ifpps.c
LD ifpps
Building bpfc:
LEX bpf_lexer.l
YAAC bpf_parser.y
CC xmalloc.c
CC str.c
CC bpf.c
CC bpfc/bpf_lexer.yy.c
CC bpfc/bpf_parser.tab.c
CC die.c
CC sysctl.c
CC proc.c
CC cpp.c
CC bpfc.c
LD bpfc
Building curvetun:
CC xmalloc.c
CC epoll2.c
CC str.c
CC dev.c
CC stun.c
CC sock.c
CC sig.c
CC link.c
CC patricia.c
CC corking.c
CC trie.c
CC taia.c
CC hash.c
CC rnd.c
CC curve.c
In file included from curve.h:9:0,
from curve.c:22:
curve.c: In function 'curve25519_proto_init':
crypto.h:15:30: warning: ignoring return value of 'crypto_box_curve25519xsalsa20poly1305_beforenm', declared with attribute warn_unused_result [-Wunused-result]
#define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
crypto.h:15:30: note: in definition of macro 'crypto_box_beforenm'
#define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC curve_test.c
curve_test.c: In function 'curve25519_selftest':
curve_test.c:74:2: warning: ignoring return value of 'crypto_box_curve25519xsalsa20poly1305', declared with attribute warn_unused_result [-Wunused-result]
crypto_box_curve25519xsalsa20poly1305(c, m, 163, nonce, bobpk, alicesk);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC cookie.c
cookie.c:44:8: error: unknown type name 'cookie_io_functions_t'
static cookie_io_functions_t cookie_log = {
^~~~~~~~~~~~~~~~~~~~~
cookie.c:45:2: error: field name not in record or union initializer
.write = cookie_writer,
^
cookie.c:45:2: note: (near initialization for 'cookie_log')
cookie.c:45:12: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
.write = cookie_writer,
^~~~~~~~~~~~~
cookie.c:45:12: note: (near initialization for 'cookie_log')
cookie.c:45:12: error: initializer element is not computable at load time
cookie.c:45:12: note: (near initialization for 'cookie_log')
cookie.c: In function 'to_std_log':
cookie.c:50:16: warning: implicit declaration of function 'fopencookie' [-Wimplicit-function-declaration]
setvbuf(*fp = fopencookie(NULL, "w", cookie_log), NULL, _IOLBF, 0);
^~~~~~~~~~~
cookie.c:50:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
setvbuf(*fp = fopencookie(NULL, "w", cookie_log), NULL, _IOLBF, 0);
^
make: *** [Makefile:185: curvetun/cookie.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