[ https://issues.apache.org/jira/browse/HDFS-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345943#comment-14345943 ]
Haohui Mai commented on HDFS-7879: ---------------------------------- Note that the UNIX platform has the same problem. The issue does not surface because by default the compiler exports all the symbol. To fix this, we need to make all functions with hidden visibility (i.e., {{-fhidden-visiliblity}}) as well, and we can define {{LIBHDFS_EXTERNAL}} to {{((visibility ("default")))}} to make it work on Linux. Please see https://gcc.gnu.org/wiki/Visibility for more details. > hdfs.dll does not export functions of the public libhdfs API. > ------------------------------------------------------------- > > Key: HDFS-7879 > URL: https://issues.apache.org/jira/browse/HDFS-7879 > Project: Hadoop HDFS > Issue Type: Bug > Components: build, libhdfs > Affects Versions: 2.6.0 > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-7879.001.patch > > > HDFS-573 enabled libhdfs to be built for Windows. This did not include > marking the public API functions for export in hdfs.dll though, effectively > making dynamic linking scenarios impossible. -- This message was sent by Atlassian JIRA (v6.3.4#6332)