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

Masatake Iwasaki commented on HDFS-14900:
-----------------------------------------

from CMakeError.log:
{noformat}
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTC_cace7.dir/CheckFunctionExists.c.o   -c 
/usr/local/share/cmake-3.3/Modules/CheckFunctionExists.c
Linking C executable cmTC_cace7
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cace7.dir/link.txt 
--verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    
CMakeFiles/cmTC_cace7.dir/CheckFunctionExists.c.o  -o cmTC_cace7 -rdynamic 
-lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
{noformat}
{noformat}
Building CXX object CMakeFiles/cmTC_6c0d6.dir/src.cxx.o
/usr/bin/c++    -g -O2 -Wall -pthread -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-DPROTOC_IS_COMPATIBLE   -std=c++11 -o CMakeFiles/cmTC_6c0d6.dir/src.cxx.o -c 
/home/iwasakims/srcs/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx
/home/iwasakims/srcs/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx:1:40:
 fatal error: google/protobuf/io/printer.h: No such file or directory
 #include <google/protobuf/io/printer.h>
{noformat}


> Fix build failure of hadoop-hdfs-native-client
> ----------------------------------------------
>
>                 Key: HDFS-14900
>                 URL: https://issues.apache.org/jira/browse/HDFS-14900
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Major
>
> Build with native profile failed due to lack of protobuf resources. I did not 
> noticed this because build scceeds if protobuf-2.5.0 is installed. 
> protobuf-3.7.1 is the correct version after HADOOP-16558.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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