Project

General

Profile

cross compiling WT for raspberry pi zero w

Added by Ahmed Abdelrazek over 4 years ago

I tried following https://redmine.emweb.be/projects/wt/wiki/Cross_compile_Wt_on_Raspberry_Pi to cross compile WT for my "rpi zero w"

I got many problems, and I wonder if someone here tried that recently and have a more recent and accurate steps to follow:

my target is rpi zero w, sd card flashed and running with wifi and ssh into it from host

my host is 64-bit ubuntu 18.0.4 running inside virtual box

WT version is 4.2.0

first, I got this step to work fine:

cmake ../ -DCMAKE_TOOLCHAIN_FILE=../../rpi-toolchain.cmake -DSHARED_LIBS=OFF

but then, the compilation does not see some headers like bits/byteswap.h which is on the rpi mounted directory under /usr/include/arm-linux-gnueabihf

I added the following line and rebuilt, and it passed the error, but it does not make any sense to me,

include_directories(~/mnt_rpi/usr/include/arm-linux-gnueabihf)

also if I deleted the build directory, running a fresh cmake will fail to find boost libraries because of that line.

anyway, next I got compilation errors with constexpr in 1 file that I found other people getting that too, due to older GCC compiler coming from raspberry pi tools repo.

I tried modifying the only source file that gave issues with constexpr (it is trivial change to work with older gcc) and got things to build to 98% but then linking failed with undefined references to boost related binaries which exist on the raspberry pi mounter partition!

I thought,maybe I should try newer compiler, I got newer GCC compiler from linaro but when I change the 2 lines

SET (CMAKE_C_COMPILER /home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc)

SET (CMAKE_CXX_COMPILER /home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++)

to point to the new compiler, the cmake complains about boost, I can't get my head around that, since boost is installed on the raspberry pi, not the host and the rpi is mounted. so why changing compiler version causes issues with finding boost libs?

I'm stuck for almost 2 days now in this spot, any help on cross compiling WT for rpi is appreciated.

Thanks,

Ahmed


Replies (1)

RE: cross compiling WT for raspberry pi zero w - Added by Ahmed Abdelrazek over 4 years ago

reverting back to raspberry pi tools compiler and removing the constexpr from the WT file,

here is the console output with max progress I was able to achieve. undef ref to stuff in stdlib I guess?

[ 96%] Linking CXX executable test.http

[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/dbo/Benchmark2.C.o

[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/dbo/JsonTest.C.o

[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/dbo/JsonTest2.C.o

[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/dbo/AuthDboTest.C.o

../src/libwt.a(RefEncoder.C.o): In function `replaceUrlInStyle':

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:35: undefined reference to `std::regex_iterator<_gnu_cxx::normal_iterator<char const, std::string>, char, std::regex_traits >::regex_iterator(_*gnu_cxx::_normal_iterator<char const*, std::string>,gnu_cxx::_normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits > const&, std::bitset<11u>)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:36: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::regex_iterator()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator!=(std::regex_iterator<_*gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits > const&)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:42: undefined reference to `std::regex_iterator<_*gnu_cxx::
_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator->()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator->()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator->()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator->()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator->()'

/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<_gnu_cxx::_normal_iterator<char const*, std::string>, char, std::regex_traits >::operator()'

../src/http/libwthttp.a(Configuration.C.o): In function `boost::program_options::variables_map::operator[](std::string const&) const':

/home/arazek/mnt_rpi/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o): In function `http::server::Configuration::createOptions(boost::program_options::options_description&, boost::program_options::options_description&)':

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:85: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:160: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:184: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:250: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

../src/http/libwthttp.a(Configuration.C.o): In function `boost::program_options::variables_map::operator[](std::string const&) const':

/home/arazek/mnt_rpi/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'

/home/arazek/mnt_rpi/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'

/home/arazek/mnt_rpi/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o): In function `http::server::Configuration::setOptions(std::string const&, std::vector<std::string, std::allocatorstd::string > const&, std::string const&)':

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:263: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

/home/arazek/Desktop/rpi/wt-4.2.0/src/http/Configuration.C:264: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'

../src/http/libwthttp.a(Configuration.C.o): In function `to_internal<std::basic_string >':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/convert.hpp:79: undefined reference to `boost::program_options::to_internal(std::string const&)'

../src/http/libwthttp.a(Configuration.C.o): In function `basic_command_line_parser':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/parsers.hpp:19: undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocatorstd::string > const&)'

../src/http/libwthttp.a(Configuration.C.o): In function `boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&) const':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:184: undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, std::string*, int)'

../src/http/libwthttp.a(Configuration.C.o): In function `boost::program_options::typed_value<bool, char>::xparse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&) const':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:184: undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool*, int)'

../src/http/libwthttp.a(Configuration.C.o): In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)':

/home/arazek/mnt_rpi/usr/include/boost/program_options/errors.hpp:378: undefined reference to `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)'

/home/arazek/mnt_rpi/usr/include/boost/program_options/errors.hpp:378: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)'

../src/http/libwthttp.a(Configuration.C.o): In function `~basic_string':

/home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c/4.8.3/bits/basic_string.h:539: undefined reference to `boost::program_options::arg'

/home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c/4.8.3/bits/basic_string.h:539: undefined reference to `boost::program_options::arg'

/home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c/4.8.3/bits/basic_string.h:539: undefined reference to `boost::program_options::arg'

/home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c/4.8.3/bits/basic_string.h:539: undefined reference to `boost::program_options::arg'

/home/arazek/Desktop/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c/4.8.3/bits/basic_string.h:539: undefined reference to `boost::program_options::arg'

../src/http/libwthttp.a(Configuration.C.o): In function `void boost::program_options::validate<std::string, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, std::vector<std::string, std::allocatorstd::string >*, int)':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:149: undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, std::string*, int)'

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:153: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'

../src/http/libwthttp.a(Configuration.C.o): In function `void boost::program_options::validate<int, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, int*, long)':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:95: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'

../src/http/libwthttp.a(Configuration.C.o): In function `void boost::program_options::validate<long long, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, long long*, long)':

/home/arazek/mnt_rpi/usr/include/boost/program_options/detail/value_semantic.hpp:95: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x1c): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x1c): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x18): more undefined references to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' follow

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x1c): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x1c): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options11typed_valueIxcEE[_ZTVN5boost15program_options11typed_valueIxcEE]+0x1c): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options11typed_valueISt6vectorISsSaISsEEcEE[_ZTVN5boost15program_options11typed_valueISt6vectorISsSaISsEEcEE]+0x1c): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'

../src/http/libwthttp.a(Configuration.C.o):(.rodata._ZTVN5boost15program_options11typed_valueIbcEE[_ZTVN5boost15program_options11typed_valueIbcEE]+0x1c): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tdelete@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned int, unsigned int, char const*, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_vfork@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::M_assign(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mktemp@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream(std::_Ios_Openmode)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__madvise
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__read_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::reserve(unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::runtime_error::runtime_error(char const*)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::basic_istream<wchar_t, std::char_traits >& std::getline<wchar_t, std::char_traits, std::allocator >(std::basic_istream<wchar_t, std::char_traits >&, std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >&, wchar_t)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_fcntl64
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__open64_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__getrlimit@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mprotect@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_replace(unsigned int, unsigned int, wchar_t const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtof_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::logic_error::logic_error(char const*)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__nanosleep_nocancel
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `operator delete(void*, unsigned int)
CXXABI_1.3.9'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::numpunct<char> const& std::use_facet<std::__cxx11::numpunct<char> >(std::locale const&)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::resize(unsigned int, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char const*, unsigned int, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_erase(unsigned int, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)
GLIBCXX_3.4.20'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_last_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__write_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `_IO_enable_locks@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned int, unsigned int, char const*, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::_cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tfind@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_mutate(unsigned int, unsigned int, wchar_t const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__h_errno@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::error_category::~error_category()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::logic_error::logic_error(std::logic_error const&)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtod_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__twalk@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__ctype_init@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::insert(unsigned int, char const*)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_sa_restorer@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__clock_gettime@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::compare(wchar_t const*) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `typeinfo for std::_V2::error_category@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_not_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__call_tls_dtors@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::~basic_ostringstream()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::str() const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_cxx11::basic_string<char, std::char_traits, std::allocator >::swap(std::_cxx11::basic_string<char, std::char_traits, std::allocator >&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tsearch
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__pause_nocancel
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__munmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::_cxx11::basic_string<char, std::char_traits, std::allocator >::operator=(std::_cxx11::basic_string<char, std::char_traits, std::allocator >&&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_program_options.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::error_category::_M_message[abi:cxx11](int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_rt_sa_restorer@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::generic_category()GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
test/CMakeFiles/test.http.dir/build.make:128: recipe for target 'test/test.http' failed
make[2]: *** [test/test.http] Error 1
CMakeFiles/Makefile2:384: recipe for target 'test/CMakeFiles/test.http.dir/all' failed
make[1]: *** [test/CMakeFiles/test.http.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/dbo/DboTestCompositeKey.C.o
[ 98%] Building CXX object test/CMakeFiles/test.sqlite3.dir/private/DboImplTest.C.o
[100%] Linking CXX executable test.wt
../src/libwt.a(RefEncoder.C.o): In function `replaceUrlInStyle':
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:35: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, std::bitset<11u>)'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:36: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_iterator()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:42: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tdelete
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned int, unsigned int, char const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_vfork
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::M_assign(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mktemp@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__madvise@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__read_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::runtime_error::runtime_error(char const*)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_fcntl64
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__open64_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__getrlimit@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mprotect@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_replace(unsigned int, unsigned int, wchar_t const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtof_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__nanosleep_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `operator delete(void*, unsigned int)
CXXABI_1.3.9'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_cxx11::numpunct const& std::use_facet<std::_cxx11::numpunct >(std::locale const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned int, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)GLIBCXX_3.4.20'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned int, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__write_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `_IO_enable_locks@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned int, unsigned int, char const*, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tfind@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__h_errno@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::_V2::error_category::~error_category()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `__cxa_throw_bad_array_new_length
CXXABI_1.3.8'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtod_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__twalk
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__ctype_init@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_sa_restorer
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__clock_gettime
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `typeinfo for std::_V2::error_category@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_not_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__call_tls_dtors
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::~basic_ostringstream()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_cxx11::basic_string<char, std::char_traits, std::allocator >::swap(std::_cxx11::basic_string<char, std::char_traits, std::allocator >&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tsearch
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__pause_nocancel
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__munmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::~basic_string()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::_V2::error_category::_M_message[abi:cxx11](int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_rt_sa_restorer@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::_V2::generic_category()GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
test/CMakeFiles/test.wt.dir/build.make:1167: recipe for target 'test/test.wt' failed
make[2]: *** [test/test.wt] Error 1
CMakeFiles/Makefile2:422: recipe for target 'test/CMakeFiles/test.wt.dir/all' failed
make[1]: *** [test/CMakeFiles/test.wt.dir/all] Error 2
[100%] Linking CXX executable test.sqlite3
../src/Wt/Dbo/backend/libwtdbosqlite3.a(sqlite3.c.o):(.data+0x174): undefined reference to `fcntl64'
../src/libwt.a(RefEncoder.C.o): In function `replaceUrlInStyle':
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:35: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, std::bitset<11u>)'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:36: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_iterator()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:42: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:44: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:52: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator->()'
/home/arazek/Desktop/rpi/wt-4.2.0/src/web/RefEncoder.C:41: undefined reference to `std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tdelete
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned int, unsigned int, char const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_vfork
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::M_assign(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mktemp@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find(char, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__madvise@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__read_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::runtime_error::runtime_error(char const*)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__libc_fcntl64
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__open64_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__getrlimit@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mprotect@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits, std::allocator >::_M_replace(unsigned int, unsigned int, wchar_t const*, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtof_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__nanosleep_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `operator delete(void*, unsigned int)
CXXABI_1.3.9'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_cxx11::numpunct const& std::use_facet<std::_cxx11::numpunct >(std::locale const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned int, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)GLIBCXX_3.4.20'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned int, unsigned int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__write_nocancel@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `_IO_enable_locks@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned int, unsigned int, char const*, unsigned int)
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tfind@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__h_errno@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::error_category::~error_category()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `__cxa_throw_bad_array_new_length
CXXABI_1.3.8'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libm.so: undefined reference to `__strtod_nan@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__twalk@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__ctype_init@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_sa_restorer
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__clock_gettime
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `typeinfo for std::_V2::error_category@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::find_first_not_of(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__call_tls_dtors
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::~basic_ostringstream()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_cxx11::basic_string<char, std::char_traits, std::allocator >::swap(std::_cxx11::basic_string<char, std::char_traits, std::allocator >&)GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__tsearch
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__pause_nocancel
GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__munmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__mmap@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_system.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::~basic_string()GLIBCXX_3.4.21'
/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::error_category::_M_message[abi:cxx11](int) const
GLIBCXX_3.4.21'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libpthread.so: undefined reference to `__default_rt_sa_restorer@GLIBC_PRIVATE'

/home/arazek/mnt_rpi/usr/lib/arm-linux-gnueabihf/libboost_thread.so: undefined reference to `std::_V2::generic_category()GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
test/CMakeFiles/test.sqlite3.dir/build.make:442: recipe for target 'test/test.sqlite3' failed
make[2]: *** [test/test.sqlite3] Error 1
CMakeFiles/Makefile2:346: recipe for target 'test/CMakeFiles/test.sqlite3.dir/all' failed
make[1]: *** [test/CMakeFiles/test.sqlite3.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
arazek
ahmed-vbox:~/Desktop/rpi/wt-4.2.0/rpi_build$

    (1-1/1)