Can't Install Parallels Tools

Same issue here, Parallels 13 and Kali 2017.3

Edit:
Fixed using the below modified from another thread:

ln -s /usr/src/linux-headers-4.14.0-kali1-common/include/linux /lib/modules/4.14.0-kali-amd64/build/include
This worked for me but I had to tweak it to:

ln -s /usr/src/linux-headers-4.14.0-kali3-common/include/linux /lib/modules/4.14.0-kali3-amd64/build/include

After that ran ./install from the copied directory per the parallels instruction (don't forget it work work running from the CD have to copy it over first) and everything installed perfectly.
 
Do the following to fix this error for anyone who is still having it. Kali posted an update on Twitter. A key is needed to be able to reach their repositorys.
gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
gpg -a --export 7D8D0BF6 | apt-key add -
apt update (if you receive an error here it is because the below command needs to be entered
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
 
Hey i have a problem again.....i removed kali in my pc then now i installing again tool but here an error again....: after ./install command i have an error in /var/log/parallels..... here is the log file: please help me!!!!

Hit:1 http://kali.download/kali kali-rolling InRelease
Reading package lists...
Return code from apt-get update is 0
2018-11-05T16:00:42-0500: execCmd: ./installer/pm.sh --install gtools --logfile /var/log/parallels-tools-install.log [0]
Started installation of Parallels Guest Tools version '12.2.1.41615'

Mon Nov 5 16:00:43 EST 2018
Start installation or upgrade of Guest Tools
new version of parallels tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory '/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make -C /lib/modules/4.18.0-kali2-686-pae/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make -C /lib/modules/4.18.0-kali2-686-pae/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-too$
make[2]: Entering directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
LD [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.mod.o
LD [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_fs/SharedFolders/Guest/Linux/prl_fs ||:
cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
make -C /lib/modules/4.18.0-kali2-686-pae/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs
make[2]: Entering directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.o
CC [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/interface.o
LD [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.mod.o
LD [M] /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
cd prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze'
make -C /lib/modules/4.18.0-kali2-686-pae/build M=/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze modules
make[2]: Entering directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
CC [M] /usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.o
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:220:71: error: macro "DEFINE_TIMER" passed 4 arguments, but$
DEFINE_TIMER(thaw_timer, thaw_timer_fn, 0, (unsigned long)&(thaw_work));
^
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:220:1: warning: data definition has no type or storage class
DEFINE_TIMER(thaw_timer, thaw_timer_fn, 0, (unsigned long)&(thaw_work));
^~~~~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:220:1: error: type defaults to 'int' in declaration of 'DEF$
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c: In function 'schedule_thaw_work':
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:224:21: error: 'thaw_timer' undeclared (first use in this f$
if (timer_pending(&thaw_timer))
^~~~~~~~~~
thaw_timer_fn
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:224:21: note: each undeclared identifier is reported only o$
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c: In function 'cancel_timeout':
/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.c:233:18: error: 'thaw_timer' undeclared (first use in this f$
del_timer_sync(&thaw_timer);
^~~~~~~~~~
thaw_timer_fn
cc1: some warnings being treated as errors
make[5]: *** [/usr/src/linux-headers-4.18.0-kali2-common/scripts/Makefile.build:329: /usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/p$
make[4]: *** [/usr/src/linux-headers-4.18.0-kali2-common/Makefile:1531: _module_/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_fr$
make[3]: *** [Makefile:146: sub-make] Error 2
make[2]: *** [Makefile:8: all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-kali2-686-pae'
make[1]: *** [Makefile:20: modules] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze'
make: *** [Makefile.kmods:38: installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2018-11-05T16:00:50-0500: execCmd: ./install --install [143]
2018-11-05T16:00:50-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more informati$
2018-11-05T16:00:52-0500: Exiting with code 1
 
Back
Top