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

hunshenshi edited comment on HDFS-14425 at 4/15/19 9:03 AM:
------------------------------------------------------------

[~jojochuang]

My env:
{code:java}
// gcc version
➜ ~ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
// operating system info
Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; 
root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64{code}
OK , I will offer a patch , Thanks 


was (Author: hunhun):
[~jojochuang]

My env:
{code:java}
// gcc version
➜ ~ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
// operating system info
Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; 
root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64{code}
OK , I will offer a patch 

> Native build fails on macos due to jlong in hdfs.c
> --------------------------------------------------
>
>                 Key: HDFS-14425
>                 URL: https://issues.apache.org/jira/browse/HDFS-14425
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: hunshenshi
>            Priority: Major
>
> [WARNING] 
> /Users/xx/tmp/idea/hadoop-3.2.0-src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c:3033:/Users/xx/tmp/idea/hadoop-3.2.0-src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c:3033:4949::
>   warningwarning: : incompatible pointer types passing 'tOffset *' (aka 'long 
> long *') to parameter of type 'jlong *' (aka 'long *') 
> [-Wincompatible-pointer-types]incompatible pointer types passing 'tOffset *' 
> (aka 'long long *') to parameter of type 'jlong *' (aka 'long *') 
> [-Wincompatible-pointer-types]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to