Igor Galić created TS-2331:
------------------------------

             Summary: Build issue on Ubuntu 12.04: conversion error in 
ink_gethostbyname_r()
                 Key: TS-2331
                 URL: https://issues.apache.org/jira/browse/TS-2331
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
            Reporter: Igor Galić


{code}
  CXX      ink_inet.lo
ink_inet.cc: In function 'hostent* ink_gethostbyname_r(char*, 
ink_gethostbyname_r_data*)':
ink_inet.cc:61:52: error: cannot convert 'int*' to 'hostent**' for argument '5' 
to 'int gethostbyname_r(const char*, hostent*, char*, size_t, hostent**, int*)'
ink_inet.cc: In function 'hostent* ink_gethostbyaddr_r(char*, int, int, 
ink_gethostbyaddr_r_data*)':
ink_inet.cc:86:52: error: cannot convert 'int*' to 'hostent**' for argument '7' 
to 'int gethostbyaddr_r(const void*, __socklen_t, int, hostent*, char*, size_t, 
hostent**, int*)'
make[5]: *** [ink_inet.lo] Error 1
make[5]: Leaving directory `/build/trafficserver/lib/ts'
make[4]: *** [all] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to