Patrick Hunt updated ZOOKEEPER-612:

    Status: Open  (was: Patch Available)

this fails with the following:

     [exec]      [exec] libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
 -Wall -Werror -g -O2 -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c 
  -fPIC -DPIC -o .libs/zookeeper.o
     [exec]      [exec] 
 In function `zookeeper_process':
     [exec]      [exec] 
 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.

Reply via email to