[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-586:
-----------------------------------

    Status: Open  (was: Patch Available)

I'm seeing two issues on cygwin 15:

 src/zookeeper.c: In function `send_set_watches':
src/zookeeper.c:1286: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
src/zookeeper.c:1287: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
src/zookeeper.c:1288: warning: passing arg 2 of `collect_keys' from incompatible
 pointer type
make: *** [zookeeper.lo] Error 1

if you cast the second args to (int*) it fixes the issue.

The second problem is:
 ./libtool: eval: line 1005: syntax error near unexpected token `|'
./libtool: eval: line 1005: `/usr/bin/nm -B   ./.libs/libzkst.a ./.libs/libhasht
able.a |  | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__n
m__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq > .lib

notice the | | btw the nm and sed calls, what's supposed to be here?


> c client does not compile under cygwin
> --------------------------------------
>
>                 Key: ZOOKEEPER-586
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-586
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, 
> ZOOKEEPER-586.patch, ZOOKEEPER-586.patch, ZOOKEEPER-586.patch
>
>
> the c client fails to compile under cygwin

-- 
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