Please help me !Kali Linux

Discussion in 'Linux Virtual Machine' started by Doubleyin, Apr 16, 2018.

  1. Doubleyin

    Doubleyin Bit poster

    Messages:
    1
    root@KaliPlus:/var/log# cat parallels-tools-install.log 命中:1kali-rolling InRelease 正在读取软件包列表... Return code from apt-get update is 0 2018年 04月 16日 星期一 13:15:38 CST 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: 没有那个文件或目录 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.15.0-kali2-amd64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet make[2]: Entering directory '/usr/src/linux-headers-4.15.0-kali2-amd64' 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.15.0-kali2-amd64' 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.15.0-kali2-amd64/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg modules make[2]: Entering directory '/usr/src/linux-headers-4.15.0-kali2-amd64' 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.15.0-kali2-amd64' 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.15.0-kali2-amd64/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs make[2]: Entering directory '/usr/src/linux-headers-4.15.0-kali2-amd64' 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.15.0-kali2-amd64' 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.15.0-kali2-amd64/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.15.0-kali2-amd64' 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 takes just 2 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 'DEFINE_TIMER' [-Werror=implicit-int] /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 function); did you mean 'thaw_timer_fn'? 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 once for each function it appears in /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 function); did you mean 'thaw_timer_fn'? del_timer_sync(&thaw_timer); ^~~~~~~~~~ thaw_timer_fn cc1: some warnings being treated as errors /usr/src/linux-headers-4.15.0-kali2-common/scripts/Makefile.build:335: recipe for target '/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.o' failed make[5]: *** [/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.o] Error 1 /usr/src/linux-headers-4.15.0-kali2-common/Makefile:1528: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze' failed make[4]: *** [_module_/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze] Error 2 Makefile:146: recipe for target 'sub-make' failed make[3]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-kali2-amd64' Makefile:20: recipe for target 'modules' failed make[1]: *** [modules] Error 2 make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze' Makefile.kmods:34: recipe for target 'installme' failed make: *** [installme] Error 2 make: Leaving directory '/usr/lib/parallels-tools/kmods' Error: could not build kernel modules Error: failed to install kernel modules Error: failed to install Parallels Guest Tools! Please, look at /var/log/parallels-tools-install.log file for more information. 2018-04-16T13:15:57+0800: execCmd: ./install --install [143] 2018-04-16T13:15:57+0800: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information. 2018-04-16T13:17:14+0800: Exiting with code 1
     

    Attached Files:

    Last edited by a moderator: Apr 16, 2018
  2. MuratA1

    MuratA1 Bit poster

    Messages:
    5
    The latest kernel 4.15.0-kali2-amd64 is not compatible with parallels tools. :mad:

    If you downgrade the kernel you have to install the related kernel headers without apt because they're not on the repository anymore.
     
  3. IghorJ

    IghorJ Bit poster

    Messages:
    4
    Same issue on Debian with kernel 4.15
     

Share This Page