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

Allen Wittenauer commented on HADOOP-7147:
------------------------------------------

BTW, Colin, see my note in the other bug about using get*_r routines on 
Solaris. Now that we're in cmake-ville, I haven't figured out how to do OS or 
compiler detection to do the correct thing on non-gcc/non-Linux.  (e.g., on 
Darwin, we should *really* be passing -framework JavaVM amongst other flags 
when building libhadoop.dylib so we get linked properly, can build a fat 
binary, etc.).
                
> setnetgrent in native code is not portable
> ------------------------------------------
>
>                 Key: HADOOP-7147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7147
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-7147.patch, hadoop-7147.patch
>
>
> HADOOP-6864 uses the setnetgrent function in a way which is not compatible 
> with BSD APIs, where the call returns void rather than int. This prevents the 
> native libs from building on OSX, for example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to