[
https://issues.apache.org/jira/browse/ZOOKEEPER-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332372#comment-14332372
]
Michi Mutsuzaki commented on ZOOKEEPER-2114:
--------------------------------------------
+1 Thank you for the patch, Tim!
> jute generated allocate_* functions are not externally visible
> --------------------------------------------------------------
>
> Key: ZOOKEEPER-2114
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2114
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.5.0
> Reporter: Tim Crowder
> Assignee: Tim Crowder
> Fix For: 3.4.7, 3.5.1, 3.6.0
>
> Attachments: zk-makefile-patch
>
>
> Some jute generated functions (e.g. allocate_ACL_vector) that should be
> publicly exported are given local (vs global) linkage. This is due to an
> incomplete regex for EXPORT_SYMBOLS in the C Makefile.am.
> Without allocate_ACL_vector it's not possible to set ACL lists from C.
> The regex should include "allocate_" :
> EXPORT_SYMBOLS =
> '(zoo_|zookeeper_|zhandle|Z|format_log_message|log_message|logLevel|deallocate_|allocate_|zerror|is_unrecoverable)'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)