You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2020/06/18 12:16:00 UTC

[jira] [Created] (ARROW-9169) [C++] Undefined reference when building flight code

Liya Fan created ARROW-9169:
-------------------------------

             Summary: [C++] Undefined reference when building flight code
                 Key: ARROW-9169
                 URL: https://issues.apache.org/jira/browse/ARROW-9169
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Liya Fan


When linking flight-test-server with CMakeFiles/flight-test-server.dir/link.txt, I get the following error:

../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::StrCat[abi:cxx11](absl::AlphaNum const&, absl::AlphaNum const&, absl::AlphaNum const&)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::strings_internal::CatPieces[abi:cxx11](std::initializer_list<absl::string_view>)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::numbers_internal::FastIntToBuffer(long, char*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::numbers_internal::FastIntToBuffer(unsigned long, char*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::str_format_internal::FormatPack[abi:cxx11](absl::str_format_internal::UntypedFormatSpecImpl, absl::Span<absl::str_format_internal::FormatArgImpl const>)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::numbers_internal::SixDigitsToBuffer(double, char*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::base_internal::ThrowStdOutOfRange(char const*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::string_view::find(char, unsigned long) const'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::StrCat[abi:cxx11](absl::AlphaNum const&, absl::AlphaNum const&, absl::AlphaNum const&, absl::AlphaNum const&)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::FormatTime[abi:cxx11](absl::Time)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `bool absl::str_format_internal::FormatArgImpl::Dispatch<char const*>(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `bool absl::str_format_internal::FormatArgImpl::Dispatch<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(absl::str_format_internal::FormatArgImpl::Data, absl::str_format_internal::FormatConversionSpecImpl, void*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::numbers_internal::FastIntToBuffer(unsigned int, char*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::EqualsIgnoreCase(absl::string_view, absl::string_view)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::StrCat[abi:cxx11](absl::AlphaNum const&, absl::AlphaNum const&)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::numbers_internal::FastIntToBuffer(int, char*)'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::optional_internal::throw_bad_optional_access()'
../../../debug/libarrow_flight.so.100.0.0: undefined reference to `absl::ByChar::Find(absl::string_view, unsigned long) const'

it seems absl has been installed successfully by cmake. 



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