[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791425#comment-13791425
 ] 

Germán Blanco commented on ZOOKEEPER-1742:
------------------------------------------

I will give it a try, it will take around a week though.
The current test programs for the C API are linked to the same library that is 
part of the release, that is the library that is used for the client 
applications. In order for the test to work without the wrap option, one 
possibility would be to create a different library with just a few function 
names changed (those functions that are now *wrapped*) and use this library 
only for the test programs. 
If I find out how to link the test programs with the shared library version 
instead of the static library maybe that wouldn't be necessary. If anybody can 
tell me how to do that, please do.

> "make check" doesn't work on macos
> ----------------------------------
>
>                 Key: ZOOKEEPER-1742
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1742
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Assignee: Benjamin Reed
>             Fix For: 3.4.6, 3.5.0
>
>
> There are two problems I have spotted when running "make check" with the C 
> client. First, it complains that the sleep call is not defined in two test 
> files: tests/ZooKeeperQuorumServer.cc and tests/TestReconfigServer.cc. 
> Including unistd.h works. The second problem is with linker options. It 
> complains that "--wrap" is not a valid. I'm not sure how to deal with this 
> one yet, since I'm not sure why we are using it.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to