Bug #8332
closedCannot compile wt 4.5.0 on raspbian
100%
Description
Hi,
On raspbian, here is what I get:
pi@raspberrypi:~/wt-build/wt-4.5.0 $ cd build/
pi@raspberrypi:~/wt-build/wt-4.5.0/build $ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
m-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
ake -- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-j 3-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/arm-linux-gnueabihf/libpng.so (found version "1.6.36")
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1165 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1167 ] Boost_USE_MULTITHREADED = ON
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1169 ] Boost_USE_STATIC_LIBS =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1171 ] Boost_USE_STATIC_RUNTIME =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1173 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1175 ] Boost_NO_SYSTEM_PATHS =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1243 ] Declared as CMake or Environmental Variables:
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1245 ] BOOST_ROOT = /usr
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1247 ] BOOST_INCLUDEDIR =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1249 ] BOOST_LIBRARYDIR =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1251 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1326 ] Include debugging info:
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1328 ] _boost_INCLUDE_SEARCH_DIRS = /usr/include;/usr;PATHS;C:/boost/include;C:/boost;/sw/local/include
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1330 ] _boost_PATH_SUFFIXES = boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_60;boost_1_60;boost/boost-1_60;boost/boost_1_60;boost-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_62;boost_1_62;boost/boost-1_62;boost/boost_1_62;boost-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_64;boost_1_64;boost/boost-1_64;boost/boost_1_64;boost-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_65_1;boost_1_65_1;boost/boost-1_65_1;boost/boost_1_65_1;boost-1_66;boost_1_66;boost/boost-1_66;boost/boost_1_66;boost-1_67;boost_1_67;boost/boost-1_67;boost/boost_1_67;boost-1_68;boost_1_68;boost/boost-1_68;boost/boost_1_68;boost-1_69;boost_1_69;boost/boost-1_69;boost/boost_1_69;boost-1_70;boost_1_70;boost/boost-1_70;boost/boost_1_70;boost-1_71;boost_1_71;boost/boost-1_71;boost/boost_1_71;boost-1_72;boost_1_72;boost/boost-1_72;boost/boost_1_72;boost-1_73;boost_1_73;boost/boost-1_73;boost/boost_1_73;boost-1_74;boost_1_74;boost/boost-1_74;boost/boost_1_74;boost-1_75;boost_1_75;boost/boost-1_75;boost/boost_1_75;boost-1_76;boost_1_76;boost/boost-1_76;boost/boost_1_76;boost-1_77;boost_1_77;boost/boost-1_77;boost/boost_1_77;boost-1_78;boost_1_78;boost/boost-1_78;boost/boost_1_78;boost-1_79;boost_1_79;boost/boost-1_79;boost/boost_1_79;boost-1_69_0;boost_1_69_0;boost/boost-1_69_0;boost/boost_1_69_0;boost-1_69;boost_1_69;boost/boost-1_69;boost/boost_1_69;boost-1_68_0;boost_1_68_0;boost/boost-1_68_0;boost/boost_1_68_0;boost-1_68;boost_1_68;boost/boost-1_68;boost/boost_1_68;boost-1_67_0;boost_1_67_0;boost/boost-1_67_0;boost/boost_1_67_0;boost-1_67;boost_1_67;boost/boost-1_67;boost/boost_1_67;boost-1_66_0;boost_1_66_0;boost/boost-1_66_0;boost/boost_1_66_0;boost-1_66;boost_1_66;boost/boost-1_66;boost/boost_1_66;boost-1_65_1;boost_1_65_1;boost/boost-1_65_1;boost/boost_1_65_1;boost-1_65_0;boost_1_65_0;boost/boost-1_65_0;boost/boost_1_65_0;boost-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_64_0;boost_1_64_0;boost/boost-1_64_0;boost/boost_1_64_0;boost-1_64;boost_1_64;boost/boost-1_64;boost/boost_1_64;boost-1_63_0;boost_1_63_0;boost/boost-1_63_0;boost/boost_1_63_0;boost-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_62_0;boost_1_62_0;boost/boost-1_62_0;boost/boost_1_62_0;boost-1_62;boost_1_62;boost/boost-1_62;boost/boost_1_62;boost-1_61_0;boost_1_61_0;boost/boost-1_61_0;boost/boost_1_61_0;boost-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_60_0;boost_1_60_0;boost/boost-1_60_0;boost/boost_1_60_0;boost-1_60;boost_1_60;boost/boost-1_60;boost/boost_1_60;boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1350 ] location of version.hpp: /usr/include/boost/version.hpp
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1374 ] version.hpp reveals boost 1.67.0
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1460 ] guessed _boost_COMPILER = -gcc83
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1470 ] _boost_MULTITHREADED = -mt
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1554 ] _boost_RELEASE_ABI_TAG = -
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1556 ] _boost_DEBUG_ABI_TAG = -d
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1619 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib;/usr/stage/lib;/usr/include/lib;/usr/include/../lib;/usr/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib;/usr/stage/lib;/usr/include/lib;/usr/include/../lib;/usr/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc83-mt-1_67;boost_system-gcc83-mt;boost_system-mt-1_67;boost_system-mt;boost_system-mt;boost_system
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc83-mt-d-1_67;boost_system-gcc83-mt-d;boost_system-mt-d-1_67;boost_system-mt-d;boost_system-mt;boost_system
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1936 ] Boost_FOUND = 1
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1165 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1167 ] Boost_USE_MULTITHREADED = ON
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1169 ] Boost_USE_STATIC_LIBS =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1171 ] Boost_USE_STATIC_RUNTIME =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1173 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1175 ] Boost_NO_SYSTEM_PATHS =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1243 ] Declared as CMake or Environmental Variables:
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1245 ] BOOST_ROOT = /usr
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1247 ] BOOST_INCLUDEDIR =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1249 ] BOOST_LIBRARYDIR =
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1251 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1350 ] location of version.hpp: /usr/include/boost/version.hpp
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1374 ] version.hpp reveals boost 1.67.0
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1460 ] guessed _boost_COMPILER = -gcc83
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1470 ] _boost_MULTITHREADED = -mt
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1554 ] _boost_RELEASE_ABI_TAG = -
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1556 ] _boost_DEBUG_ABI_TAG = -d
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1619 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc83-mt-1_67;boost_program_options-gcc83-mt;boost_program_options-mt-1_67;boost_program_options-mt;boost_program_options-mt;boost_program_options
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc83-mt-d-1_67;boost_program_options-gcc83-mt-d;boost_program_options-mt-d-1_67;boost_program_options-mt-d;boost_program_options-mt;boost_program_options
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc83-mt-1_67;boost_filesystem-gcc83-mt;boost_filesystem-mt-1_67;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc83-mt-d-1_67;boost_filesystem-gcc83-mt-d;boost_filesystem-mt-d-1_67;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc83-mt-1_67;boost_thread-gcc83-mt;boost_thread-mt-1_67;boost_thread-mt;boost_thread-mt;boost_thread
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc83-mt-d-1_67;boost_thread-gcc83-mt-d;boost_thread-mt-d-1_67;boost_thread-mt-d;boost_thread-mt;boost_thread
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc83-mt-1_67;boost_system-gcc83-mt;boost_system-mt-1_67;boost_system-mt;boost_system-mt;boost_system
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc83-mt-d-1_67;boost_system-gcc83-mt-d;boost_system-mt-d-1_67;boost_system-mt-d;boost_system-mt;boost_system
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc83-mt-1_67;boost_chrono-gcc83-mt;boost_chrono-mt-1_67;boost_chrono-mt;boost_chrono-mt;boost_chrono
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc83-mt-d-1_67;boost_chrono-gcc83-mt-d;boost_chrono-mt-d-1_67;boost_chrono-mt-d;boost_chrono-mt;boost_chrono
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc83-mt-1_67;boost_date_time-gcc83-mt;boost_date_time-mt-1_67;boost_date_time-mt;boost_date_time-mt;boost_date_time
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc83-mt-d-1_67;boost_date_time-gcc83-mt-d;boost_date_time-mt-d-1_67;boost_date_time-mt-d;boost_date_time-mt;boost_date_time
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1809 ] Searching for ATOMIC_LIBRARY_RELEASE: boost_atomic-gcc83-mt-1_67;boost_atomic-gcc83-mt;boost_atomic-mt-1_67;boost_atomic-mt;boost_atomic-mt;boost_atomic
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1862 ] Searching for ATOMIC_LIBRARY_DEBUG: boost_atomic-gcc83-mt-d-1_67;boost_atomic-gcc83-mt-d;boost_atomic-mt-d-1_67;boost_atomic-mt-d;boost_atomic-mt;boost_atomic
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:403 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/arm-linux-gnueabihf _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/arm-linux-gnueabihf;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /usr/share/cmake-3.13/Modules/FindBoost.cmake:1936 ] Boost_FOUND = 1
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- libharu libraries not found - set HARU_PREFIX
-- OpenGL libraries not found
-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libcrypto.so (found version "1.1.1d")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'pangoft2'
-- No package 'pangoft2' found
-- Looking for connect
-- Looking for connect - found
-- Looking for sin
-- Looking for sin - not found
-- Found unsuitable Qt version "" from NOTFOUND
CMake Warning at CMakeLists.txt:274 (FIND_PACKAGE):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
** Enabling multi threading.
** Disabled WRasterimage support. Set WT_WRASTERIMAGE_IMPLEMENTATION to GraphicsMagick, skia, or Direct2D.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu.
Indicate the location of your haru library using -DHARU_PREFIX=...
** Disabling raster image support (WRasterImage): set WT_WRASTERIMAGE_IMPLEMENTATION to GraphicsMagick or skia.
** Disabling server-side opengl rendering for WGLWidget: requires gl, glew and WRasterImage (GraphicsMagick or skia).
** Wt::Dbo: building SQLite3 backend.
** Wt::Dbo: not building Postgres backend.
Indicate the location of your postgres installation using
-DPOSTGRES_PREFIX=...
** Wt::Dbo: not building Firebird backend.
Indicate the location of your FirebirdSQL and IBPP installation using
-DFIREBIRD_PREFIX=... -DIBPP_SRC_DIRECTORY=...
** Wt::Dbo: not building MySQL backend.
Indicate the location of your mariadb or mysqlclient installation using
-DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or
mysqlclient) using -DMYSQL_LIBRARY=...
** Wt::Dbo: not building Microsoft SQL Server backend.
** Disabling ISAPI.
** Disabling FCGI connector: requires libfcgi
Indicate the location of libfcgi using -DFCGI_PREFIX=..., or omit this connector using -DCONNECTOR_FCGI=OFF
** Enabling built-in httpd.
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- ** Not building mandelbrot example: requires Wt::WRasterImage.
-- ** Not building style example: requires WRasterImage.
-- ** Not building wtwithqt example.
-- wtwithqt example requires a Qt4 installation.
-- ** Not building wtwithqt5 example.
-- wtwithqt5 example requires a Qt5 installation.
** Testing Wt::Dbo using Sqlite3 backend
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/wt-build/wt-4.5.0/build
pi@raspberrypi:~/wt-build/wt-4.5.0/build $ make -j 3
Scanning dependencies of target wtdbo
...
[100%] Linking CXX executable test.sqlite3
/usr/bin/ld: ../src/libwt.so.4.5.0: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../src/libwt.so.4.5.0: undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/test.sqlite3.dir/build.make:319: test/test.sqlite3] Error 1
make[1]: *** [CMakeFiles/Makefile2:428: test/CMakeFiles/test.sqlite3.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Updated by Korneel Dumon over 3 years ago
Hi,
can you try linking against the atomic library? Eg by adding -latomic
to CMAKE_CXX_FLAGS
.
If it works, perhaps we should add it to our cmake configuration.
Updated by Emeric Poupon over 3 years ago
Korneel Dumon wrote in #note-1:
Hi,
can you try linking against the atomic library? Eg by adding
-latomic
toCMAKE_CXX_FLAGS
.
If it works, perhaps we should add it to our cmake configuration.
yes indeed, adding -latomic to CMAKE_EXE_LINKER_FLAGS did the trick.
Not sure about the proper integration, maybe need to check if the lib is available/necessary on the platform.
Updated by Emeric Poupon over 3 years ago
Emeric Poupon wrote in #note-2:
Korneel Dumon wrote in #note-1:
Hi,
can you try linking against the atomic library? Eg by adding
-latomic
toCMAKE_CXX_FLAGS
.
If it works, perhaps we should add it to our cmake configuration.yes indeed, adding -latomic to CMAKE_EXE_LINKER_FLAGS did the trick.
Not sure about the proper integration, maybe need to check if the lib is available/necessary on the platform.
Actually we should set the -latomic in the PUBLIC target too since programs that use wt also needs this.
Updated by ashley b almost 2 years ago
This linker error still exist in 4.8.0 when I try to build it on Raspbin 11.5 32bit
[ 84%] Building CXX object src/http/CMakeFiles/wthttp.dir/WtReply.C.o
[ 84%] Linking CXX shared library libwthttp.so
[ 84%] Built target wthttp
Scanning dependencies of target test.http
[ 84%] Building CXX object test/CMakeFiles/test.http.dir/test.C.o
[ 84%] Building CXX object test/CMakeFiles/test.http.dir/http/HttpClientServerTest.C.o
[ 86%] Linking CXX executable test.http
/usr/bin/ld: ../src/libwt.so.4.8.0: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../src/libwt.so.4.8.0: undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
gmake[2]: *** [test/CMakeFiles/test.http.dir/build.make:123: test/test.http] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1873: test/CMakeFiles/test.http.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
Updated by Roel Standaert almost 2 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
Updated by Roel Standaert almost 2 years ago
- Status changed from InProgress to Review
- Assignee deleted (
Roel Standaert) - Target version set to 4.9.1
Updated by Roel Standaert almost 2 years ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Marnik Roosen to Roel Standaert
- % Done changed from 0 to 100
Updated by Roel Standaert almost 2 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert almost 2 years ago
- Status changed from Resolved to Closed