[ https://issues.apache.org/jira/browse/ZOOKEEPER-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-612: ----------------------------------- Status: Open (was: Patch Available) this fails with the following: [exec] [exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c -I/grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/include -I/grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/tests -I/grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/generated -Wall -Werror -g -O2 -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c /grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/src/zookeeper.c -fPIC -DPIC -o .libs/zookeeper.o [exec] [exec] /grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/src/zookeeper.c: In function `zookeeper_process': [exec] [exec] /grid/0/hudson/hudson-slave/workspace/Zookeeper-Patch-h7.grid.sp2.yahoo.net/trunk/src/c/src/zookeeper.c:1813: error: syntax error before "if" [exec] [exec] make: *** [zookeeper.lo] Error 1 > 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, ZOOKEEPER-612.patch, ZOOKEEPER-612.patch, > ZOOKEEPER-612.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.