handshake-org / libhns Goto Github PK
View Code? Open in Web Editor NEWC library for resolving handshake names (fork of c-ares)
License: Other
C library for resolving handshake names (fork of c-ares)
License: Other
Clone and build:
git clone https://github.com/handshake-org/libhns
cd libhns
./buildconf
./configure
make
Output of interest:
CC hdig-hdig.o
hdig.c:150:17: error: ‘T_TLSA’ undeclared here (not in a function)
{ "TLSA", T_TLSA },
^~~~~~
hdig.c:151:17: error: ‘T_SMIMEA’ undeclared here (not in a function)
{ "SMIMEA", T_SMIMEA },
^~~~~~~~
hdig.c:152:19: error: ‘T_OPENPGPKEY’ undeclared here (not in a function)
{ "OPENPGPKEY", T_OPENPGPKEY },
^~~~~~~~~~~~
Makefile:1739: recipe for target 'hdig-hdig.o' failed
These values are defined in nameser.h, and conditionalized on constants in hns_config.h.
Edit hns_config.h so that these constants are not defined:
/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
//#define HAVE_ARPA_NAMESER_COMPAT_H 1
/* Define to 1 if you have the <arpa/nameser.h> header file. */
//#define HAVE_ARPA_NAMESER_H 1
The code now compiles OK.
But arpa/nameser.h and arpa/nameser_compat.h exists:
$ ls /usr/include/arpa
ftp.h inet.h nameser_compat.h nameser.h telnet.h tftp.h
The T_ types used in htdig.c are not defined in them, though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.