You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Kavinder Dhaliwal (JIRA)" <ji...@apache.org> on 2016/06/07 23:20:21 UTC

[jira] [Created] (HAWQ-785) Failure running `make -j8 all`

Kavinder Dhaliwal created HAWQ-785:
--------------------------------------

             Summary: Failure running `make -j8 all`
                 Key: HAWQ-785
                 URL: https://issues.apache.org/jira/browse/HAWQ-785
             Project: Apache HAWQ
          Issue Type: Bug
          Components: libhdfs
            Reporter: Kavinder Dhaliwal
            Assignee: Lei Chang


I am trying to build hawq on a local OS X 10.10 environment with gcc version 5.3.0

I can succesfully run 

{code}
./configure CFLAGS="-O3 -g" CXXFLAGS="-O3 -g" LDFLAGS= --with-pgport=5432 --with-libedit-preferred --enable-email --enable-snmp --with-perl --with-python --with-java --with-openssl --with-pam --without-krb5 --with-gssapi --with-ldap --with-r --with-pgcrypto --enable-orca --prefix=~/hawq_install/
{code}

However when I run `make -j8 all` I get many errors related to building libhdfs3 such as

{code}
Undefined symbols for architecture x86_64:
  "google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc
ator<char> > const&))", referenced from:
      Hdfs::Internal::protobuf_AddDesc_ClientDatanodeProtocol_2eproto()     in ClientDatanodeProtocol.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_ClientNamenodeProtocol_2eproto()     in ClientNamenodeProtocol.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_datatransfer_2eproto()     in datatransfer.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_hdfs_2eproto()     in hdfs.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_IpcConnectionContext_2eproto()     in IpcConnectionContext.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_ProtobufRpcEngine_2eproto()     in ProtobufRpcEngine.pb.cc.o
      Hdfs::Internal::protobuf_AddDesc_RpcHeader_2eproto()     in RpcHeader.pb.cc.o
...
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[4]: *** [src/libhdfs3.2.2.31.dylib] Error 1
make[3]: *** [src/CMakeFiles/libhdfs3-shared.dir/all] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)