Tried to install Parallels Tools (version 15.1.2.47123) on a guest OS: Red Hat Enterprise Linux 8.1 (kernel version 4.18.0-147.0.3.el8_1.x86_64), using the following command:
Code:
dkms build parallels-tools/15.1.2.47123 -k 4.18.0-147.0.3.el8_1.x86_64
But failed with the following message:
Code:
/var/lib/dkms/parallels-tools/15.1.2.47123/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c:46:43: error: implicit declaration of function 'radix_tree_exceptional_entry'; did you mean 'radix_tree_exception'? [-Werror=implicit-function-declaration]
#define prlfs_page_cache_invalid_entry(x) radix_tree_exceptional_entry(x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/parallels-tools/15.1.2.47123/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c:66:7: note: in expansion of macro 'prlfs_page_cache_invalid_entry'
if (prlfs_page_cache_invalid_entry(cur_page))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:313: /var/lib/dkms/parallels-tools/15.1.2.47123/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.o] Error 1
make[2]: *** [Makefile:1547: _module_/var/lib/dkms/parallels-tools/15.1.2.47123/build/prl_fs/SharedFolders/Guest/Linux/prl_fs] Error 2
make[2]: Leaving directory '/usr/src/kernels/4.18.0-147.0.3.el8_1.x86_64'
make[1]: *** [Makefile:36: all] Error 2
make[1]: Leaving directory '/var/lib/dkms/parallels-tools/15.1.2.47123/build/prl_fs/SharedFolders/Guest/Linux/prl_fs'
make: *** [Makefile.kmods:31: compile] Error 2
Detailed build log attached. Please help! Thanks!