Project

General

Profile

Actions

Support #13982

closed

Building Wt on a Linux Ubuntu 22.04 vps causes "undefined reference to" errors for 'sin' and 'crpyt'

Added by Michael Knight about 2 months ago. Updated 11 days ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/14/2025
Due date:
% Done:

0%

Estimated time:

Description

I have been trying to build Wt on a Ubuntu Linux 24.04 vps, then reinstalled the image as Ubuntu Linux 22.04(current).
They both failed.

Currently, when I try to build it, it halts on 61%, while compling the file CssParser.c.o.

When I look into CMakeError.log, it is written:

Determining if the function sin exists failed with the following output:
Change Dir: /home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_3148a/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_3148a.dir/build.make CMakeFiles/cmTC_3148a.di>
gmake[1]: Entering directory '/home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3148a.dir/CheckFunctionExists.c.o
/usr/bin/clang-11   -DCHECK_FUNCTION_EXISTS=sin   -o CMakeFiles/cmTC_3148a.dir/>
/opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/CheckFunctionExists.c:7>
  CHECK_FUNCTION_EXISTS(void);
  ^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS sin
                              ^
/opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/CheckFunctionExists.c:7>
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS sin
                              ^
1 warning generated.
Linking C executable cmTC_3148a


Linking C executable cmTC_3148a
/opt/cmake-3.13.5-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3>
/usr/bin/clang-11  -DCHECK_FUNCTION_EXISTS=sin    CMakeFiles/cmTC_3148a.dir/Che>
/usr/bin/ld: CMakeFiles/cmTC_3148a.dir/CheckFunctionExists.c.o: in function `ma>
CheckFunctionExists.c:(.text+0x17): undefined reference to `sin'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_3148a.dir/build.make:87: cmTC_3148a] Error 1
gmake[1]: Leaving directory '/home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_3148a/fast] Error 2


Determining if the function crypt exists failed with the following output:
Change Dir: /home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_6d874/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_6d874.dir/build.make CMakeFiles/cmTC_6d874.di>
gmake[1]: Entering directory '/home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6d874.dir/CheckFunctionExists.c.o



/usr/bin/clang-11   -DCHECK_FUNCTION_EXISTS=crypt   -o CMakeFiles/cmTC_6d874.di>
Linking C executable cmTC_6d874
/opt/cmake-3.13.5-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6>
/usr/bin/clang-11  -DCHECK_FUNCTION_EXISTS=crypt    CMakeFiles/cmTC_6d874.dir/C>
/usr/bin/ld: CMakeFiles/cmTC_6d874.dir/CheckFunctionExists.c.o: in function `ma>
CheckFunctionExists.c:(.text+0x17): undefined reference to `crypt'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_6d874.dir/build.make:87: cmTC_6d874] Error 1
gmake[1]: Leaving directory '/home/jack/wt-4.11.4/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_6d874/fast] Error 2

Actions #1

Updated by Michael Knight about 2 months ago

Additional notes:

When I start the cmake process to build, it says:

-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             5 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.6                                                                                                                                                             0;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.80;1.81;1.82;1.83;1.84;1.85;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.6                                                                                                                                                             1.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
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             7 ] Boost_USE_MULTITHREADED = ON
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             9 ] Boost_USE_STATIC_LIBS =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             1 ] Boost_USE_STATIC_RUNTIME =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             3 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.5                                                                                                                                                             9;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.80;1.81;1.82;1.83;1.84;1.85
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             5 ] Boost_NO_SYSTEM_PATHS =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             3 ] Declared as CMake or Environmental Variables:
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             5 ]   BOOST_ROOT = /usr/local/lib
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             7 ]   BOOST_INCLUDEDIR =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             9 ]   BOOST_LIBRARYDIR =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:125                                                                                                                                                             1 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.6                                                                                                                                                             0;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.80;1.81;1.82;1.83;1.84;1.85;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.6                                                                                                                                                             1.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
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:132                                                                                                                                                             6 ] Include debugging info:
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:132                                                                                                                                                             8 ]   _boost_INCLUDE_SEARCH_DIRS = /usr/local/lib/include;/usr/local/lib;PATHS;C                                                                                                                                                             :/boost/include;C:/boost;/sw/local/include
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:133                                                                                                                                                             0 ]   _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;boos                                                                                                                                                             t/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;boo                                                                                                                                                             st-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;boos                                                                                                                                                             t/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/boo                                                                                                                                                             st-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;boos                                                                                                                                                             t/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;boo                                                                                                                                                             st-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;boos                                                                                                                                                             t/boost_1_79;boost-1_80;boost_1_80;boost/boost-1_80;boost/boost_1_80;boost-1_81;                                                                                                                                                             boost_1_81;boost/boost-1_81;boost/boost_1_81;boost-1_82;boost_1_82;boost/boost-1                                                                                                                                                             _82;boost/boost_1_82;boost-1_83;boost_1_83;boost/boost-1_83;boost/boost_1_83;boo                                                                                                                                                             st-1_84;boost_1_84;boost/boost-1_84;boost/boost_1_84;boost-1_85;boost_1_85;boost                                                                                                                                                             /boost-1_85;boost/boost_1_85;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;boo                                                                                                                                                             st-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_64_0;boost_1_64_0;b                                                                                                                                                             oost/boost-1_64_0;boost/boost_1_64_0;boost-1_64;boost_1_64;boost/boost-1_64;boos                                                                                                                                                             t/boost_1_64;boost-1_63_0;boost_1_63_0;boost/boost-1_63_0;boost/boost_1_63_0;boo                                                                                                                                                             st-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_62_0;boost_1_62_0;b                                                                                                                                                             oost/boost-1_62_0;boost/boost_1_62_0;boost-1_62;boost_1_62;boost/boost-1_62;boos                                                                                                                                                             t/boost_1_62;boost-1_61_0;boost_1_61_0;boost/boost-1_61_0;boost/boost_1_61_0;boo                                                                                                                                                             st-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_60_0;boost_1_60_0;b                                                                                                                                                             oost/boost-1_60_0;boost/boost_1_60_0;boost-1_60;boost_1_60;boost/boost-1_60;boos                                                                                                                                                             t/boost_1_60;boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boo                                                                                                                                                             st-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_58_0;boost_1_58_0;b                                                                                                                                                             oost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boos                                                                                                                                                             t/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boo                                                                                                                                                             st-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;b                                                                                                                                                             oost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boos                                                                                                                                                             t/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boo                                                                                                                                                             st-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;b                                                                                                                                                             oost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boos                                                                                                                                                             t/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boo                                                                                                                                                             st-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;b                                                                                                                                                             oost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boos                                                                                                                                                             t/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boo                                                                                                                                                             st-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;b                                                                                                                                                             oost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boos                                                                                                                                                             t/boost_1_50
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:135                                                                                                                                                             0 ] location of version.hpp: /usr/local/include/boost/version.hpp
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:137                                                                                                                                                             4 ] version.hpp reveals boost 1.68.0
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:146                                                                                                                                                             0 ] guessed _boost_COMPILER = -clang111
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:147                                                                                                                                                             0 ] _boost_MULTITHREADED = -mt
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:155                                                                                                                                                             4 ] _boost_RELEASE_ABI_TAG = -
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:155                                                                                                                                                             6 ] _boost_DEBUG_ABI_TAG = -d
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:161                                                                                                                                                             9 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib/lib;/usr/local/lib/stage                                                                                                                                                             /lib;/usr/local/include/lib;/usr/local/include/../lib;/usr/local/include/stage/l                                                                                                                                                             ib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib_boost_LIBRARY_SEARCH_DIRS_DEBUG   =                                                                                                                                                              /usr/local/lib/lib;/usr/local/lib/stage/lib;/usr/local/include/lib;/usr/local/i                                                                                                                                                             nclude/../lib;/usr/local/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local                                                                                                                                                             /lib
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-clang111-mt-1_68;boost_sy                                                                                                                                                             stem-clang111-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_syst                                                                                                                                                             em
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-clang111-mt-d-1_68;boost_sy                                                                                                                                                             stem-clang111-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt;boos                                                                                                                                                             t_system
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:193                                                                                                                                                             6 ] Boost_FOUND = 1
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             5 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.6                                                                                                                                                             0;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.80;1.81;1.82;1.83;1.84;1.85;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.6                                                                                                                                                             1.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
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             7 ] Boost_USE_MULTITHREADED = ON
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:116                                                                                                                                                             9 ] Boost_USE_STATIC_LIBS =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             1 ] Boost_USE_STATIC_RUNTIME =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             3 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.5                                                                                                                                                             9;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.80;1.81;1.82;1.83;1.84;1.85
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:117                                                                                                                                                             5 ] Boost_NO_SYSTEM_PATHS =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             3 ] Declared as CMake or Environmental Variables:
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             5 ]   BOOST_ROOT = /usr/local/lib
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             7 ]   BOOST_INCLUDEDIR =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:124                                                                                                                                                             9 ]   BOOST_LIBRARYDIR =
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:125                                                                                                                                                             1 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.6                                                                                                                                                             0;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.80;1.81;1.82;1.83;1.84;1.85;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.6                                                                                                                                                             1.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
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:135                                                                                                                                                             0 ] location of version.hpp: /usr/local/include/boost/version.hpp
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:137                                                                                                                                                             4 ] version.hpp reveals boost 1.68.0
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:146                                                                                                                                                             0 ] guessed _boost_COMPILER = -clang111
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:147                                                                                                                                                             0 ] _boost_MULTITHREADED = -mt
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:155                                                                                                                                                             4 ] _boost_RELEASE_ABI_TAG = -
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:155                                                                                                                                                             6 ] _boost_DEBUG_ABI_TAG = -d
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:161                                                                                                                                                             9 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE                                                                                                                                                             _FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG   = /usr/local/lib;NO_DEFAULT_PA                                                                                                                                                             TH;NO_CMAKE_FIND_ROOT_PATH
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-clang11                                                                                                                                                             1-mt-1_68;boost_program_options-clang111-mt;boost_program_options-mt-1_68;boost_                                                                                                                                                             program_options-mt;boost_program_options-mt;boost_program_options
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-clang111-                                                                                                                                                             mt-d-1_68;boost_program_options-clang111-mt-d;boost_program_options-mt-d-1_68;bo                                                                                                                                                             ost_program_options-mt-d;boost_program_options-mt;boost_program_options
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-clang111-mt-1_68;                                                                                                                                                             boost_filesystem-clang111-mt;boost_filesystem-mt-1_68;boost_filesystem-mt;boost_                                                                                                                                                             filesystem-mt;boost_filesystem
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-clang111-mt-d-1_68;                                                                                                                                                             boost_filesystem-clang111-mt-d;boost_filesystem-mt-d-1_68;boost_filesystem-mt-d;                                                                                                                                                             boost_filesystem-mt;boost_filesystem
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-clang111-mt-1_68;boost_th                                                                                                                                                             read-clang111-mt;boost_thread-mt-1_68;boost_thread-mt;boost_thread-mt;boost_thre                                                                                                                                                             ad
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-clang111-mt-d-1_68;boost_th                                                                                                                                                             read-clang111-mt-d;boost_thread-mt-d-1_68;boost_thread-mt-d;boost_thread-mt;boos                                                                                                                                                             t_thread
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-clang111-mt-1_68;boost_sy                                                                                                                                                             stem-clang111-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_syst                                                                                                                                                             em
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-clang111-mt-d-1_68;boost_sy                                                                                                                                                             stem-clang111-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt;boos                                                                                                                                                             t_system
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-clang111-mt-1_68;boost_ch                                                                                                                                                             rono-clang111-mt;boost_chrono-mt-1_68;boost_chrono-mt;boost_chrono-mt;boost_chro                                                                                                                                                             no
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-clang111-mt-d-1_68;boost_ch                                                                                                                                                             rono-clang111-mt-d;boost_chrono-mt-d-1_68;boost_chrono-mt-d;boost_chrono-mt;boos                                                                                                                                                             t_chrono
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-clang111-mt-1_68;bo                                                                                                                                                             ost_date_time-clang111-mt;boost_date_time-mt-1_68;boost_date_time-mt;boost_date_                                                                                                                                                             time-mt;boost_date_time
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-clang111-mt-d-1_68;bo                                                                                                                                                             ost_date_time-clang111-mt-d;boost_date_time-mt-d-1_68;boost_date_time-mt-d;boost                                                                                                                                                             _date_time-mt;boost_date_time
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:180                                                                                                                                                             9 ] Searching for ATOMIC_LIBRARY_RELEASE: boost_atomic-clang111-mt-1_68;boost_at                                                                                                                                                             omic-clang111-mt;boost_atomic-mt-1_68;boost_atomic-mt;boost_atomic-mt;boost_atom                                                                                                                                                             ic
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEAS                                                                                                                                                             E = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:186                                                                                                                                                             2 ] Searching for ATOMIC_LIBRARY_DEBUG: boost_atomic-clang111-mt-d-1_68;boost_at                                                                                                                                                             omic-clang111-mt-d;boost_atomic-mt-d-1_68;boost_atomic-mt-d;boost_atomic-mt;boos                                                                                                                                                             t_atomic
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:403                                                                                                                                                              ]  Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG =                                                                                                                                                              /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
-- [ /opt/cmake-3.13.5-Linux-x86_64/share/cmake-3.13/Modules/FindBoost.cmake:193                                                                                                                                                             6 ] Boost_FOUND = 1
-- Boost version: 1.68.0
-- Found the following Boost libraries:
--   program_options
--   filesystem
--   thread
--   system
--   chrono
--   date_time
--   atomic
-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPEN                                                                                                                                                             GL_INCLUDE_DIR)
-- Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)
-- Could NOT find Asciidoctor (missing: ASCIIDOCTOR_EXECUTABLE)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Found OpenSSL: /usr/local/lib64/libcrypto.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'pangoft2'
--   No package 'pangoft2' found
-- Looking for connect
-- Looking for connect - found
-- Looking for sin
-- Looking for sin - not found
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Success
** Enabling multi threading.
** Disabled WRasterimage support. Set WT_WRASTERIMAGE_IMPLEMENTATION to Graphics                                                                                                                                                             Magick 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_IMPLEMENTA                                                                                                                                                             TION to GraphicsMagick or Direct2D.
** Disabling server-side opengl rendering for WGLWidget: requires gl, glew and W                                                                                                                                                             RasterImage (GraphicsMagick or Direct2D).
** 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 connec                                                                                                                                                             tor 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.
-- ** Not building wtwithqt6 example.
--    wtwithqt6 example requires a Qt6 installation.
** Testing Wt::Dbo using Sqlite3 backend
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jack/wt-4.11.4/build

And then after "make" command:

make[1]: Entering directory '/home/jack/wt-4.11.4/build'
make[2]: Entering directory '/home/jack/wt-4.11.4/build'
[  0%] Generating AuthCssTheme_xml.C
[  0%] Generating Plain_html.C
[  0%] Generating Boot_html.C
[  0%] Generating Hybrid_html.C
[  0%] Generating Boot_js.C
[  0%] Generating Wt_js.C
[  1%] Generating WCartesianChart_js.C
[  1%] Generating Wt_xml.C
[  1%] Generating AuthStrings_xml.C
[  1%] Generating BootstrapTheme_xml.C
[  1%] Generating Bootstrap3Theme_xml.C
[  1%] Generating Bootstrap5Theme_xml.C
Scanning dependencies of target wt
make[2]: Leaving directory '/home/jack/wt-4.11.4/build'
make[2]: Entering directory '/home/jack/wt-4.11.4/build'
[  1%] Building CXX object src/CMakeFiles/wt.dir/Wt/FlexLayoutImpl.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/FlexItemImpl.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/PopupWindow.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/Resizable.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/ResizeSensor.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/ServerSideFontMetrics.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/SizeHandle.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdGridLayoutImpl2.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdLayoutImpl.C.o
[  4%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdLayoutItemImpl.C.o
[  4%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdWidgetItemImpl.C.o
[  4%] Building CXX object src/CMakeFiles/wt.dir/Wt/Utils.C.o
..
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Render/CssData_p.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Render/CssParser.C.o

It halts at 61%

Actions #2

Updated by Michael Knight about 1 month ago

Although I linked the libraries, it still halts on 61% or something.But I no longer think that failure to build is caused by "sin" or "crypt" functions.I used "dmesg" on linux and it indicates that it gets out of memory while building.I tried using Ubuntu on my Windows pc and it builded without any problem ,the same version of Wt, using same versions of cmake, gcc and boost, although it give the same sin and crypt function errors, still it built the whole Wt without any problems.So it seems like my vps' 1 gb of memory is not enough to build wt from source.

I was able to solve the issue by compiling the files on Ubuntu on my Windows and then transferring them to the Ubuntu vps.

Many thanks for creating this great c++ framework Wt.

Actions #3

Updated by Matthias Van Ceulebroeck 11 days ago

  • Status changed from New to Rejected

Hi Michael,

I've marked this as Rejected to indicate we did no implementation for this. As this was an issue in your environment.

Actions

Also available in: Atom PDF