impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitris Tsirogiannis <dtsirogian...@cloudera.com>
Subject Error linking impalad with -build_shared_libs option
Date Wed, 17 Aug 2016 17:10:32 GMT
Hey guys,

When I build from the latest master using the -build_shared_libs option I
get linking errors (see [1]). Building with static works fine. Any ideas?

Thanks
Dimitris


[1]
Linking CXX executable ../../build/debug/service/impalad
../../build/debug/util/libUtil.so: error: undefined reference to
'BZ2_bzBuffToBuffCompress'
../../build/debug/util/libUtil.so: error: undefined reference to
'snappy::MaxCompressedLength(unsigned long)'
../../build/debug/util/libUtil.so: error: undefined reference to
'snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
../../build/debug/util/libUtil.so: error: undefined reference to
'LZ4_compress'
../../build/debug/util/libUtil.so: error: undefined reference to
'BZ2_bzDecompressEnd'
../../build/debug/util/libUtil.so: error: undefined reference to
'BZ2_bzDecompressInit'
../../build/debug/util/libUtil.so: error: undefined reference to
'BZ2_bzBuffToBuffDecompress'
../../build/debug/util/libUtil.so: error: undefined reference to
'BZ2_bzDecompress'
../../build/debug/util/libUtil.so: error: undefined reference to
'snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
../../build/debug/util/libUtil.so: error: undefined reference to
'snappy::RawUncompress(char const*, unsigned long, char*)'
../../build/debug/util/libUtil.so: error: undefined reference to
'LZ4_uncompress'
../../build/debug/util/libUtil.so: error: undefined reference to 'my_strlen'
../../build/debug/util/libUtil.so: error: undefined reference to
'google_breakpad::ExceptionHandler::WriteMinidump(std::string const&, bool
(*)(google_breakpad::MinidumpDescriptor const&, void*, bool), void*)'
../../build/debug/util/libUtil.so: error: undefined reference to
'google_breakpad::ExceptionHandler::ExceptionHandler(google_breakpad::MinidumpDescriptor
const&, bool (*)(void*), bool (*)(google_breakpad::MinidumpDescriptor
const&, void*, bool), void*, bool, int)'
../../build/debug/util/libUtil.so: error: undefined reference to
'ProfilerStart'
../../build/debug/util/libUtil.so: error: undefined reference to
'ProfilerStop'
../../build/debug/util/libUtil.so: error: undefined reference to
'boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
../../build/debug/util/libUtil.so: error: undefined reference to
'boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char>
>
>::find()'
../../build/debug/util/libUtil.so: error: undefined reference to
'boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char>
>
>::construct_init(boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)'
/opt/Impala-Toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o):os-ip.c:function
ldap_int_poll: warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
/opt/Impala-Toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o):os-ip.c:function
ldap_int_poll: warning: `sys_errlist' is deprecated; use `strerror' or
`strerror_r' instead
collect2: error: ld returned 1 exit status
be/src/service/CMakeFiles/impalad.dir/build.make:166: recipe for target
'be/build/debug/service/impalad' failed
make[3]: *** [be/build/debug/service/impalad] Error 1
CMakeFiles/Makefile2:3682: recipe for target
'be/src/service/CMakeFiles/impalad.dir/all' failed
make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2
CMakeFiles/Makefile2:3694: recipe for target
'be/src/service/CMakeFiles/impalad.dir/rule' failed
make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message