~/workspace/kedr/kedr-build$ cmake ../sources/
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
The OLD behavior for policy CMP0054 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Build type is "Release"
Global installation
-- Checking if kernel modules can be built on this system [cached] - yes
-- Checking which memory allocator is used by the kernel [cached] - slub
-- Checking if stack trace information is reliable [cached] - yes
-- Checking the signatures of hlist_for_each_entry*() macros [cached] - do not use additional loop cursor
-- Checking if random32() is available [cached] - no
-- Checking if posix_acl uses refcount_t [cached] - yes
-- Creating "kedr_gen"
-- Creating "kedr_gen" - done
-- Checking the ways to create module parameters with callbacks [cached] - use callbacks struct
-- Checking if posix_acl_from_xattr() has struct user_namespace * argument [cached] - yes
-- Checking the signature of __init_waitqueue_head()
-- Checking the signature of __init_waitqueue_head() [cached] - done
-- Looking for __kmalloc in the kernel [cached] - not found
CMake Error at cmake/modules/kmodule.cmake:142 (message):
Function __kmalloc is not found in the kernel but it is required.
Call Stack (most recent call first):
payloads_fsim/common_mm/CMakeLists.txt:17 (kmodule_configure_kernel_functions)
~/workspace/kedr/kedr-build$ cmake --version
cmake version 3.22.1
~/workspace/kedr/kedr-build$ cmake ../sources/
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
The OLD behavior for policy CMP0054 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Build type is "Release"
Global installation
-- Checking if kernel modules can be built on this system [cached] - yes
-- Checking which memory allocator is used by the kernel [cached] - slub
-- Checking if stack trace information is reliable [cached] - yes
-- Checking the signatures of hlist_for_each_entry*() macros [cached] - do not use additional loop cursor
-- Checking if random32() is available [cached] - no
-- Checking if posix_acl uses refcount_t [cached] - yes
-- Creating "kedr_gen"
-- Creating "kedr_gen" - done
-- Checking the ways to create module parameters with callbacks [cached] - use callbacks struct
-- Checking if posix_acl_from_xattr() has struct user_namespace * argument [cached] - yes
-- Checking the signature of __init_waitqueue_head()
-- Checking the signature of __init_waitqueue_head() [cached] - done
-- Looking for __kmalloc in the kernel [cached] - not found
CMake Error at cmake/modules/kmodule.cmake:142 (message):
Function __kmalloc is not found in the kernel but it is required.
Call Stack (most recent call first):
payloads_fsim/common_mm/CMakeLists.txt:17 (kmodule_configure_kernel_functions)
~/workspace/kedr/kedr-build$ cmake --version
cmake version 3.22.1