[GitHub] trafficserver issue #1589: glibc 2.25 will cause compile errors

2017-03-16 Thread zwoop
Github user zwoop commented on the issue:

https://github.com/apache/trafficserver/issues/1589
  
@PSUdaemon You were mucking around in this mess a while back (even though I 
tried to keep you out of the rat hole ... ;). Can you take a look at this? It 
sounds similar to the issues you had, where we are using old, obsolete symbols 
and definitions.


---
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.
---


[GitHub] trafficserver issue #1589: glibc 2.25 will cause compile errors

2017-03-16 Thread danobi
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.
---