[ 
https://issues.apache.org/jira/browse/HDFS-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Homan updated HDFS-829:
-----------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
        Assignee: Allen Wittenauer
      Resolution: Fixed

+1.  I verified that this patch allows libhdfs to compile on OSX (although 
build was still not successful, I had to manually chmod +x on 
./src/c++/libhdfs/install-sh to get a full build.  We should open a JIRA for 
this).  I've committed this.  Resolving as fixed.  Thanks, Allen.

> hdfsJniHelper.c: #include <error.h> is not portable
> ---------------------------------------------------
>
>                 Key: HDFS-829
>                 URL: https://issues.apache.org/jira/browse/HDFS-829
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>             Fix For: 0.22.0
>
>         Attachments: HDFS-632.patch, hdfs-829.patch
>
>
> hdfsJniHelper.c includes <error.h> but this appears to be unnecessary, since 
> even under Linux none of the routines that are prototyped are used.  Worse 
> yet, error.h doesn't appear to be a standard header file so this breaks on 
> Mac OS X and Solaris and prevents libhdfs from being built.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to