GitHub user danobi opened an issue:
https://github.com/apache/trafficserver/issues/1589
glibc 2.25 will cause compile errors
Heads up: according to the 2.25 release document:
> * The types res_sendhookact, res_send_qhook, re_send_rhook, and the
qhook and rhook members of the res_state type in have been
removed. The glibc stub resolver did not support these hooks, but
the header file did not reflect that.
This causes this build error:
```
In file included from ../../lib/records/I_RecHttp.h:28:0,
from SSLNetVConnection.cc:25:
../../lib/ts/ink_resolver.h:262:3: error: âres_send_qhookâ does not
name a type
res_send_qhook qhook; /*%< query hook */
^~
../../lib/ts/ink_resolver.h:263:3: error: âres_send_rhookâ does not
name a type
res_send_rhook rhook; /*%< response hook */
^~
In file included from ../../lib/records/I_RecHttp.h:28:0,
from SSLClientUtils.cc:23:
../../lib/ts/ink_resolver.h:262:3: error: âres_send_qhookâ does not
name a type
res_send_qhook qhook; /*%< query hook */
^~
../../lib/ts/ink_resolver.h:263:3: error: âres_send_rhookâ does not
name a type
res_send_rhook rhook; /*%< response hook */
^~
In file included from ../../lib/records/I_RecHttp.h:28:0,
from SSLUtils.cc:24:
../../lib/ts/ink_resolver.h:262:3: error: âres_send_qhookâ does not
name a type
res_send_qhook qhook; /*%< query hook */
^~
../../lib/ts/ink_resolver.h:263:3: error: âres_send_rhookâ does not
name a type
res_send_rhook rhook; /*%< response hook */
^~
In file included from
/home/daniel/Dev/projects/trafficserver/lib/records/I_RecHttp.h:28:0,
from SSLNetProcessor.cc:26:
../../lib/ts/ink_resolver.h:262:3: error: âres_send_qhookâ does not
name a type
res_send_qhook qhook; /*%< query hook */
^~
../../lib/ts/ink_resolver.h:263:3: error: âres_send_rhookâ does not
name a type
res_send_rhook rhook; /*%< response hook */
^~
make[2]: *** [Makefile:969: SSLNetProcessor.o] Error 1
make[2]: *** Waiting for unfinished jobs
In file included from ../../lib/records/I_RecHttp.h:28:0,
from SSLConfig.cc:42:
../../lib/ts/ink_resolver.h:262:3: error: âres_send_qhookâ does not
name a type
res_send_qhook qhook; /*%< query hook */
^~
../../lib/ts/ink_resolver.h:263:3: error: âres_send_rhookâ does not
name a type
res_send_rhook rhook; /*%< response hook */
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---