c client doesn't compile on freebsd
-----------------------------------

                 Key: ZOOKEEPER-1323
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1323
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.4.0
         Environment: freebsd 6.4
            Reporter: Michi Mutsuzaki
            Assignee: Michi Mutsuzaki
             Fix For: 3.5.0


EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this 
error:

src/zookeeper.c: In function `getaddrinfo_errno':
src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
src/zookeeper.c:446: error: for each function it appears in.)
src/zookeeper.c: In function `getaddrs':
src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this 
function)

I'll submit a patch.

--Michi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to