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

ASF GitHub Bot commented on HADOOP-19170:
-----------------------------------------

zhengchenyu opened a new pull request, #6822:
URL: https://github.com/apache/hadoop/pull/6822

   ### Description of PR
   
   When I build hadoop-common native in Mac OS, I found this error:
   
   
/xxxxx/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:114:50:
 error: function-like macro '__GLIBC_PREREQ' is not defined
   #if defined(__sun) || defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 32) 
   The reason is that Mac OS does not support glibc. And C conditional 
compilation requires validation of all expressions.
   
   ### How was this patch tested?
   
   Compile on Linux and Mac OS
   
   ### For code changes:
   
   - Fixes compilation issues on non-Linux systems
   
   




> Fixes compilation issues on non-Linux systems
> ---------------------------------------------
>
>                 Key: HADOOP-19170
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19170
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Chenyu Zheng
>            Assignee: Chenyu Zheng
>            Priority: Major
>
> When I build hadoop-common native in Mac OS, I found this error:
> {code:java}
> /xxxxx/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:114:50:
>  error: function-like macro '__GLIBC_PREREQ' is not defined
> #if defined(__sun) || defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 32) {code}
> The reason is that Mac OS does not support glibc. And C conditional 
> compilation requires validation of all expressions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to