The setup first fails to install some required packages (kernel-devel, dkms, and libelf-devel). But once I install those, the compilation fails anyway, with error implicit declaration of function "signal_pending". This, apparently has to do with the new version of kernel being used in Tumbleweed, so probably needs a proper patch from Parallels.
Here is the log:
Code:
make[2]: Entering directory '/usr/src/linux-4.11.2-1-obj/x86_64/default'
grep: /lib/modules/4.11.2-1-default/build/include/linux/completion.h: No such file or directory
CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:38:0:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h: In function 'wait_for_completion_interruptible':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:137:8: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[5]: *** [/usr/src/linux-4.11.2-1/scripts/Makefile.build:296: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
make[4]: *** [/usr/src/linux-4.11.2-1/Makefile:1502: _module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
make[3]: *** [Makefile:152: sub-make] Error 2
make[2]: *** [Makefile:24: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-4.11.2-1-obj/x86_64/default'
make[1]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:23: prl_tg] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make: *** [Makefile.kmods:35: installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2017-05-29T22:37:32+0200: execCmd: ./install --install [143]
2017-05-29T22:37:32+0200: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2017-05-29T22:37:34+0200: Exiting with code 1
There are a couple of other issues, just like this, with compiler warnings that are being caught as error and subsequently halting the compilation. One can disable these with a -Wno-error CFLAG, but nonetheless the install will fail in the end for a reason that I cannot figure out by looking at the logs.
Last edited: May 30, 2017