[ https://issues.apache.org/jira/browse/ZOOKEEPER-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796960#action_12796960 ]
Qian Ye commented on ZOOKEEPER-612: ----------------------------------- To Benjamin Reed: Because AI_ADDRCONFIG is available since glibc 2.3.3, and I had to compile this patch on a server with glibc 2.2.5, a very old version :-( To Patrick Hunt: Thanks for your tips, really helpful > Make Zookeeper C client can be compiled by gcc of early version > --------------------------------------------------------------- > > Key: ZOOKEEPER-612 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-612 > Project: Zookeeper > Issue Type: Improvement > Components: c client > Affects Versions: 3.2.1 > Environment: Linux > Reporter: Qian Ye > Assignee: Qian Ye > Fix For: 3.3.0 > > Attachments: patch, patch > > > The original C Client, Version 3.2.1, cannot be compiled successfully by the > gcc of early version, due some declaration restriction. To compile the source > code on the server with gcc of early version, I made some modification on the > original source. What's more, some extra codes are added to make the client > be compatible with the hosts list format: ip1:port1, ip2:port2... There is > often a space after this kind of comma. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.