Skip to content

Instantly share code, notes, and snippets.

@archey
Created May 10, 2017 01:57
Show Gist options
  • Save archey/2a4e0ae248224b30bfd5dfa71a4ea880 to your computer and use it in GitHub Desktop.
Save archey/2a4e0ae248224b30bfd5dfa71a4ea880 to your computer and use it in GitHub Desktop.
>>> netsniff-ng: Unpacking /var/cache/distfiles/netsniff-ng-0.6.3.tar.gz...
[*] 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
In file included from /usr/include/fortify/stdlib.h:28:0,
from dissector.c:8:
/usr/include/fortify/string.h:37:1: error: 'memcpy' undeclared here (not in a function)
_FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n)
^
In file included from die.h:8:0,
from xmalloc.h:7,
from pkt_buff.h:13,
from dissector.c:13:
/usr/include/fortify/string.h: In function 'memcpy':
/usr/include/fortify/string.h:51:9: error: called object '__orig_memcpy' is not a function or function pointer
return __orig_memcpy(__od, __os, __n);
^~~~~~~~~~~~~
In file included from /usr/include/fortify/stdlib.h:28:0,
from dissector.c:8:
/usr/include/fortify/string.h:37:1: note: declared here
_FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n)
^
/usr/include/fortify/string.h: At top level:
/usr/include/fortify/string.h:64:1: error: 'memset' undeclared here (not in a function)
_FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n)
^
In file included from die.h:8:0,
from xmalloc.h:7,
from pkt_buff.h:13,
from dissector.c:13:
/usr/include/fortify/string.h: In function 'memset':
/usr/include/fortify/string.h:70:9: error: called object '__orig_memset' is not a function or function pointer
return __orig_memset(__d, __c, __n);
^~~~~~~~~~~~~
In file included from /usr/include/fortify/stdlib.h:28:0,
from dissector.c:8:
/usr/include/fortify/string.h:64:1: note: declared here
_FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n)
^
make: *** [Makefile:185: netsniff-ng/dissector.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment