在Ubuntu 16.04上,Parquet CPP构建失败

时间:2017-03-29 23:08:45

标签: c++ boost parquet

我正在尝试在their instructions之后构建parquet-cpp包。在cmake .make后,我收到以下错误。

cd /go/src/github.com/ascend-io/parquet-cpp/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/reader-writer.dir/link.txt --verbose=1

/usr/bin/g++     -ggdb -O0 -std=c++11 -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -g   CMakeFiles/reader-writer.dir/reader-writer.cc.o  -o ../build/debug/reader-writer -rdynamic ../build/debug/libparquet.a ../arrow_ep/src/arrow_ep-install/lib/libarrow.so ../arrow_ep/src/arrow_ep-install/lib/libarrow_io.so /usr/lib/x86_64-linux-gnu/libboost_regex.so ../brotli_ep/src/brotli_ep-install/lib/x86_64-linux-gnu/libbrotlidec.a ../brotli_ep/src/brotli_ep-install/lib/x86_64-linux-gnu/libbrotlienc.a ../brotli_ep/src/brotli_ep-install/lib/x86_64-linux-gnu/libbrotlicommon.a ../snappy_ep/src/snappy_ep-install/lib/libsnappy.a ../thrift_ep/src/thrift_ep-install/lib/libthriftd.a ../zlib_ep/src/zlib_ep-install/lib/libz.a -Wl,-rpath,/go/src/github.com/ascend-io/parquet-cpp/arrow_ep/src/arrow_ep-install/lib 
../build/debug/libparquet.a(metadata.cc.o): In function `bool boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)':
/usr/include/boost/regex/v4/regex_match.hpp:50: 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> > >::match()'
../build/debug/libparquet.a(metadata.cc.o): In function `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> > >::perl_matcher(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, __gnu_cxx::__normal_iterator<char const*, std::string>)':
/usr/include/boost/regex/v4/perl_matcher.hpp:365: 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)'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/reader-writer.dir/build.make:104: recipe for target 'build/debug/reader-writer' failed
make[2]: *** [build/debug/reader-writer] Error 1
make[2]: Leaving directory '/go/src/github.com/ascend-io/parquet-cpp'
CMakeFiles/Makefile2:652: recipe for target 'examples/CMakeFiles/reader-writer.dir/all' failed
make[1]: *** [examples/CMakeFiles/reader-writer.dir/all] Error 2
make[1]: Leaving directory '/go/src/github.com/ascend-io/parquet-cpp'
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

0 个答案:

没有答案