Skip to content

Instantly share code, notes, and snippets.

@alpaca-tc
Created April 30, 2013 10:58
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 alpaca-tc/5488019 to your computer and use it in GitHub Desktop.
Save alpaca-tc/5488019 to your computer and use it in GitHub Desktop.
https://github.com/mmoya/thc-ipv6
gcc -O2 -D_HAVE_SSL -I/usr/local/Cellar/readline/6.2.4/include -c -o thc-ipv6-lib.o thc-ipv6-lib.c
thc-ipv6-lib.c: In function ‘thc_look_neighborcache’:
thc-ipv6-lib.c:692: error: storage size of ‘nladdr’ isn’t known
thc-ipv6-lib.c:699: error: ‘AF_NETLINK’ undeclared (first use in this function)
thc-ipv6-lib.c:699: error: (Each undeclared identifier is reported only once
thc-ipv6-lib.c:699: error: for each function it appears in.)
thc-ipv6-lib.c:699: error: ‘NETLINK_ROUTE’ undeclared (first use in this function)
thc-ipv6-lib.c:700: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_nl’
thc-ipv6-lib.c:700: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_nl’
thc-ipv6-lib.c:
thc-ipv6-lib.c:2841: warning: ‘RSA_generate_key’ is deprecated (declared at /usr/include/openssl/rsa.h:261)
thc-ipv6-lib.c: In function ‘thc_generate_cga’:
thc-ipv6-lib.c:2872: warning: ‘i2d_RSA_PUBKEY’ is deprecated (declared at /usr/include/openssl/x509.h:910)
thc-ipv6-lib.c:2878: warning: ‘i2d_RSA_PUBKEY’ is deprecated (declared at /usr/include/openssl/x509.h:910)
thc-ipv6-lib.c:2896: warning: ‘SHA1’ is deprecated (declared at /usr/include/openssl/sha.h:124)
thc-ipv6-lib.c: In function ‘thc_generate_rsa’:
thc-ipv6-lib.c:2962: warning: ‘SHA1’ is deprecated (declared at /usr/include/openssl/sha.h:124)
thc-ipv6-lib.c:2967: warning: ‘SHA1’ is deprecated (declared at /usr/include/openssl/sha.h:124)
thc-ipv6-lib.c:2974: warning: ‘RSA_size’ is deprecated (declared at /usr/include/openssl/rsa.h:256)
thc-ipv6-lib.c:2979: warning: ‘RSA_sign’ is deprecated (declared at /usr/include/openssl/rsa.h:336)
thc-ipv6-lib.c: In function ‘thc_bind_udp_port’:
thc-ipv6-lib.c:3170: error: ‘IPV6_RECVPKTINFO’ undeclared (first use in this function)
make: *** [thc-ipv6-lib.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment