我正在尝试使用 cygwin 在 Windows 上安装 zookeeper c 绑定
我收到以下错误
Creating library file: .libs/libzookeeper_st.dll.a
./.libs/libzkst.a(zk_hashtable.o): In function `collectWatchers':
/usr/local/zookeeper-3.4.3/src/c/src/zk_hashtable.c:285: undefined reference to `__imp__ZOO_SESSION_EVENT'
./.libs/libzkst.a(zk_hashtable.o): In function `do_foreach_watcher':
/usr/local/zookeeper-3.4.3/src/c/src/zk_hashtable.c:273: undefined reference to `__imp__ZOO_SESSION_EVENT'
collect2: ld returned 1 exit status
Makefile:567: recipe for target `libzookeeper_st.la' failed
make: *** [libzookeeper_st.la] Error 1
它在 linux CentOS 下编译良好