Running "ant jar" fixed the unit test failure.
I'm using g++ 3.4.6. Do I need later version to get rid of
$ g++ --version
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
On 8/7/10 11:57 PM, "Patrick Hunt" <ph...@apache.org> wrote:
> What version of g++ do you have? Capture the test output and attach to
> your response. However I suspect that the server is not running (it's
> necessary to test the c client), did you "ant jar" (or similar - ie
> build the server) before testing the client?
> On 08/07/2010 04:57 PM, Michi Mutsuzaki wrote:
>> I'm having 2 issues while compiling/running c client unit test in
>> 1. I get this error from "make check":
>> g++: unrecognized option `-static-libtool-libs'
>> 2. testAsyncWatcherAutoReset is not working for me.
>> Zookeeper_simpleSystem::testAsyncWatcherAutoResetterminate called after
>> throwing an instance of 'CppUnit::Exception' what(): equality assertion
>> failed- Expected: -101- Actual : -4
>> Let me know if anybody has seen these errors.